[INFO] fetching crate save 0.20220707.0...
[INFO] testing save-0.20220707.0 against try#311784882baa42a9638298cb325fa01a062c9d0f+cargoflags=-Zbuild-dir-new-layout for pr-149852
[INFO] extracting crate save 0.20220707.0 into /workspace/builds/worker-1-tc2/source
[INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml
[INFO] started tweaking crates.io crate save 0.20220707.0
[INFO] finished tweaking crates.io crate save 0.20220707.0
[INFO] tweaked toml for crates.io crate save 0.20220707.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate save 0.20220707.0 on toolchain 311784882baa42a9638298cb325fa01a062c9d0f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+311784882baa42a9638298cb325fa01a062c9d0f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate save 0.20220707.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+311784882baa42a9638298cb325fa01a062c9d0f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+311784882baa42a9638298cb325fa01a062c9d0f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b4ba9ef68d4e191488fa0b096b39ec7da1fc4e4f79c600b6c72e14eb1e2ff568
[INFO] running `Command { std: "docker" "start" "-a" "b4ba9ef68d4e191488fa0b096b39ec7da1fc4e4f79c600b6c72e14eb1e2ff568", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b4ba9ef68d4e191488fa0b096b39ec7da1fc4e4f79c600b6c72e14eb1e2ff568", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4ba9ef68d4e191488fa0b096b39ec7da1fc4e4f79c600b6c72e14eb1e2ff568", kill_on_drop: false }`
[INFO] [stdout] b4ba9ef68d4e191488fa0b096b39ec7da1fc4e4f79c600b6c72e14eb1e2ff568
[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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+311784882baa42a9638298cb325fa01a062c9d0f" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] d0a9427fe4b332f6b784930f86c36f0708d370445d38477711460d5901962482
[INFO] running `Command { std: "docker" "start" "-a" "d0a9427fe4b332f6b784930f86c36f0708d370445d38477711460d5901962482", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling once_cell v1.13.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling regex-syntax v0.6.26
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling tracing-core v0.1.28
[INFO] [stderr]    Compiling smallvec v1.8.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling jobserver v0.1.24
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling tracing-log v0.1.3
[INFO] [stderr]    Compiling sharded-slab v0.1.4
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling thread_local v1.1.4
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling unicode-normalization v0.1.20
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling openssl-sys v0.9.74
[INFO] [stderr]    Compiling libz-sys v1.1.8
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling libssh2-sys v0.2.23
[INFO] [stderr]    Compiling regex v1.5.6
[INFO] [stderr]    Compiling libgit2-sys v0.13.4+1.4.2
[INFO] [stderr]    Compiling backtrace v0.3.65
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling gimli v0.26.1
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling hashbrown v0.12.1
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling eyre v0.6.8
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling miniz_oxide v0.5.3
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling crypto-common v0.1.3
[INFO] [stderr]    Compiling block-buffer v0.10.2
[INFO] [stderr]    Compiling object v0.28.4
[INFO] [stderr]    Compiling terminal_size v0.1.17
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling os_str_bytes v6.1.0
[INFO] [stderr]    Compiling owo-colors v3.4.0
[INFO] [stderr]    Compiling rustc-demangle v0.1.21
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling addr2line v0.17.0
[INFO] [stderr]    Compiling indenter v0.3.3
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling unicode-width v0.1.9
[INFO] [stderr]    Compiling textwrap v0.15.0
[INFO] [stderr]    Compiling clap_lex v0.2.3
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling dissimilar v1.0.4
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling cpufeatures v0.2.2
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling fixedbitset v0.4.1
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]    Compiling petgraph v0.6.2
[INFO] [stderr]    Compiling expect-test v1.3.0
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling sha-1 v0.10.0
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling thousands v0.2.0
[INFO] [stderr]    Compiling home v0.5.3
[INFO] [stderr]    Compiling tracing-attributes v0.1.21
[INFO] [stderr]    Compiling clap_derive v3.2.7
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling tracing v0.1.35
[INFO] [stderr]    Compiling thiserror v1.0.31
[INFO] [stderr]    Compiling clap v3.2.8
[INFO] [stderr]    Compiling tracing-subscriber v0.3.14
[INFO] [stderr]    Compiling tracing-error v0.2.0
[INFO] [stderr]    Compiling color-spantrace v0.2.0
[INFO] [stderr]    Compiling color-eyre v0.6.1
[INFO] [stderr]    Compiling git2 v0.14.4
[INFO] [stderr]    Compiling save v0.20220707.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0405]: cannot find trait `ExpectedData` in crate `expect_test`
[INFO] [stdout]  --> src/testing.rs:2:52
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn assert_debug_eq(expected: impl expect_test::ExpectedData, actual: impl ::core::fmt::Debug) {
[INFO] [stdout]   |                                                    ^^^^^^^^^^^^ not found in `expect_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found macro `expect_test::expect`
[INFO] [stdout]  --> src/testing.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     ::expect_test::expect(expected).assert_eq(&format!("{actual:?}"));
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^ not a function
[INFO] [stdout]   |
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]   |
[INFO] [stdout] 3 |     ::expect_test::expect!(expected).assert_eq(&format!("{actual:?}"));
[INFO] [stdout]   |                          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found macro `expect_test::expect_file`
[INFO] [stdout]  --> src/testing.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     ::expect_test::expect_file(path).assert_eq(&format!("{actual}"));
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ not a function
[INFO] [stdout]   |
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]   |
[INFO] [stdout] 8 |     ::expect_test::expect_file!(path).assert_eq(&format!("{actual}"));
[INFO] [stdout]   |                               +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/cli.rs:261:49
[INFO] [stdout]     |
[INFO] [stdout] 261 |             .and_then(|x| x.author().name().map(std::string::ToString::to_string))
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:16:5
[INFO] [stdout]     |
[INFO] [stdout]  16 |     unused_qualifications,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 261 -             .and_then(|x| x.author().name().map(std::string::ToString::to_string))
[INFO] [stdout] 261 +             .and_then(|x| x.author().name().map(ToString::to_string))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/cli.rs:292:46
[INFO] [stdout]     |
[INFO] [stdout] 292 |         .and_then(|x| x.author().email().map(std::string::ToString::to_string))
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 292 -         .and_then(|x| x.author().email().map(std::string::ToString::to_string))
[INFO] [stdout] 292 +         .and_then(|x| x.author().email().map(ToString::to_string))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary qualification
[INFO] [stdout]    --> src/cli.rs:328:24
[INFO] [stdout]     |
[INFO] [stdout] 328 |             let path = std::env::current_dir()?;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove the unnecessary path segments
[INFO] [stdout]     |
[INFO] [stdout] 328 -             let path = std::env::current_dir()?;
[INFO] [stdout] 328 +             let path = env::current_dir()?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Blob`, `Branch`, `Config`, `Object`, `Reference`, `Remote`, `Tag`, `Time`, and `Tree`
[INFO] [stdout]   --> src/git2.rs:9:13
[INFO] [stdout]    |
[INFO] [stdout]  9 |             Blob, Branch, Commit, Config, Index, Object, ObjectType, Oid, Reference, Remote,
[INFO] [stdout]    |             ^^^^  ^^^^^^          ^^^^^^         ^^^^^^                   ^^^^^^^^^  ^^^^^^
[INFO] [stdout] 10 |             Repository, Signature, Tag, Time, Tree,
[INFO] [stdout]    |                                    ^^^  ^^^^  ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/git2.rs:451:43
[INFO] [stdout]     |
[INFO] [stdout] 451 | ...                   .map(|(a, b)| (a ^ b))
[INFO] [stdout]     |                                     ^     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 451 -                             .map(|(a, b)| (a ^ b))
[INFO] [stdout] 451 +                             .map(|(a, b)| a ^ b)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead
[INFO] [stdout]   --> src/git2.rs:22:25
[INFO] [stdout]    |
[INFO] [stdout] 22 |             intrinsics::transmute,
[INFO] [stdout]    |                         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0423.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `save` (lib) due to 3 previous errors; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "d0a9427fe4b332f6b784930f86c36f0708d370445d38477711460d5901962482", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0a9427fe4b332f6b784930f86c36f0708d370445d38477711460d5901962482", kill_on_drop: false }`
[INFO] [stdout] d0a9427fe4b332f6b784930f86c36f0708d370445d38477711460d5901962482
