[INFO] fetching crate supply-chain-trust-example-crate-000013 2.8.0... [INFO] building supply-chain-trust-example-crate-000013-2.8.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate supply-chain-trust-example-crate-000013 2.8.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate supply-chain-trust-example-crate-000013 2.8.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate supply-chain-trust-example-crate-000013 2.8.0 [INFO] tweaked toml for crates.io crate supply-chain-trust-example-crate-000013 2.8.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate supply-chain-trust-example-crate-000013 2.8.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 39 packages to latest compatible versions [INFO] [stderr] Adding hashbrown v0.15.5 (available: v0.16.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ecd68daf9f6aa018eea79aa66b4ece01851a19aacd2b8ae44b16c2e7d614177 [INFO] running `Command { std: "docker" "start" "-a" "1ecd68daf9f6aa018eea79aa66b4ece01851a19aacd2b8ae44b16c2e7d614177", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ecd68daf9f6aa018eea79aa66b4ece01851a19aacd2b8ae44b16c2e7d614177", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ecd68daf9f6aa018eea79aa66b4ece01851a19aacd2b8ae44b16c2e7d614177", kill_on_drop: false }` [INFO] [stdout] 1ecd68daf9f6aa018eea79aa66b4ece01851a19aacd2b8ae44b16c2e7d614177 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cea74862c9dac528e8cddf6a18ebfb95fea4a13df878606d92baf1bfdbbf96e [INFO] running `Command { std: "docker" "start" "-a" "1cea74862c9dac528e8cddf6a18ebfb95fea4a13df878606d92baf1bfdbbf96e", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling supply-chain-trust-example-crate-000013 v2.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "1cea74862c9dac528e8cddf6a18ebfb95fea4a13df878606d92baf1bfdbbf96e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cea74862c9dac528e8cddf6a18ebfb95fea4a13df878606d92baf1bfdbbf96e", kill_on_drop: false }` [INFO] [stdout] 1cea74862c9dac528e8cddf6a18ebfb95fea4a13df878606d92baf1bfdbbf96e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1aa6a4ab400104aa12fd912064939c8d8ca39997609eda393cb62a14f33ad3d6 [INFO] running `Command { std: "docker" "start" "-a" "1aa6a4ab400104aa12fd912064939c8d8ca39997609eda393cb62a14f33ad3d6", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling supply-chain-trust-example-crate-000013 v2.8.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `indexmap` [INFO] [stdout] --> tests/equivalent_trait.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use indexmap::indexmap; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `indexmap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `indexmap`, use `cargo add indexmap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `indexmap` [INFO] [stdout] --> tests/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use indexmap::{indexmap, indexset}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `indexmap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `indexmap`, use `cargo add indexmap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | m.sorted_by(|_k1, v1, _k2, v2| v1.cmp(v2)), [INFO] [stdout] | ^^ --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 13 | m.sorted_by(|_k1, v1: /* Type */, _k2, v2| v1.cmp(v2)), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | itertools::assert_equal(s.sorted_by(|v1, v2| v1.cmp(v2)), vec![1, 2, 3, 7]); [INFO] [stdout] | ^^ --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 27 | itertools::assert_equal(s.sorted_by(|v1: /* Type */, v2| v1.cmp(v2)), vec![1, 2, 3, 7]); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `indexmap` [INFO] [stdout] --> tests/macros_full_path.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | let _s = indexmap::indexset! { [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `indexmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `indexmap` [INFO] [stdout] --> tests/macros_full_path.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | let _m = indexmap::indexmap! { [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `indexmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000013` (test "equivalent_trait") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000013` (test "tests") due to 3 previous errors [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000013` (test "macros_full_path") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: function `indexmap` is not a crate or module [INFO] [stdout] --> tests/quick.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | use indexmap::map::raw_entry_v1::{RawEntryApiV1, RawEntryMut}; [INFO] [stdout] | ^^^^^^^^ function `indexmap` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `indexmap` is not a crate or module [INFO] [stdout] --> tests/quick.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | use indexmap::map::raw_entry_v1::{RawEntryApiV1, RawEntryMut}; [INFO] [stdout] | ^^^^^^^^ function `indexmap` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `indexmap` is not a crate or module [INFO] [stdout] --> tests/quick.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | use indexmap::map::raw_entry_v1::{RawEntryApiV1, RawEntryMut}; [INFO] [stdout] | ^^^^^^^^ function `indexmap` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `indexmap` is not a crate or module [INFO] [stdout] --> tests/quick.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use indexmap::map::Entry; [INFO] [stdout] | ^^^^^^^^ function `indexmap` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `indexmap` [INFO] [stdout] --> tests/quick.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use indexmap::{IndexMap, IndexSet}; [INFO] [stdout] | ^^^^^^^^ function `indexmap` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/quick.rs:337:45 [INFO] [stdout] | [INFO] [stdout] 337 | test_map_move_index(vec, from, to, |map, from, to| { [INFO] [stdout] | ^^^ [INFO] [stdout] 338 | let key = map.keys()[from]; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 337 | test_map_move_index(vec, from, to, |map: /* Type */, from, to| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/quick.rs:282:47 [INFO] [stdout] | [INFO] [stdout] 282 | test_map_swap_indices(vec, from, to, |map, from, to| { [INFO] [stdout] | ^^^ [INFO] [stdout] 283 | let key = map.keys()[from]; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 282 | test_map_swap_indices(vec, from, to, |map: /* Type */, from, to| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/quick.rs:265:47 [INFO] [stdout] | [INFO] [stdout] 265 | test_map_swap_indices(vec, from, to, |map, from, to| { [INFO] [stdout] | ^^^ [INFO] [stdout] 266 | let key = map.keys()[from]; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 265 | test_map_swap_indices(vec, from, to, |map: /* Type */, from, to| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/quick.rs:275:47 [INFO] [stdout] | [INFO] [stdout] 275 | test_map_swap_indices(vec, from, to, |map, from, to| { [INFO] [stdout] | ^^^ [INFO] [stdout] 276 | map.get_index_entry(from).unwrap().swap_indices(to); [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 275 | test_map_swap_indices(vec, from, to, |map: /* Type */, from, to| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/quick.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 186 | assert!(keys.iter().all(|key| map.contains_key(key))); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/quick.rs:347:40 [INFO] [stdout] | [INFO] [stdout] 347 | test_map_shift_insert(vec, i, |map, i, key| { [INFO] [stdout] | ^^^ [INFO] [stdout] 348 | match map.entry(key) { [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 347 | test_map_shift_insert(vec, i, |map: /* Type */, i, key| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/quick.rs:357:40 [INFO] [stdout] | [INFO] [stdout] 357 | test_map_shift_insert(vec, i, |map, i, key| { [INFO] [stdout] | ^^^ [INFO] [stdout] 358 | match map.raw_entry_mut_v1().from_key(&key) { [INFO] [stdout] | ---------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 357 | test_map_shift_insert(vec, i, |map: /* Type */, i, key| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/quick.rs:330:45 [INFO] [stdout] | [INFO] [stdout] 330 | test_map_move_index(vec, from, to, |map, from, to| { [INFO] [stdout] | ^^^ [INFO] [stdout] 331 | map.get_index_entry(from).unwrap().move_index(to); [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 330 | test_map_move_index(vec, from, to, |map: /* Type */, from, to| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/quick.rs:320:45 [INFO] [stdout] | [INFO] [stdout] 320 | test_map_move_index(vec, from, to, |map, from, to| { [INFO] [stdout] | ^^^ [INFO] [stdout] 321 | let key = map.keys()[from]; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 320 | test_map_move_index(vec, from, to, |map: /* Type */, from, to| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000013` (test "quick") due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "1aa6a4ab400104aa12fd912064939c8d8ca39997609eda393cb62a14f33ad3d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aa6a4ab400104aa12fd912064939c8d8ca39997609eda393cb62a14f33ad3d6", kill_on_drop: false }` [INFO] [stdout] 1aa6a4ab400104aa12fd912064939c8d8ca39997609eda393cb62a14f33ad3d6