[INFO] fetching crate dynstack 0.4.0... [INFO] checking dynstack-0.4.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate dynstack 0.4.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate dynstack 0.4.0 [INFO] finished tweaking crates.io crate dynstack 0.4.0 [INFO] tweaked toml for crates.io crate dynstack 0.4.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dynstack 0.4.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 76 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.1.2 (available: v0.7.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread-scoped v1.0.2 [INFO] [stderr] Downloaded cast v0.1.0 [INFO] [stderr] Downloaded criterion-plot v0.1.3 [INFO] [stderr] Downloaded criterion-stats v0.1.3 [INFO] [stderr] Downloaded simplelog v0.4.4 [INFO] [stderr] Downloaded criterion v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30d2b8730da059b8040fb4d91a2fb2bbb8b6ba482c0ac67ad287448861e51748 [INFO] running `Command { std: "docker" "start" "-a" "30d2b8730da059b8040fb4d91a2fb2bbb8b6ba482c0ac67ad287448861e51748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30d2b8730da059b8040fb4d91a2fb2bbb8b6ba482c0ac67ad287448861e51748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30d2b8730da059b8040fb4d91a2fb2bbb8b6ba482c0ac67ad287448861e51748", kill_on_drop: false }` [INFO] [stdout] 30d2b8730da059b8040fb4d91a2fb2bbb8b6ba482c0ac67ad287448861e51748 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3fcc27ef4e8022e4d812dbb7874455e5625927eac864ce859e147fbfbbe39ab [INFO] running `Command { std: "docker" "start" "-a" "c3fcc27ef4e8022e4d812dbb7874455e5625927eac864ce859e147fbfbbe39ab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking cast v0.1.0 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking itertools v0.5.10 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking num_cpus v0.2.13 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking thread-scoped v1.0.2 [INFO] [stderr] Compiling dynstack v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking isatty v0.1.9 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking criterion-plot v0.1.3 [INFO] [stderr] Checking criterion-stats v0.1.3 [INFO] [stderr] Checking simplelog v0.4.4 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking criterion v0.1.2 [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:484:6 [INFO] [stdout] | [INFO] [stdout] 484 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> benches/comparisons.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | struct Large([u8; 950]); [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | core::mem::forget(t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u8` [INFO] [stdout] ... [INFO] [stdout] 414 | dyn_push!(stack, 1u8); [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 `dyn_push` (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] 405 - core::mem::forget(t); [INFO] [stdout] 405 + let _ = t; [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/lib.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | core::mem::forget(t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u32` [INFO] [stdout] ... [INFO] [stdout] 415 | dyn_push!(stack, 1u32); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `dyn_push` (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] 405 - core::mem::forget(t); [INFO] [stdout] 405 + let _ = t; [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/lib.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | core::mem::forget(t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u16` [INFO] [stdout] ... [INFO] [stdout] 416 | dyn_push!(stack, 1u16); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `dyn_push` (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] 405 - core::mem::forget(t); [INFO] [stdout] 405 + let _ = t; [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/lib.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | core::mem::forget(t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u64` [INFO] [stdout] ... [INFO] [stdout] 417 | dyn_push!(stack, 1u64); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `dyn_push` (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] 405 - core::mem::forget(t); [INFO] [stdout] 405 + let _ = t; [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/lib.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | core::mem::forget(t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u128` [INFO] [stdout] ... [INFO] [stdout] 418 | dyn_push!(stack, 1u128); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `dyn_push` (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] 405 - core::mem::forget(t); [INFO] [stdout] 405 + let _ = t; [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/lib.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | core::mem::forget(t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `{closure@src/lib.rs:458:26: 458:33}` [INFO] [stdout] ... [INFO] [stdout] 458 | dyn_push!(stack, move || i); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `dyn_push` (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] 405 - core::mem::forget(t); [INFO] [stdout] 405 + let _ = t; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:476:18 [INFO] [stdout] | [INFO] [stdout] 476 | unsafe { DROP_NUM.as_ref().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:479:18 [INFO] [stdout] | [INFO] [stdout] 479 | unsafe { DROP_NUM.as_mut().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | core::mem::forget(t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u32` [INFO] [stdout] ... [INFO] [stdout] 576 | 0 => dyn_push!(stack, 0xF0B0D0E0u32), [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `dyn_push` (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] 405 - core::mem::forget(t); [INFO] [stdout] 405 + let _ = t; [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/lib.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | core::mem::forget(t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u64` [INFO] [stdout] ... [INFO] [stdout] 577 | 1 => dyn_push!(stack, 0x01020304F0B0D0E0u64), [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `dyn_push` (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] 405 - core::mem::forget(t); [INFO] [stdout] 405 + let _ = t; [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/lib.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | core::mem::forget(t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `{closure@src/lib.rs:693:26: 693:33}` [INFO] [stdout] ... [INFO] [stdout] 693 | dyn_push!(stack, move || i); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `dyn_push` (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] 405 - core::mem::forget(t); [INFO] [stdout] 405 + let _ = t; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.47s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "c3fcc27ef4e8022e4d812dbb7874455e5625927eac864ce859e147fbfbbe39ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3fcc27ef4e8022e4d812dbb7874455e5625927eac864ce859e147fbfbbe39ab", kill_on_drop: false }` [INFO] [stdout] c3fcc27ef4e8022e4d812dbb7874455e5625927eac864ce859e147fbfbbe39ab