[INFO] fetching crate ast-description-lang 0.4.0... [INFO] checking ast-description-lang-0.4.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate ast-description-lang 0.4.0 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ast-description-lang 0.4.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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.10.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecdae8d0073b25e18b4907fe9d0e4a128c74c3958d3bdfc60709809ae2ceb992 [INFO] running `Command { std: "docker" "start" "-a" "ecdae8d0073b25e18b4907fe9d0e4a128c74c3958d3bdfc60709809ae2ceb992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecdae8d0073b25e18b4907fe9d0e4a128c74c3958d3bdfc60709809ae2ceb992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecdae8d0073b25e18b4907fe9d0e4a128c74c3958d3bdfc60709809ae2ceb992", kill_on_drop: false }` [INFO] [stdout] ecdae8d0073b25e18b4907fe9d0e4a128c74c3958d3bdfc60709809ae2ceb992 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e7119f660e35f2b0278fb080bbdb136f1b7d5706c4a345a102cb1dc546ba574 [INFO] running `Command { std: "docker" "start" "-a" "3e7119f660e35f2b0278fb080bbdb136f1b7d5706c4a345a102cb1dc546ba574", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Compiling escargot v0.5.14 [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking insta v1.43.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking ast-description-lang v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/lex.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(text: &str) -> Lexer { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(text: &str) -> Lexer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/raw.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn parse(text: &str) -> Result { [INFO] [stdout] | ^^^^ --- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn parse(text: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/raw.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | fn parse(line: &str) -> Result { [INFO] [stdout] | ^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 94 | fn parse(line: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast/raw.rs:303:16 [INFO] [stdout] | [INFO] [stdout] 303 | fn new(text: &str) -> LineRanges { [INFO] [stdout] | ^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ast-description-lang` (test "e2e") due to 1 previous error [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" "3e7119f660e35f2b0278fb080bbdb136f1b7d5706c4a345a102cb1dc546ba574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e7119f660e35f2b0278fb080bbdb136f1b7d5706c4a345a102cb1dc546ba574", kill_on_drop: false }` [INFO] [stdout] 3e7119f660e35f2b0278fb080bbdb136f1b7d5706c4a345a102cb1dc546ba574