profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/pietroalbini/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Pietro Albini pietroalbini Italy https://www.pietroalbini.org @rust-lang infra, docs.rs lead • @rust-lang core, release, crates.io, security response member

integer32llc/rust-playground 637

The Rust Playground

pietroalbini/reddit-place-2017 36

Archive of Reddit's r/place data, history and images

pietroalbini/areweawaityet 12

Track Rust's await bikeshedding

pietroalbini/fisher 12

Simple yet powerful webhooks catcher

pietroalbini/lektor-minify 12

Minify build artifacts in a Lektor project

pietroalbini/buildthedocs 7

A Sphinx documentation building tool on steroids.

pietroalbini/crater-tree 4

Generate a dependency tree from crater failures

pietroalbini/persuade 4

Simple presenter console for your PDFs, in your web browser.

pietroalbini/civ5-wallpapers 1

Dynamic linux wallpapers from Civilization V

pietroalbini/dotfiles 1

My own configuration files

issue commentrust-lang/infra-team

Deprecated AWS Lambda runtimes

oh nooo! This sounds like a good opportunity for someone with a lot of AWS experience to create an IaC definition for these.

pietroalbini

comment created time in 21 minutes

push eventrust-lang-nursery/rust-toolstate

Rust Toolstate Update

commit sha 3927c986e7c86c56def0a797c4467e48b2394800

(windows CI update)

view details

push time in an hour

PR opened rust-lang/www.rust-lang.org

non breaking space before exclamation mark in fr

In french, we need a space before "double" sign (such as ;:?!). Still it needs to be an non-breaking space (Source: https://fr.wikipedia.org/wiki/Ponctuation#En_fran%C3%A7ais) to avoid this kind of issues:

Capture d’écran 2021-06-17 à 17 56 26

I added non-beaking spaces.

+3 -3

0 comment

1 changed file

pr created time in an hour

push eventrust-lang-nursery/rust-toolstate

Rust Toolstate Update

commit sha 858ab214e80ecad3e75fdc1d2f2b93d07a06d708

(linux CI update)

view details

push time in an hour

push eventrust-lang/thanks

Deploy from CI

commit sha be116aabb5f6d3e6dcda3cc7d066c385e425e6f3

Deploy c732b507f6fa863e24dc4eaddd24e66472d8536f to gh-pages

view details

push time in an hour

push eventrust-lang/team

Mark Rousskov

commit sha 226fbf18fe0d0460b6c7315b2650845d22fff0e8

Add release-publishers to facilitate making releases

view details

Mark Rousskov

commit sha 6f043bb36b755895bc7c5a95dd49bb0b08c923eb

Merge pull request #590 from Mark-Simulacrum/publishers Add release-publishers to facilitate making releases

view details

push time in 2 hours

PR merged rust-lang/team

Add release-publishers to facilitate making releases

I'll add via rust-lang-owner this team to the relevant crates once this merges.

r? @pietroalbini

+17 -0

0 comment

1 changed file

Mark-Simulacrum

pr closed time in 2 hours

PR opened rust-lang/team

Add release-publishers to facilitate making releases

I'll add via rust-lang-owner this team to the relevant crates once this merges.

r? @pietroalbini

+17 -0

0 comment

1 changed file

pr created time in 2 hours

push eventrust-lang/blog.rust-lang.org

Mark-Simulacrum

commit sha a55856bc4cf5d7d6a776a120bb927e7542ba7164

Deploying to gh-pages from @ 0fdd30a1400fc1b18de8b5eb97f781b5b4228d3c 🚀

view details

push time in 2 hours

push eventrust-lang/blog.rust-lang.org

Mara Bos

commit sha f026fe95778eb6ae0b98ae7e1d277e2dd6f83786

Add blog post for the 1.53 release.

view details

Mara Bos

commit sha e3a67e00b577aba13bd0ca28a507bb50b361bde3

Add note about unicode identifiers and not supporting emoji.

view details

Mark Rousskov

commit sha 0fdd30a1400fc1b18de8b5eb97f781b5b4228d3c

Merge pull request #849 from m-ou-se/release-1.53 Add blog post for the 1.53 release.

view details

push time in 2 hours

issue commentrust-lang/rustfix

`cargo fix` breaks my build

I see what is happening.

cargo fix attempts to first fix with cfg(test) as false. Since there are several imports that are only being used by some tests, they get removed (because they are unused). Then, when it tries to fix with cfg(test) as true, those tests fail to compile because the imports have been removed.

One workaround is to use cargo fix --tests, which ensures it only fixes with cfg(test) enabled.

This is a general hazard of conditional compilation. The compiler can only compile for one specific configuration at a time. If there is a mix of incompatible code between configurations, fixing for one may break another.

I'm transferring to the cargo repo, since I think this could maybe be resolved by prioritizing tests first. That might have the opposite problem (like a cfg(not(test)) expression breaking in the other direction), but I suspect that is less likely. (This repo just contains the library which applies text transformations, it doesn't really do much.)

