[INFO] fetching crate nam-indexmap 2.7.1-nam.0... [INFO] testing nam-indexmap-2.7.1-nam.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate nam-indexmap 2.7.1-nam.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate nam-indexmap 2.7.1-nam.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate nam-indexmap 2.7.1-nam.0 [INFO] tweaked toml for crates.io crate nam-indexmap 2.7.1-nam.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nam-indexmap 2.7.1-nam.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] [stderr] Adding hashbrown v0.15.5 (available: v0.16.0) [INFO] [stderr] Adding itertools v0.13.0 (available: v0.14.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bb621b4ea3dfa7da168dfbc9f704d3dfefc7adeb04eb6d0922acd1b291ac154 [INFO] running `Command { std: "docker" "start" "-a" "5bb621b4ea3dfa7da168dfbc9f704d3dfefc7adeb04eb6d0922acd1b291ac154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bb621b4ea3dfa7da168dfbc9f704d3dfefc7adeb04eb6d0922acd1b291ac154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bb621b4ea3dfa7da168dfbc9f704d3dfefc7adeb04eb6d0922acd1b291ac154", kill_on_drop: false }` [INFO] [stdout] 5bb621b4ea3dfa7da168dfbc9f704d3dfefc7adeb04eb6d0922acd1b291ac154 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 808cfae7a087cea9229417d2bbdbafce9f7641c037e95913f299c2d318d231e8 [INFO] running `Command { std: "docker" "start" "-a" "808cfae7a087cea9229417d2bbdbafce9f7641c037e95913f299c2d318d231e8", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling nam-indexmap v2.7.1-nam.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.53s [INFO] running `Command { std: "docker" "inspect" "808cfae7a087cea9229417d2bbdbafce9f7641c037e95913f299c2d318d231e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "808cfae7a087cea9229417d2bbdbafce9f7641c037e95913f299c2d318d231e8", kill_on_drop: false }` [INFO] [stdout] 808cfae7a087cea9229417d2bbdbafce9f7641c037e95913f299c2d318d231e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03f9c0653e99d641166ee8520c71f02821ab602b6324be51142c21b1a1baa4dc [INFO] running `Command { std: "docker" "start" "-a" "03f9c0653e99d641166ee8520c71f02821ab602b6324be51142c21b1a1baa4dc", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling nam-indexmap v2.7.1-nam.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] [stderr] error: could not compile `nam-indexmap` (test "macros_full_path") due to 2 previous errors [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nam-indexmap` (test "equivalent_trait") due to 1 previous error [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[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] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nam-indexmap` (test "tests") due to 3 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/quick.rs:186:21 [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: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: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: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] 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: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: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] 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 `nam-indexmap` (test "quick") due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "03f9c0653e99d641166ee8520c71f02821ab602b6324be51142c21b1a1baa4dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03f9c0653e99d641166ee8520c71f02821ab602b6324be51142c21b1a1baa4dc", kill_on_drop: false }` [INFO] [stdout] 03f9c0653e99d641166ee8520c71f02821ab602b6324be51142c21b1a1baa4dc