[INFO] fetching crate linear_collections 0.3.0... [INFO] checking linear_collections-0.3.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate linear_collections 0.3.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate linear_collections 0.3.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate linear_collections 0.3.0 [INFO] finished tweaking crates.io crate linear_collections 0.3.0 [INFO] tweaked toml for crates.io crate linear_collections 0.3.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 34 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b6dd4d230ad10a3de776f6506271b5b76bc824e3cb6aecc5ff7b2a10f514fe1 [INFO] running `Command { std: "docker" "start" "-a" "6b6dd4d230ad10a3de776f6506271b5b76bc824e3cb6aecc5ff7b2a10f514fe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b6dd4d230ad10a3de776f6506271b5b76bc824e3cb6aecc5ff7b2a10f514fe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b6dd4d230ad10a3de776f6506271b5b76bc824e3cb6aecc5ff7b2a10f514fe1", kill_on_drop: false }` [INFO] [stdout] 6b6dd4d230ad10a3de776f6506271b5b76bc824e3cb6aecc5ff7b2a10f514fe1 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a2e9c23dc4347669643f657b13cec95c65d1ac11cde201d5efe96fb76847b4c [INFO] running `Command { std: "docker" "start" "-a" "5a2e9c23dc4347669643f657b13cec95c65d1ac11cde201d5efe96fb76847b4c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking linear_collections v0.3.0 (/tmp/fixit) [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/array/test.rs (1 fix) [INFO] [stderr] Fixed src/test/mod.rs (2 fixes) [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ArrayMap` [INFO] [stdout] --> src/array/test.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | let f = unsafe { ArrayMap::from_array_unchecked([(1, 1)]) }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ArrayMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::ArrayMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ArrayMap` [INFO] [stdout] --> src/array/test.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | let f = unsafe { ArrayMap::from_array_unchecked([(1, 1)]) }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ArrayMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::ArrayMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ArrayMap` [INFO] [stdout] --> src/array/test.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | let _ = unsafe { ArrayMap::from_array_unchecked([(1, 1)]) }; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ArrayMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::ArrayMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VecMap` [INFO] [stdout] --> src/test/mod.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let mut m = VecMap::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `VecMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VecMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VecMap` in this scope [INFO] [stdout] --> src/test/mod.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | let mut m: VecMap = VecMap::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VecMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VecMap` [INFO] [stdout] --> src/test/mod.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | let mut m: VecMap = VecMap::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `VecMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VecMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VecMap` in this scope [INFO] [stdout] --> src/test/mod.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | let mut m: VecMap = VecMap::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VecMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VecMap` [INFO] [stdout] --> src/test/mod.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | let mut m: VecMap = VecMap::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `VecMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VecMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VecMap` [INFO] [stdout] --> src/test/mod.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let mut m = VecMap::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `VecMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VecMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VecMap` [INFO] [stdout] --> src/test/mod.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let mut m = VecMap::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `VecMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VecMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VecMap` [INFO] [stdout] --> src/test/mod.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let mut m = VecMap::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `VecMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VecMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VecMap` [INFO] [stdout] --> src/test/mod.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let mut m = VecMap::with_capacity(4); [INFO] [stdout] | ^^^^^^ use of undeclared type `VecMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VecMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VecMap` [INFO] [stdout] --> src/test/mod.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | let mut m = VecMap::with_capacity(4); [INFO] [stdout] | ^^^^^^ use of undeclared type `VecMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VecMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VecMap` [INFO] [stdout] --> src/test/mod.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | let mut m = VecMap::with_capacity(4); [INFO] [stdout] | ^^^^^^ use of undeclared type `VecMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VecMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VecMap` [INFO] [stdout] --> src/test/mod.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | let mut m = VecMap::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `VecMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VecMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VecMap` [INFO] [stdout] --> src/test/mod.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | let mut m = VecMap::with_capacity(4); [INFO] [stdout] | ^^^^^^ use of undeclared type `VecMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VecMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VecMap` [INFO] [stdout] --> src/test/mod.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | let mut m = VecMap::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `VecMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VecMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VecMap` [INFO] [stdout] --> src/test/mod.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | let mut m = VecMap::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `VecMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VecMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_key` found for struct `VecMap` in the current scope [INFO] [stdout] --> src/test/mod.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(m.contains_key(&1)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn contains_key(&self, key: &K) -> bool { [INFO] [stdout] | ------------ the method is available for `VecMap<{integer}, {integer}>` here [INFO] [stdout] | [INFO] [stdout] ::: src/vec/map.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct VecMap { [INFO] [stdout] | ---------------------------------------------- method `contains_key` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `LinearMap` which provides `contains_key` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::LinearMap; [INFO] [stdout] | [INFO] [stdout] help: there is a method `contains_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | assert!(m.contains_value(&1)); [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains_key` found for struct `VecMap` in the current scope [INFO] [stdout] --> src/test/mod.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | assert!(!m.contains_key(&0)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn contains_key(&self, key: &K) -> bool { [INFO] [stdout] | ------------ the method is available for `VecMap<{integer}, {integer}>` here [INFO] [stdout] | [INFO] [stdout] ::: src/vec/map.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct VecMap { [INFO] [stdout] | ---------------------------------------------- method `contains_key` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `LinearMap` which provides `contains_key` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::LinearMap; [INFO] [stdout] | [INFO] [stdout] help: there is a method `contains_value` with a similar name [INFO] [stdout] | [INFO] [stdout] 9 | assert!(!m.contains_value(&0)); [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `linear_collections` (lib test) due to 21 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "5a2e9c23dc4347669643f657b13cec95c65d1ac11cde201d5efe96fb76847b4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a2e9c23dc4347669643f657b13cec95c65d1ac11cde201d5efe96fb76847b4c", kill_on_drop: false }` [INFO] [stdout] 5a2e9c23dc4347669643f657b13cec95c65d1ac11cde201d5efe96fb76847b4c