Volker-Weissmann

comment created time in 2 hours

push eventrust-lang-nursery/rust-toolstate

Rust Toolstate Update

commit sha cae6534a483d9a7218ccb587f0cff8471e6e43ec

(windows CI update)

view details

push time in 3 hours

push eventrust-lang-nursery/rust-toolstate

Rust Toolstate Update

commit sha 2c3c04bf62c16d4e694f130c736fe7431a496609

(linux CI update)

view details

push time in 4 hours

push eventrust-lang-nursery/rust-toolstate

Rust Toolstate Update

commit sha 0177d7ac67029fd52dd392f5746f9b999f6c9c4b

(windows CI update)

view details

push time in 4 hours

push eventrust-lang-nursery/rust-toolstate

Rust Toolstate Update

commit sha a3040a7c6331d52fb2189a5218ff5078136dbdef

(linux CI update)

view details

push time in 4 hours

push eventrust-lang-nursery/rust-toolstate

Rust Toolstate Update

commit sha 2ae43347f70023302c8be6569a2502c18bf979ea

(windows CI update)

view details

push time in 21 hours

push eventrust-lang-nursery/rust-toolstate

Rust Toolstate Update

commit sha 28d0c0711ea25e05f4ef89cf9daf36c8b51a1949

(linux CI update)

view details

push time in 21 hours

push eventrust-lang-nursery/rust-toolstate

Rust Toolstate Update

commit sha 8729fcde3773a41dbd47f882397415b0526a9f2b

(windows CI update)

view details

push time in a day

push eventrust-lang-nursery/rust-toolstate

Rust Toolstate Update

commit sha 1937af101c90b3f260947d73f82395c26ab6f3d8

(linux CI update)

view details

push time in a day

issue commentrust-lang/docs.rs

"Source" title is missing from the dropdown

ah, I was confused for a second.

It's only hidden on small screens with small menu items

jyn514

comment created time in a day

pull request commentrust-lang/team

Restructure library teams.

I'm not sure what to do there but I @pietroalbini is looking into it. He said it's a little tricky.

m-ou-se

comment created time in a day

pull request commentrust-lang/team

Restructure library teams.

@Manishearth Can you make sure @rust-lang/libs-api has the same github permissions as @rust-lang/libs? And @rust-lang/libs-contributors the same as @rust-lang/library-reviewers had?

m-ou-se

comment created time in a day

issue closedrust-lang/docs.rs

Request rebuild of tectonic 0.6.2

Crate name

tectonic

Build failure link

https://docs.rs/crate/tectonic/0.6.2/builds/400684

Additional details

