[INFO] fetching crate ast-description-lang 0.4.0... [INFO] checking ast-description-lang-0.4.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate ast-description-lang 0.4.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate ast-description-lang 0.4.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ast-description-lang 0.4.0 [INFO] tweaked toml for crates.io crate ast-description-lang 0.4.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ast-description-lang 0.4.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.11.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding toml v0.5.11 (available: v0.9.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded escargot v0.5.15 [INFO] [stderr] Downloaded insta v1.43.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e672b3889a702e4f45954fc5023db110dbeef38072dbb00f381595ee8a8a4410 [INFO] running `Command { std: "docker" "start" "-a" "e672b3889a702e4f45954fc5023db110dbeef38072dbb00f381595ee8a8a4410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e672b3889a702e4f45954fc5023db110dbeef38072dbb00f381595ee8a8a4410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e672b3889a702e4f45954fc5023db110dbeef38072dbb00f381595ee8a8a4410", kill_on_drop: false }` [INFO] [stdout] e672b3889a702e4f45954fc5023db110dbeef38072dbb00f381595ee8a8a4410 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d6350ae98d137eec78da0f00f000e1bd6de18ff48d7c29c1340e4547325fab3 [INFO] running `Command { std: "docker" "start" "-a" "5d6350ae98d137eec78da0f00f000e1bd6de18ff48d7c29c1340e4547325fab3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling escargot v0.5.15 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking insta v1.43.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking ast-description-lang v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast/lex.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(text: &str) -> Lexer { [INFO] [stdout] | ^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(text: &str) -> Lexer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast/raw.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn parse(text: &str) -> Result { [INFO] [stdout] | ^^^^ --- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn parse(text: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast/raw.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | fn parse(line: &str) -> Result { [INFO] [stdout] | ^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | fn parse(line: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast/raw.rs:303:16 [INFO] [stdout] | [INFO] [stdout] 303 | fn new(text: &str) -> LineRanges { [INFO] [stdout] | ^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 303 | fn new(text: &str) -> LineRanges<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Option: AsRef` is not satisfied [INFO] [stdout] --> tests/e2e.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | with_settings!({input_file => Some(path), snapshot_suffix => name}, { [INFO] [stdout] | ---------- ^^^^^^^^^^ the trait `AsRef` is not implemented for `Option` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `insta::settings::ActualSettings::input_file` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn input_file>(&mut self, p: P) { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ActualSettings::input_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ast-description-lang` (test "e2e") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `std::option::Option: AsRef` is not satisfied [INFO] [stdout] --> src/ast/collapsed/mod.rs:224:35 [INFO] [stdout] | [INFO] [stdout] 224 | with_settings!({input_file => Some(path)}, { [INFO] [stdout] | ---------- ^^^^^^^^^^ the trait `AsRef` is not implemented for `std::option::Option` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `insta::settings::ActualSettings::input_file` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn input_file>(&mut self, p: P) { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ActualSettings::input_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::option::Option: AsRef` is not satisfied [INFO] [stdout] --> src/ast/parsed/mod.rs:171:35 [INFO] [stdout] | [INFO] [stdout] 171 | with_settings!({input_file => Some(path)}, { [INFO] [stdout] | ---------- ^^^^^^^^^^ the trait `AsRef` is not implemented for `std::option::Option` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `insta::settings::ActualSettings::input_file` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn input_file>(&mut self, p: P) { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ActualSettings::input_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::option::Option: AsRef` is not satisfied [INFO] [stdout] --> src/ast/print.rs:822:35 [INFO] [stdout] | [INFO] [stdout] 822 | with_settings!({input_file => Some(path)}, { [INFO] [stdout] | ---------- ^^^^^^^^^^ the trait `AsRef` is not implemented for `std::option::Option` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `insta::settings::ActualSettings::input_file` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn input_file>(&mut self, p: P) { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ActualSettings::input_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::option::Option: AsRef` is not satisfied [INFO] [stdout] --> src/ast/raw.rs:464:35 [INFO] [stdout] | [INFO] [stdout] 464 | with_settings!({input_file => Some(path)}, { [INFO] [stdout] | ---------- ^^^^^^^^^^ the trait `AsRef` is not implemented for `std::option::Option` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `insta::settings::ActualSettings::input_file` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.43.1/src/settings.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn input_file>(&mut self, p: P) { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `ActualSettings::input_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ast-description-lang` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "5d6350ae98d137eec78da0f00f000e1bd6de18ff48d7c29c1340e4547325fab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d6350ae98d137eec78da0f00f000e1bd6de18ff48d7c29c1340e4547325fab3", kill_on_drop: false }` [INFO] [stdout] 5d6350ae98d137eec78da0f00f000e1bd6de18ff48d7c29c1340e4547325fab3