[INFO] fetching crate arc-buffer 0.1.0... [INFO] checking arc-buffer-0.1.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate arc-buffer 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate arc-buffer 0.1.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate arc-buffer 0.1.0 [INFO] finished tweaking crates.io crate arc-buffer 0.1.0 [INFO] tweaked toml for crates.io crate arc-buffer 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded header-slice v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ce8d0f7361eab395fc641a3192ffe1c6fe7571fae1e1338ac3b9cee9cc75992 [INFO] running `Command { std: "docker" "start" "-a" "9ce8d0f7361eab395fc641a3192ffe1c6fe7571fae1e1338ac3b9cee9cc75992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ce8d0f7361eab395fc641a3192ffe1c6fe7571fae1e1338ac3b9cee9cc75992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ce8d0f7361eab395fc641a3192ffe1c6fe7571fae1e1338ac3b9cee9cc75992", kill_on_drop: false }` [INFO] [stdout] 9ce8d0f7361eab395fc641a3192ffe1c6fe7571fae1e1338ac3b9cee9cc75992 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c18054824f6b1f7179fac2d3be4f08b81f2fe2becfebf3b08f1b542221fabca [INFO] running `Command { std: "docker" "start" "-a" "3c18054824f6b1f7179fac2d3be4f08b81f2fe2becfebf3b08f1b542221fabca", kill_on_drop: false }` [INFO] [stderr] Checking header-slice v0.1.3 [INFO] [stderr] Checking arc-buffer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/buf.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | core::mem::forget(vals); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/create.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let v = arc_buf![1, 2, 3, 4]; [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(forgetting_copy_types)]` on by default [INFO] [stdout] = note: this warning originates in the macro `arc_buf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 397 - core::mem::forget(vals); [INFO] [stdout] 397 + let _ = vals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/buf.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | core::mem::forget(vals); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/create.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | let v: ArcBuffer = arc_buf![]; [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `arc_buf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 397 - core::mem::forget(vals); [INFO] [stdout] 397 + let _ = vals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/buf.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | core::mem::forget(vals); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/drop.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | let buf = with_drop_hook(arc_buf![1, 2, 3], &DROPPED); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `arc_buf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 397 - core::mem::forget(vals); [INFO] [stdout] 397 + let _ = vals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/buf.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | core::mem::forget(vals); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/drop.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | let buf1 = with_drop_hook(arc_buf![1, 2, 3], &DROPPED); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `arc_buf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 397 - core::mem::forget(vals); [INFO] [stdout] 397 + let _ = vals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/buf.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | core::mem::forget(vals); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/drop.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | let buf1 = with_drop_hook(arc_buf![1, 2, 3], &DROPPED); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `arc_buf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 397 - core::mem::forget(vals); [INFO] [stdout] 397 + let _ = vals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/buf.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | core::mem::forget(vals); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/drop.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | let buf1 = with_drop_hook(arc_buf![1, 2, 3], &D1); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `arc_buf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 397 - core::mem::forget(vals); [INFO] [stdout] 397 + let _ = vals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/buf.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | core::mem::forget(vals); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/drop.rs:89:35 [INFO] [stdout] | [INFO] [stdout] 89 | let mut buf1 = with_drop_hook(arc_buf![1, 2, 3], &D1); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `arc_buf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 397 - core::mem::forget(vals); [INFO] [stdout] 397 + let _ = vals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/buf.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | core::mem::forget(vals); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/drop.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | let buf = with_drop_hook(arc_buf![1, 2, 3, 4], &D1); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `arc_buf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 397 - core::mem::forget(vals); [INFO] [stdout] 397 + let _ = vals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `MaybeUninit::::new` that must be used [INFO] [stdout] --> src/test/utils.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | $(*$v =)? core::mem::MaybeUninit::new($f); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/test/drop.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | / parallel! { [INFO] [stdout] 111 | | [clone mut buf] { [INFO] [stdout] 112 | | buf.push(4); [INFO] [stdout] 113 | | set_drop_hook(&mut buf, &D2); [INFO] [stdout] ... | [INFO] [stdout] 126 | | }; [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: use `forget` to avoid running Drop code [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | $(*$v =)? let _ = core::mem::MaybeUninit::new($f); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `MaybeUninit::::new` that must be used [INFO] [stdout] --> src/test/utils.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | $(*$v =)? core::mem::MaybeUninit::new($f); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | / parallel! { [INFO] [stdout] 88 | | let x <- [clone a] { Q(a) }; [INFO] [stdout] 89 | | let y <- [ref b] { Q(*b) }; [INFO] [stdout] 90 | | {}; [INFO] [stdout] 91 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: use `forget` to avoid running Drop code [INFO] [stdout] = note: this warning originates in the macro `parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | $(*$v =)? let _ = core::mem::MaybeUninit::new($f); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "3c18054824f6b1f7179fac2d3be4f08b81f2fe2becfebf3b08f1b542221fabca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c18054824f6b1f7179fac2d3be4f08b81f2fe2becfebf3b08f1b542221fabca", kill_on_drop: false }` [INFO] [stdout] 3c18054824f6b1f7179fac2d3be4f08b81f2fe2becfebf3b08f1b542221fabca