[INFO] fetching crate construct 0.0.3... [INFO] checking construct-0.0.3 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate construct 0.0.3 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate construct 0.0.3 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e10415b361261ac381e3ad68093da3f125e093bb9101b705b26a2511b944621 [INFO] running `Command { std: "docker" "start" "-a" "8e10415b361261ac381e3ad68093da3f125e093bb9101b705b26a2511b944621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e10415b361261ac381e3ad68093da3f125e093bb9101b705b26a2511b944621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e10415b361261ac381e3ad68093da3f125e093bb9101b705b26a2511b944621", kill_on_drop: false }` [INFO] [stdout] 8e10415b361261ac381e3ad68093da3f125e093bb9101b705b26a2511b944621 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 087c77a4938606650f979f85e5d1fa02d6421c83afbabeafdffdf60a3f07fea1 [INFO] running `Command { std: "docker" "start" "-a" "087c77a4938606650f979f85e5d1fa02d6421c83afbabeafdffdf60a3f07fea1", 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] 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[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] 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[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] [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] [stderr] error: could not compile `construct` (lib test) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "087c77a4938606650f979f85e5d1fa02d6421c83afbabeafdffdf60a3f07fea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "087c77a4938606650f979f85e5d1fa02d6421c83afbabeafdffdf60a3f07fea1", kill_on_drop: false }` [INFO] [stdout] 087c77a4938606650f979f85e5d1fa02d6421c83afbabeafdffdf60a3f07fea1