[INFO] fetching crate construct 0.0.3... [INFO] checking construct-0.0.3 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate construct 0.0.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate construct 0.0.3 [INFO] finished tweaking crates.io crate construct 0.0.3 [INFO] tweaked toml for crates.io crate construct 0.0.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate construct 0.0.3 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49956c5ace244d13e5eeb2fa4dd84a439d6dce9a8dbe5683d3ac3c948bc1fb4d [INFO] running `Command { std: "docker" "start" "-a" "49956c5ace244d13e5eeb2fa4dd84a439d6dce9a8dbe5683d3ac3c948bc1fb4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49956c5ace244d13e5eeb2fa4dd84a439d6dce9a8dbe5683d3ac3c948bc1fb4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49956c5ace244d13e5eeb2fa4dd84a439d6dce9a8dbe5683d3ac3c948bc1fb4d", kill_on_drop: false }` [INFO] [stdout] 49956c5ace244d13e5eeb2fa4dd84a439d6dce9a8dbe5683d3ac3c948bc1fb4d [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66cf59f44c1285dcf4504612f4959358026f959178d70a60812d633b98c7cedd [INFO] running `Command { std: "docker" "start" "-a" "66cf59f44c1285dcf4504612f4959358026f959178d70a60812d633b98c7cedd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking construct v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/lib.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/lib.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: type parameter `T` is never used [INFO] [stdout] --> src/lib.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ReserveN { [INFO] [stdout] | ^ unused type parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] = help: if you intended `T` to be a const parameter, use `const T: /* Type */` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: type parameter `T` is never used [INFO] [stdout] --> src/lib.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ReserveN { [INFO] [stdout] | ^ unused type parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] = help: if you intended `T` to be a const parameter, use `const T: /* Type */` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stderr] error: could not compile `construct` (lib) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | coll.extend($crate::ReserveN{n: size}); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 80 | let v = construct!(Vec<_>, 1,2,3,4); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Vec: Extend<_>` found in the `alloc` crate: [INFO] [stdout] - impl<'a, T, A> Extend<&'a T> for Vec [INFO] [stdout] where T: Copy, T: 'a, A: Allocator; [INFO] [stdout] - impl Extend for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] = note: this error originates in the macro `construct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | coll.extend($crate::ReserveN{n: size}); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 85 | let m = construct!(HashMap<_,_>, (1, "hi"), (2, "bye")); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `HashMap: Extend<_>` found in the `std` crate: [INFO] [stdout] - impl<'a, K, V, S> Extend<(&'a K, &'a V)> for HashMap [INFO] [stdout] where K: Eq, K: Hash, K: Copy, V: Copy, S: BuildHasher; [INFO] [stdout] - impl Extend<(K, V)> for HashMap [INFO] [stdout] where K: Eq, K: Hash, S: BuildHasher; [INFO] [stdout] = note: this error originates in the macro `construct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0392. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `construct` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "66cf59f44c1285dcf4504612f4959358026f959178d70a60812d633b98c7cedd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66cf59f44c1285dcf4504612f4959358026f959178d70a60812d633b98c7cedd", kill_on_drop: false }` [INFO] [stdout] 66cf59f44c1285dcf4504612f4959358026f959178d70a60812d633b98c7cedd