[INFO] fetching crate save 0.20220707.0... [INFO] testing save-0.20220707.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate save 0.20220707.0 into /workspace/builds/worker-7-tc1/source [INFO] removed /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate save 0.20220707.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.20 [INFO] [stderr] Downloaded proc-macro2 v1.0.40 [INFO] [stderr] Downloaded smallvec v1.8.1 [INFO] [stderr] Downloaded thiserror-impl v1.0.31 [INFO] [stderr] Downloaded unicode-ident v1.0.1 [INFO] [stderr] Downloaded miniz_oxide v0.5.3 [INFO] [stderr] Downloaded openssl-sys v0.9.74 [INFO] [stderr] Downloaded clap_lex v0.2.3 [INFO] [stderr] Downloaded owo-colors v3.4.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.81 [INFO] [stderr] Downloaded color-eyre v0.6.1 [INFO] [stderr] Downloaded clap_derive v3.2.7 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.9 [INFO] [stderr] Downloaded crossbeam-channel v0.5.5 [INFO] [stderr] Downloaded os_str_bytes v6.1.0 [INFO] [stderr] Downloaded hashbrown v0.12.1 [INFO] [stderr] Downloaded tracing v0.1.35 [INFO] [stderr] Downloaded web-sys v0.3.58 [INFO] [stderr] Downloaded dissimilar v1.0.4 [INFO] [stderr] Downloaded bumpalo v3.10.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.81 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.81 [INFO] [stderr] Downloaded clap v3.2.8 [INFO] [stderr] Downloaded color-spantrace v0.2.0 [INFO] [stderr] Downloaded crossterm v0.24.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.81 [INFO] [stderr] Downloaded petgraph v0.6.2 [INFO] [stderr] Downloaded unicode-normalization v0.1.20 [INFO] [stderr] Downloaded expect-test v1.3.0 [INFO] [stderr] Downloaded rayon v1.5.3 [INFO] [stderr] Downloaded libgit2-sys v0.13.4+1.4.2 [INFO] [stderr] Downloaded eyre v0.6.8 [INFO] [stderr] Downloaded js-sys v0.3.58 [INFO] [stderr] Downloaded git2 v0.14.4 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.81 [INFO] [stderr] Downloaded crossbeam-utils v0.8.10 [INFO] [stderr] Downloaded rayon-core v1.9.3 [INFO] [stderr] Downloaded thiserror v1.0.31 [INFO] [stderr] Downloaded thousands v0.2.0 [INFO] [stderr] Downloaded syn v1.0.98 [INFO] [stderr] Downloaded tracing-subscriber v0.3.14 [INFO] [stderr] Downloaded semver v1.0.10 [INFO] [stderr] Downloaded home v0.5.3 [INFO] [stderr] Downloaded iai v0.1.1 [INFO] [stderr] Downloaded fixedbitset v0.4.1 [INFO] [stderr] Downloaded tracing-error v0.2.0 [INFO] [stderr] Downloaded once_cell v1.13.0 [INFO] [stderr] Downloaded tracing-core v0.1.28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 257f816cd085601f1a7681dfb42779f6953ab06296cf7e76acf0fd1beae9efd8 [INFO] running `Command { std: "docker" "start" "-a" "257f816cd085601f1a7681dfb42779f6953ab06296cf7e76acf0fd1beae9efd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "257f816cd085601f1a7681dfb42779f6953ab06296cf7e76acf0fd1beae9efd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "257f816cd085601f1a7681dfb42779f6953ab06296cf7e76acf0fd1beae9efd8", kill_on_drop: false }` [INFO] [stdout] 257f816cd085601f1a7681dfb42779f6953ab06296cf7e76acf0fd1beae9efd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c62ea9fe795b2dc99a979c5d917a5ac43ac4a3d0affb172fe5144d3c56c48a8f [INFO] running `Command { std: "docker" "start" "-a" "c62ea9fe795b2dc99a979c5d917a5ac43ac4a3d0affb172fe5144d3c56c48a8f", kill_on_drop: false }` [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 syn v1.0.98 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling smallvec v1.8.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling indexmap v1.9.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 gimli v0.26.1 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling os_str_bytes v6.1.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling owo-colors v3.4.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling object v0.28.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling clap_lex v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dissimilar v1.0.4 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling expect-test v1.3.0 [INFO] [stderr] Compiling thousands v0.2.0 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.13.4+1.4.2 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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 thiserror v1.0.31 [INFO] [stderr] Compiling git2 v0.14.4 [INFO] [stderr] Compiling tracing v0.1.35 [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 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" "c62ea9fe795b2dc99a979c5d917a5ac43ac4a3d0affb172fe5144d3c56c48a8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c62ea9fe795b2dc99a979c5d917a5ac43ac4a3d0affb172fe5144d3c56c48a8f", kill_on_drop: false }` [INFO] [stdout] c62ea9fe795b2dc99a979c5d917a5ac43ac4a3d0affb172fe5144d3c56c48a8f