The crate tectonic is failing to build on docs.rs due to an issue relating to cbindgen needing network access to build some of its dependencies (reported as https://github.com/eqrion/cbindgen/issues/691 since I think it could/should be solved there).

Simultaneously with tectonic 0.6.2 I made a new release of one of its dependencies, tectonic_bridge_flate 0.1.2, that tries to work around the cbindgen issue. The build linked above only used the 0.1.1 version, however. I think that this happened just because the docs.rs build was kicked off before the new 0.1.2 release fully propagated on Crates.io. Would it be possible to re-trigger the tectonic 0.6.2 build, hopefully catching the new 0.1.2 version of tectonic_bridge_flate, so that I can see if my workaround is effective or not?

Thanks.

closed time in a day

pkgw

issue commentrust-lang/docs.rs

Request rebuild of tectonic 0.6.2

Actually, no, the older version is embedded in the packaged Cargo.lock file.

pkgw

comment created time in a day

push eventrust-lang-nursery/rust-toolstate

Rust Toolstate Update

commit sha eec29b5ae6ce35d052fced8077324654b80602f5

(windows CI update)

view details

push time in a day

issue openedrust-lang/docs.rs

Request rebuild of tectonic 0.6.2

Crate name

tectonic

Build failure link

https://docs.rs/crate/tectonic/0.6.2/builds/400684

Additional details

The crate tectonic is failing to build on docs.rs due to an issue relating to cbindgen needing network access to build some of its dependencies (reported as https://github.com/eqrion/cbindgen/issues/691 since I think it could/should be solved there).

Simultaneously with tectonic 0.6.2 I made a new release of one of its dependencies, tectonic_bridge_flate 0.1.2, that tries to work around the cbindgen issue. The build linked above only used the 0.1.1 version, however. I think that this happened just because the docs.rs build was kicked off before the new 0.1.2 release fully propagated on Crates.io. Would it be possible to re-trigger the tectonic 0.6.2 build, hopefully catching the new 0.1.2 version of tectonic_bridge_flate, so that I can see if my workaround is effective or not?

Thanks.

created time in a day

issue commentrust-lang/rustfix

`cargo fix` breaks my build

[volker@battle math_dsl_macro]$ cargo fix
    Checking syn v1.0.73
    Checking nom v6.1.2
    Checking lalrpop-util v0.19.6
    Checking pest_consume v1.0.6
    Checking math_dsl_macro v0.1.0 (/home/volker/math_dsl_macro)
       Fixed src/codegen.rs (8 fixes)
       Fixed src/pest_parse.rs (3 fixes)
warning: unused `#[macro_use]` import
  --> src/lib.rs:11:1
   |
11 | #[macro_use] extern crate quote;
   | ^^^^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

warning: unused macro definition
 --> src/ast.rs:3:1
  |
3 | / macro_rules! hashmap {
4 | |     ($( $key: expr => $val: expr ),*) => {{
5 | |          let mut map = ::std::collections::HashMap::new();
6 | |          $( map.insert($key, $val); )*
7 | |          map
8 | |     }}
9 | | }
  | |_^
  |
  = note: `#[warn(unused_macros)]` on by default

warning: unused import: `hashmap`
  --> src/ast.rs:10:16
   |
10 | pub(crate) use hashmap;
   |                ^^^^^^^

warning: function is never used: `subseval`
  --> src/ast.rs:31:8
   |
31 | pub fn subseval(term: Term, vals: &HashMap<Symbol, f64>) -> f64 {
   |        ^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

warning: associated function is never used: `new`
   --> /home/volker/math_dsl_macro/target/debug/build/math_dsl_macro-d36924612dd3ded5/out/latex.rs:226:16
    |
226 |         pub fn new() -> TermParser {
    |                ^^^

warning: function is never used: `new_builder`
   --> /home/volker/math_dsl_macro/target/debug/build/math_dsl_macro-d36924612dd3ded5/out/latex.rs:382:12
    |
382 |     pub fn new_builder() -> __lalrpop_util::lexer::MatcherBuilder {
    |            ^^^^^^^^^^^

warning: function is never used: `from_hex`
  --> src/nom_parse.rs:15:4
   |
15 | fn from_hex(input: &str) -> Result<u8, std::num::ParseIntError> {
   |    ^^^^^^^^

warning: function is never used: `is_hex_digit`
  --> src/nom_parse.rs:19:4
   |
19 | fn is_hex_digit(c: char) -> bool {
   |    ^^^^^^^^^^^^

warning: function is never used: `hex_primary`
  --> src/nom_parse.rs:23:4
   |
23 | fn hex_primary(input: &str) -> IResult<&str, u8> {
   |    ^^^^^^^^^^^

warning: function is never used: `hex_color`
  --> src/nom_parse.rs:27:4
   |
27 | fn hex_color(input: &str) -> IResult<&str, Color> {
   |    ^^^^^^^^^

warning: unused attribute
 --> src/pest_parse.rs:2:1
  |
2 | #[macro_use]
  | ^^^^^^^^^^^^
  |
  = note: `#[warn(unused_attributes)]` on by default

warning: 11 warnings emitted

error: cannot find macro `hashmap` in this scope
   --> src/pest_parse.rs:189:18
    |
189 |                 &hashmap![Symbol::str("a") => 12.]
    |                  ^^^^^^^
    |
    = note: consider importing this macro:
            crate::ast::hashmap
    = help: have you added the `#[macro_use]` on the module/import?

error: cannot find macro `hashmap` in this scope
   --> src/pest_parse.rs:182:18
    |
182 |                 &hashmap![Symbol::str("a") => 12., Symbol::str("b") => 23., Symbol::str("c") => 34.]
    |                  ^^^^^^^
    |
    = note: consider importing this macro:
            crate::ast::hashmap
    = help: have you added the `#[macro_use]` on the module/import?

error: cannot find macro `hashmap` in this scope
   --> src/pest_parse.rs:175:18
    |
175 |                 &hashmap![Symbol::str("a") => 12., Symbol::str("b") => 23.]
    |                  ^^^^^^^
    |
    = note: consider importing this macro:
            crate::ast::hashmap
    = help: have you added the `#[macro_use]` on the module/import?

error: cannot find macro `hashmap` in this scope
  --> src/codegen.rs:81:16
   |
81 |     let vars = hashmap![
   |                ^^^^^^^
   |
   = note: consider importing this macro:
           crate::ast::hashmap
   = help: have you added the `#[macro_use]` on the module/import?

error[E0433]: failed to resolve: use of undeclared crate or module `pest_parse`
  --> src/codegen.rs:80:16
   |
80 |     let term = pest_parse::parse_term(r"(2\pi \sin\psi)\sin(\psi+\theta)/R^2 - \frac\pi 3 (1-\cos\psi)^2(2+\cos\psi) + \pi \sin^2\psi y/R...
   |                ^^^^^^^^^^ use of undeclared crate or module `pest_parse`

error[E0425]: cannot find function `subseval` in this scope
   --> src/pest_parse.rs:173:13
    |
173 |             subseval(
    |             ^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
168 |     use crate::ast::subseval;
    |

error[E0425]: cannot find function `subseval` in this scope
   --> src/pest_parse.rs:180:13
    |
180 |             subseval(
    |             ^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
168 |     use crate::ast::subseval;
    |

error[E0425]: cannot find function `subseval` in this scope
   --> src/pest_parse.rs:187:13
    |
187 |             subseval(
    |             ^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
168 |     use crate::ast::subseval;
    |

warning: unused `#[macro_use]` import
  --> src/lib.rs:11:1
   |
11 | #[macro_use] extern crate quote;
   | ^^^^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

warning: unused macro definition
 --> src/ast.rs:3:1
  |
3 | / macro_rules! hashmap {
4 | |     ($( $key: expr => $val: expr ),*) => {{
5 | |          let mut map = ::std::collections::HashMap::new();
6 | |          $( map.insert($key, $val); )*
7 | |          map
8 | |     }}
9 | | }
  | |_^
  |
  = note: `#[warn(unused_macros)]` on by default

warning: unused import: `hashmap`
  --> src/ast.rs:10:16
   |
10 | pub(crate) use hashmap;
   |                ^^^^^^^

error[E0599]: no method named `to_token_stream` found for enum `syn::Expr` in the current scope
  --> src/codegen.rs:87:27
   |
87 |     dbg!(ast_to_syn(term).to_token_stream());
   |                           ^^^^^^^^^^^^^^^ method not found in `syn::Expr`
   | 
  ::: /home/volker/.cargo/registry/src/github.com-1ecc6299db9ec823/quote-1.0.9/src/to_tokens.rs:61:8
   |
61 |     fn to_token_stream(&self) -> TokenStream {
   |        --------------- the method is available for `syn::Expr` here
   |
   = help: items from traits can only be used if the trait is in scope
   = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
           `use crate::quote::ToTokens;`

error: aborting due to 9 previous errors; 3 warnings emitted

Some errors have detailed explanations: E0425, E0433, E0599.
For more information about an error, try `rustc --explain E0425`.
error: could not compile `math_dsl_macro`

To learn more, run the command again with --verbose.
[volker@battle math_dsl_macro]$ 
Volker-Weissmann

comment created time in a day

push eventrust-lang-nursery/rust-toolstate

Rust Toolstate Update

commit sha ccda2a209b8658d63638b6240ce6bf3390aea45b

(linux CI update)

view details

push time in a day