[INFO] fetching crate ast-description-lang 0.4.0... [INFO] testing ast-description-lang-0.4.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate ast-description-lang 0.4.0 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ast-description-lang 0.4.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded escargot v0.5.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e79a2ca3ec614722098cfee55240488f5927cd3b4dac9459c243e5b5f165fa4 [INFO] running `Command { std: "docker" "start" "-a" "6e79a2ca3ec614722098cfee55240488f5927cd3b4dac9459c243e5b5f165fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e79a2ca3ec614722098cfee55240488f5927cd3b4dac9459c243e5b5f165fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e79a2ca3ec614722098cfee55240488f5927cd3b4dac9459c243e5b5f165fa4", kill_on_drop: false }` [INFO] [stdout] 6e79a2ca3ec614722098cfee55240488f5927cd3b4dac9459c243e5b5f165fa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 99df5063b28fdc88a2f0733c8334bb710a7a28c739295eda1a4ced6282215693 [INFO] running `Command { std: "docker" "start" "-a" "99df5063b28fdc88a2f0733c8334bb710a7a28c739295eda1a4ced6282215693", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.44s [INFO] running `Command { std: "docker" "inspect" "99df5063b28fdc88a2f0733c8334bb710a7a28c739295eda1a4ced6282215693", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99df5063b28fdc88a2f0733c8334bb710a7a28c739295eda1a4ced6282215693", kill_on_drop: false }` [INFO] [stdout] 99df5063b28fdc88a2f0733c8334bb710a7a28c739295eda1a4ced6282215693 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ff3428b844cbbbb015dee3466acdb98901984fc9b65f578a7409dbe0ca274722 [INFO] running `Command { std: "docker" "start" "-a" "ff3428b844cbbbb015dee3466acdb98901984fc9b65f578a7409dbe0ca274722", kill_on_drop: false }` [INFO] [stderr] Compiling escargot v0.5.14 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling toml v0.5.11 [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] [stderr] Compiling insta v1.43.1 [INFO] [stderr] Compiling ast-description-lang v0.4.0 (/opt/rustwide/workdir) [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" "ff3428b844cbbbb015dee3466acdb98901984fc9b65f578a7409dbe0ca274722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff3428b844cbbbb015dee3466acdb98901984fc9b65f578a7409dbe0ca274722", kill_on_drop: false }` [INFO] [stdout] ff3428b844cbbbb015dee3466acdb98901984fc9b65f578a7409dbe0ca274722