[INFO] fetching crate shredder 0.2.0... [INFO] testing shredder-0.2.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate shredder 0.2.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate shredder 0.2.0 [INFO] finished tweaking crates.io crate shredder 0.2.0 [INFO] tweaked toml for crates.io crate shredder 0.2.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate shredder 0.2.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 70 packages to latest compatible versions [INFO] [stderr] Adding parking_lot v0.11.2 (available: v0.12.4) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rental v0.5.6 [INFO] [stderr] Downloaded dynqueue v0.3.0 [INFO] [stderr] Downloaded rental-impl v0.5.5 [INFO] [stderr] Downloaded shredder_derive v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecfb1652f35c6aa147692508ece885933596a139628de7c2f5536b8e9f5bbd73 [INFO] running `Command { std: "docker" "start" "-a" "ecfb1652f35c6aa147692508ece885933596a139628de7c2f5536b8e9f5bbd73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecfb1652f35c6aa147692508ece885933596a139628de7c2f5536b8e9f5bbd73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecfb1652f35c6aa147692508ece885933596a139628de7c2f5536b8e9f5bbd73", kill_on_drop: false }` [INFO] [stdout] ecfb1652f35c6aa147692508ece885933596a139628de7c2f5536b8e9f5bbd73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34e258d8fa3b82cc4fe88330b21cf8f7075464854292e8cb890ebc8b7e6fde7f [INFO] running `Command { std: "docker" "start" "-a" "34e258d8fa3b82cc4fe88330b21cf8f7075464854292e8cb890ebc8b7e6fde7f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling dynqueue v0.3.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling shredder_derive v0.2.0 [INFO] [stderr] Compiling rental v0.5.6 [INFO] [stderr] Compiling shredder v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 382 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/concurrency/chunked_ll.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | Box::from_raw(new_head); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 167 | let _ = Box::from_raw(new_head); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.02s [INFO] running `Command { std: "docker" "inspect" "34e258d8fa3b82cc4fe88330b21cf8f7075464854292e8cb890ebc8b7e6fde7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34e258d8fa3b82cc4fe88330b21cf8f7075464854292e8cb890ebc8b7e6fde7f", kill_on_drop: false }` [INFO] [stdout] 34e258d8fa3b82cc4fe88330b21cf8f7075464854292e8cb890ebc8b7e6fde7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79a06884f54fb505c508212a9bb70816f79bb9bd355e069a03c0b47c22f4f3ad [INFO] running `Command { std: "docker" "start" "-a" "79a06884f54fb505c508212a9bb70816f79bb9bd355e069a03c0b47c22f4f3ad", kill_on_drop: false }` [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling toml_writer v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling serde_spanned v1.0.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 382 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/concurrency/chunked_ll.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | Box::from_raw(new_head); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 167 | let _ = Box::from_raw(new_head); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling toml v0.9.7 [INFO] [stderr] Compiling trybuild v1.0.111 [INFO] [stderr] Compiling shredder v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `derive_trybuild` is never used [INFO] [stdout] --> tests/derive_macro.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn derive_trybuild() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/readme.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Scan` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_Scan_FOR_Node` [INFO] [stdout] 8 | struct Node { [INFO] [stdout] | ---- `Node` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/readme.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `GcSafe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcSafe_FOR_Node` [INFO] [stdout] 8 | struct Node { [INFO] [stdout] | ---- `Node` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/readme.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `GcDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcDrop_FOR_Node` [INFO] [stdout] 8 | struct Node { [INFO] [stdout] | ---- `Node` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/stress.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Scan` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_Scan_FOR_DirectedGraphNode` [INFO] [stdout] 10 | struct DirectedGraphNode { [INFO] [stdout] | ----------------- `DirectedGraphNode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/stress.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `GcSafe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcSafe_FOR_DirectedGraphNode` [INFO] [stdout] 10 | struct DirectedGraphNode { [INFO] [stdout] | ----------------- `DirectedGraphNode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/stress.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `GcDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcDrop_FOR_DirectedGraphNode` [INFO] [stdout] 10 | struct DirectedGraphNode { [INFO] [stdout] | ----------------- `DirectedGraphNode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/unsized.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Scan` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_Scan_FOR_TreeNode` [INFO] [stdout] 10 | struct TreeNode(Gc, Gc); [INFO] [stdout] | -------- `TreeNode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/unsized.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `GcSafe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcSafe_FOR_TreeNode` [INFO] [stdout] 10 | struct TreeNode(Gc, Gc); [INFO] [stdout] | -------- `TreeNode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/unsized.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `GcDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcDrop_FOR_TreeNode` [INFO] [stdout] 10 | struct TreeNode(Gc, Gc); [INFO] [stdout] | -------- `TreeNode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/unsized.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Scan` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_Scan_FOR_NumberNode` [INFO] [stdout] 42 | struct NumberNode(i64); [INFO] [stdout] | ---------- `NumberNode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/unsized.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `GcSafe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcSafe_FOR_NumberNode` [INFO] [stdout] 42 | struct NumberNode(i64); [INFO] [stdout] | ---------- `NumberNode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/unsized.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `GcDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcDrop_FOR_NumberNode` [INFO] [stdout] 42 | struct NumberNode(i64); [INFO] [stdout] | ---------- `NumberNode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/unsized.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Scan` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_Scan_FOR_StringNode` [INFO] [stdout] 55 | struct StringNode(String); [INFO] [stdout] | ---------- `StringNode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/unsized.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `GcSafe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcSafe_FOR_StringNode` [INFO] [stdout] 55 | struct StringNode(String); [INFO] [stdout] | ---------- `StringNode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/unsized.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `GcDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcDrop_FOR_StringNode` [INFO] [stdout] 55 | struct StringNode(String); [INFO] [stdout] | ---------- `StringNode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/downcast.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Scan` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_Scan_FOR_Sub` [INFO] [stdout] 9 | #[shredder(can_deref)] [INFO] [stdout] 10 | struct Sub; [INFO] [stdout] | --- `Sub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/downcast.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `GcSafe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcSafe_FOR_Sub` [INFO] [stdout] 9 | #[shredder(can_deref)] [INFO] [stdout] 10 | struct Sub; [INFO] [stdout] | --- `Sub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/downcast.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `GcDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcDrop_FOR_Sub` [INFO] [stdout] 9 | #[shredder(can_deref)] [INFO] [stdout] 10 | struct Sub; [INFO] [stdout] | --- `Sub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/downcast.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `GcDeref` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcDeref_FOR_Sub` [INFO] [stdout] 9 | #[shredder(can_deref)] [INFO] [stdout] 10 | struct Sub; [INFO] [stdout] | --- `Sub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/downcast.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Scan` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_Scan_FOR_NotSub` [INFO] [stdout] 15 | #[shredder(can_deref)] [INFO] [stdout] 16 | struct NotSub; [INFO] [stdout] | ------ `NotSub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/downcast.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `GcSafe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcSafe_FOR_NotSub` [INFO] [stdout] 15 | #[shredder(can_deref)] [INFO] [stdout] 16 | struct NotSub; [INFO] [stdout] | ------ `NotSub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/downcast.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `GcDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcDrop_FOR_NotSub` [INFO] [stdout] 15 | #[shredder(can_deref)] [INFO] [stdout] 16 | struct NotSub; [INFO] [stdout] | ------ `NotSub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/downcast.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `GcDeref` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcDeref_FOR_NotSub` [INFO] [stdout] 15 | #[shredder(can_deref)] [INFO] [stdout] 16 | struct NotSub; [INFO] [stdout] | ------ `NotSub` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/finalize.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Finalize, FinalizeFields)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Finalize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_Finalize_FOR_Test` [INFO] [stdout] 17 | struct Test { [INFO] [stdout] | ---- `Test` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Finalize` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/finalize.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Finalize, FinalizeFields)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `FinalizeFields` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_FinalizeFields_FOR_Test` [INFO] [stdout] 17 | struct Test { [INFO] [stdout] | ---- `Test` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FinalizeFields` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FinalizeFields` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FinalizeFields` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/integration.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Scan` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_Scan_FOR_DirectedGraphNode` [INFO] [stdout] 16 | struct DirectedGraphNode { [INFO] [stdout] | ----------------- `DirectedGraphNode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/integration.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `GcSafe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcSafe_FOR_DirectedGraphNode` [INFO] [stdout] 16 | struct DirectedGraphNode { [INFO] [stdout] | ----------------- `DirectedGraphNode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/integration.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `GcDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcDrop_FOR_DirectedGraphNode` [INFO] [stdout] 16 | struct DirectedGraphNode { [INFO] [stdout] | ----------------- `DirectedGraphNode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/integration.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Default, Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Scan` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_Scan_FOR_Connection` [INFO] [stdout] 121 | struct Connection { [INFO] [stdout] | ---------- `Connection` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/integration.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Default, Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `GcSafe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcSafe_FOR_Connection` [INFO] [stdout] 121 | struct Connection { [INFO] [stdout] | ---------- `Connection` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/integration.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(Debug, Default, Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `GcDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcDrop_FOR_Connection` [INFO] [stdout] 121 | struct Connection { [INFO] [stdout] | ---------- `Connection` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/integration.rs:163:10 [INFO] [stdout] | [INFO] [stdout] 163 | #[derive(Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Scan` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_Scan_FOR_Finalizable` [INFO] [stdout] 164 | #[shredder(cant_drop)] [INFO] [stdout] 165 | struct Finalizable<'a> { [INFO] [stdout] | ----------- `Finalizable` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/integration.rs:163:10 [INFO] [stdout] | [INFO] [stdout] 163 | #[derive(Scan)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `GcSafe` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcSafe_FOR_Finalizable` [INFO] [stdout] 164 | #[shredder(cant_drop)] [INFO] [stdout] 165 | struct Finalizable<'a> { [INFO] [stdout] | ----------- `Finalizable` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/deref_gc.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 302 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/smart_ptr/gc.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 382 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `do_stuff` is never used [INFO] [stdout] --> src/smart_ptr/gc.rs:531:16 [INFO] [stdout] | [INFO] [stdout] 530 | trait NoSize: Scan { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 531 | fn do_stuff(&self); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/concurrency/chunked_ll.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | Box::from_raw(new_head); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 167 | let _ = Box::from_raw(new_head); [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/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `isize` [INFO] [stdout] ... [INFO] [stdout] 69 | test_no_panic_finalize!(isize, 1); [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 `test_no_panic_finalize` (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] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [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/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] ... [INFO] [stdout] 70 | test_no_panic_finalize!(usize, 1); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (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] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [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/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i8` [INFO] [stdout] ... [INFO] [stdout] 72 | test_no_panic_finalize!(i8, 1); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (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] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [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/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u8` [INFO] [stdout] ... [INFO] [stdout] 73 | test_no_panic_finalize!(u8, 1); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (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] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [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/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i16` [INFO] [stdout] ... [INFO] [stdout] 75 | test_no_panic_finalize!(i16, 1); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (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] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [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/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u16` [INFO] [stdout] ... [INFO] [stdout] 76 | test_no_panic_finalize!(u16, 1); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (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] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [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/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] ... [INFO] [stdout] 78 | test_no_panic_finalize!(i32, 1); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (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] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [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/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u32` [INFO] [stdout] ... [INFO] [stdout] 79 | test_no_panic_finalize!(u32, 1); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (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] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [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/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i64` [INFO] [stdout] ... [INFO] [stdout] 81 | test_no_panic_finalize!(i64, 1); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (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] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [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/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u64` [INFO] [stdout] ... [INFO] [stdout] 82 | test_no_panic_finalize!(u64, 1); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (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] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [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/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i128` [INFO] [stdout] ... [INFO] [stdout] 84 | test_no_panic_finalize!(i128, 1); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (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] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [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/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u128` [INFO] [stdout] ... [INFO] [stdout] 85 | test_no_panic_finalize!(u128, 1); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (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] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [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/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `f32` [INFO] [stdout] ... [INFO] [stdout] 87 | test_no_panic_finalize!(f32, 1.0); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (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] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [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/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `f64` [INFO] [stdout] ... [INFO] [stdout] 88 | test_no_panic_finalize!(f64, 1.0); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (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] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [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/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Instant` [INFO] [stdout] ... [INFO] [stdout] 91 | test_no_panic_finalize!(Instant, Instant::now()); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (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] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.42s [INFO] running `Command { std: "docker" "inspect" "79a06884f54fb505c508212a9bb70816f79bb9bd355e069a03c0b47c22f4f3ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79a06884f54fb505c508212a9bb70816f79bb9bd355e069a03c0b47c22f4f3ad", kill_on_drop: false }` [INFO] [stdout] 79a06884f54fb505c508212a9bb70816f79bb9bd355e069a03c0b47c22f4f3ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d92862bd37fad1a654150ef11ca062eb662ce58410e43fbec1a99d27d964b1e7 [INFO] running `Command { std: "docker" "start" "-a" "d92862bd37fad1a654150ef11ca062eb662ce58410e43fbec1a99d27d964b1e7", kill_on_drop: false }` [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/smart_ptr/deref_gc.rs:197:5 [INFO] [stderr] | [INFO] [stderr] 197 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/smart_ptr/deref_gc.rs:234:5 [INFO] [stderr] | [INFO] [stderr] 234 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/smart_ptr/deref_gc.rs:245:5 [INFO] [stderr] | [INFO] [stderr] 245 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/smart_ptr/deref_gc.rs:250:5 [INFO] [stderr] | [INFO] [stderr] 250 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/smart_ptr/deref_gc.rs:260:5 [INFO] [stderr] | [INFO] [stderr] 260 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/smart_ptr/deref_gc.rs:265:5 [INFO] [stderr] | [INFO] [stderr] 265 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/smart_ptr/deref_gc.rs:270:5 [INFO] [stderr] | [INFO] [stderr] 270 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/smart_ptr/deref_gc.rs:275:5 [INFO] [stderr] | [INFO] [stderr] 275 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/smart_ptr/deref_gc.rs:280:5 [INFO] [stderr] | [INFO] [stderr] 280 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/smart_ptr/gc.rs:177:5 [INFO] [stderr] | [INFO] [stderr] 177 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/smart_ptr/gc.rs:243:5 [INFO] [stderr] | [INFO] [stderr] 243 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/smart_ptr/gc.rs:281:5 [INFO] [stderr] | [INFO] [stderr] 281 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/smart_ptr/gc.rs:295:5 [INFO] [stderr] | [INFO] [stderr] 295 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/smart_ptr/gc.rs:302:5 [INFO] [stderr] | [INFO] [stderr] 302 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/smart_ptr/gc.rs:314:5 [INFO] [stderr] | [INFO] [stderr] 314 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/smart_ptr/gc.rs:322:5 [INFO] [stderr] | [INFO] [stderr] 322 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/smart_ptr/gc.rs:330:5 [INFO] [stderr] | [INFO] [stderr] 330 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/smart_ptr/gc.rs:338:5 [INFO] [stderr] | [INFO] [stderr] 338 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/smart_ptr/gc.rs:346:5 [INFO] [stderr] | [INFO] [stderr] 346 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/smart_ptr/gc.rs:365:5 [INFO] [stderr] | [INFO] [stderr] 365 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/smart_ptr/gc.rs:375:5 [INFO] [stderr] | [INFO] [stderr] 375 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/smart_ptr/gc.rs:382:5 [INFO] [stderr] | [INFO] [stderr] 382 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> src/concurrency/chunked_ll.rs:167:17 [INFO] [stderr] | [INFO] [stderr] 167 | Box::from_raw(new_head); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 167 | let _ = Box::from_raw(new_head); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: method `do_stuff` is never used [INFO] [stderr] --> src/smart_ptr/gc.rs:531:16 [INFO] [stderr] | [INFO] [stderr] 530 | trait NoSize: Scan { [INFO] [stderr] | ------ method in this trait [INFO] [stderr] 531 | fn do_stuff(&self); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/std_impls/value_types.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | forget(v); [INFO] [stderr] | ^^^^^^^-^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `isize` [INFO] [stderr] ... [INFO] [stderr] 69 | test_no_panic_finalize!(isize, 1); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(forgetting_copy_types)]` on by default [INFO] [stderr] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 63 - forget(v); [INFO] [stderr] 63 + let _ = v; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/std_impls/value_types.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | forget(v); [INFO] [stderr] | ^^^^^^^-^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `usize` [INFO] [stderr] ... [INFO] [stderr] 70 | test_no_panic_finalize!(usize, 1); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 63 - forget(v); [INFO] [stderr] 63 + let _ = v; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/std_impls/value_types.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | forget(v); [INFO] [stderr] | ^^^^^^^-^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `i8` [INFO] [stderr] ... [INFO] [stderr] 72 | test_no_panic_finalize!(i8, 1); [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 63 - forget(v); [INFO] [stderr] 63 + let _ = v; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/std_impls/value_types.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | forget(v); [INFO] [stderr] | ^^^^^^^-^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `u8` [INFO] [stderr] ... [INFO] [stderr] 73 | test_no_panic_finalize!(u8, 1); [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 63 - forget(v); [INFO] [stderr] 63 + let _ = v; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/std_impls/value_types.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | forget(v); [INFO] [stderr] | ^^^^^^^-^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `i16` [INFO] [stderr] ... [INFO] [stderr] 75 | test_no_panic_finalize!(i16, 1); [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 63 - forget(v); [INFO] [stderr] 63 + let _ = v; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/std_impls/value_types.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | forget(v); [INFO] [stderr] | ^^^^^^^-^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `u16` [INFO] [stderr] ... [INFO] [stderr] 76 | test_no_panic_finalize!(u16, 1); [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 63 - forget(v); [INFO] [stderr] 63 + let _ = v; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/std_impls/value_types.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | forget(v); [INFO] [stderr] | ^^^^^^^-^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `i32` [INFO] [stderr] ... [INFO] [stderr] 78 | test_no_panic_finalize!(i32, 1); [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 63 - forget(v); [INFO] [stderr] 63 + let _ = v; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/std_impls/value_types.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | forget(v); [INFO] [stderr] | ^^^^^^^-^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `u32` [INFO] [stderr] ... [INFO] [stderr] 79 | test_no_panic_finalize!(u32, 1); [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 63 - forget(v); [INFO] [stderr] 63 + let _ = v; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/std_impls/value_types.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | forget(v); [INFO] [stderr] | ^^^^^^^-^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `i64` [INFO] [stderr] ... [INFO] [stderr] 81 | test_no_panic_finalize!(i64, 1); [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 63 - forget(v); [INFO] [stderr] 63 + let _ = v; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/std_impls/value_types.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | forget(v); [INFO] [stderr] | ^^^^^^^-^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `u64` [INFO] [stderr] ... [INFO] [stderr] 82 | test_no_panic_finalize!(u64, 1); [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 63 - forget(v); [INFO] [stderr] 63 + let _ = v; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/std_impls/value_types.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | forget(v); [INFO] [stderr] | ^^^^^^^-^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `i128` [INFO] [stderr] ... [INFO] [stderr] 84 | test_no_panic_finalize!(i128, 1); [INFO] [stderr] | -------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 63 - forget(v); [INFO] [stderr] 63 + let _ = v; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/std_impls/value_types.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | forget(v); [INFO] [stderr] | ^^^^^^^-^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `u128` [INFO] [stderr] ... [INFO] [stderr] 85 | test_no_panic_finalize!(u128, 1); [INFO] [stderr] | -------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 63 - forget(v); [INFO] [stderr] 63 + let _ = v; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/std_impls/value_types.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | forget(v); [INFO] [stderr] | ^^^^^^^-^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `f32` [INFO] [stderr] ... [INFO] [stderr] 87 | test_no_panic_finalize!(f32, 1.0); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 63 - forget(v); [INFO] [stderr] 63 + let _ = v; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/std_impls/value_types.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | forget(v); [INFO] [stderr] | ^^^^^^^-^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `f64` [INFO] [stderr] ... [INFO] [stderr] 88 | test_no_panic_finalize!(f64, 1.0); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 63 - forget(v); [INFO] [stderr] 63 + let _ = v; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/std_impls/value_types.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | forget(v); [INFO] [stderr] | ^^^^^^^-^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `Instant` [INFO] [stderr] ... [INFO] [stderr] 91 | test_no_panic_finalize!(Instant, Instant::now()); [INFO] [stderr] | ------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 63 - forget(v); [INFO] [stderr] 63 + let _ = v; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `shredder` (lib) generated 23 warnings (run `cargo fix --lib -p shredder` to apply 22 suggestions) [INFO] [stderr] warning: `shredder` (lib test) generated 39 warnings (23 duplicates) [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/downcast.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Scan` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_Scan_FOR_Sub` [INFO] [stderr] 9 | #[shredder(can_deref)] [INFO] [stderr] 10 | struct Sub; [INFO] [stderr] | --- `Sub` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/downcast.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `GcSafe` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcSafe_FOR_Sub` [INFO] [stderr] 9 | #[shredder(can_deref)] [INFO] [stderr] 10 | struct Sub; [INFO] [stderr] | --- `Sub` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/downcast.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `GcDrop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcDrop_FOR_Sub` [INFO] [stderr] 9 | #[shredder(can_deref)] [INFO] [stderr] 10 | struct Sub; [INFO] [stderr] | --- `Sub` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/downcast.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `GcDeref` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcDeref_FOR_Sub` [INFO] [stderr] 9 | #[shredder(can_deref)] [INFO] [stderr] 10 | struct Sub; [INFO] [stderr] | --- `Sub` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/downcast.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Scan` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_Scan_FOR_NotSub` [INFO] [stderr] 15 | #[shredder(can_deref)] [INFO] [stderr] 16 | struct NotSub; [INFO] [stderr] | ------ `NotSub` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/downcast.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `GcSafe` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcSafe_FOR_NotSub` [INFO] [stderr] 15 | #[shredder(can_deref)] [INFO] [stderr] 16 | struct NotSub; [INFO] [stderr] | ------ `NotSub` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/downcast.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `GcDrop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcDrop_FOR_NotSub` [INFO] [stderr] 15 | #[shredder(can_deref)] [INFO] [stderr] 16 | struct NotSub; [INFO] [stderr] | ------ `NotSub` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/downcast.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `GcDeref` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcDeref_FOR_NotSub` [INFO] [stderr] 15 | #[shredder(can_deref)] [INFO] [stderr] 16 | struct NotSub; [INFO] [stderr] | ------ `NotSub` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/integration.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug, Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Scan` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_Scan_FOR_DirectedGraphNode` [INFO] [stderr] 16 | struct DirectedGraphNode { [INFO] [stderr] | ----------------- `DirectedGraphNode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/integration.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug, Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `GcSafe` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcSafe_FOR_DirectedGraphNode` [INFO] [stderr] 16 | struct DirectedGraphNode { [INFO] [stderr] | ----------------- `DirectedGraphNode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/integration.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug, Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `GcDrop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcDrop_FOR_DirectedGraphNode` [INFO] [stderr] 16 | struct DirectedGraphNode { [INFO] [stderr] | ----------------- `DirectedGraphNode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/integration.rs:120:26 [INFO] [stderr] | [INFO] [stderr] 120 | #[derive(Debug, Default, Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Scan` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_Scan_FOR_Connection` [INFO] [stderr] 121 | struct Connection { [INFO] [stderr] | ---------- `Connection` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/integration.rs:120:26 [INFO] [stderr] | [INFO] [stderr] 120 | #[derive(Debug, Default, Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `GcSafe` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcSafe_FOR_Connection` [INFO] [stderr] 121 | struct Connection { [INFO] [stderr] | ---------- `Connection` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/integration.rs:120:26 [INFO] [stderr] | [INFO] [stderr] 120 | #[derive(Debug, Default, Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `GcDrop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcDrop_FOR_Connection` [INFO] [stderr] 121 | struct Connection { [INFO] [stderr] | ---------- `Connection` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/integration.rs:163:10 [INFO] [stderr] | [INFO] [stderr] 163 | #[derive(Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Scan` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_Scan_FOR_Finalizable` [INFO] [stderr] 164 | #[shredder(cant_drop)] [INFO] [stderr] 165 | struct Finalizable<'a> { [INFO] [stderr] | ----------- `Finalizable` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/integration.rs:163:10 [INFO] [stderr] | [INFO] [stderr] 163 | #[derive(Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `GcSafe` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcSafe_FOR_Finalizable` [INFO] [stderr] 164 | #[shredder(cant_drop)] [INFO] [stderr] 165 | struct Finalizable<'a> { [INFO] [stderr] | ----------- `Finalizable` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/unsized.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Scan` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_Scan_FOR_TreeNode` [INFO] [stderr] 10 | struct TreeNode(Gc, Gc); [INFO] [stderr] | -------- `TreeNode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/unsized.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `GcSafe` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcSafe_FOR_TreeNode` [INFO] [stderr] 10 | struct TreeNode(Gc, Gc); [INFO] [stderr] | -------- `TreeNode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/unsized.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `GcDrop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcDrop_FOR_TreeNode` [INFO] [stderr] 10 | struct TreeNode(Gc, Gc); [INFO] [stderr] | -------- `TreeNode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/unsized.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Scan` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_Scan_FOR_NumberNode` [INFO] [stderr] 42 | struct NumberNode(i64); [INFO] [stderr] | ---------- `NumberNode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/unsized.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `GcSafe` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcSafe_FOR_NumberNode` [INFO] [stderr] 42 | struct NumberNode(i64); [INFO] [stderr] | ---------- `NumberNode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/unsized.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `GcDrop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcDrop_FOR_NumberNode` [INFO] [stderr] 42 | struct NumberNode(i64); [INFO] [stderr] | ---------- `NumberNode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/unsized.rs:54:10 [INFO] [stderr] | [INFO] [stderr] 54 | #[derive(Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Scan` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_Scan_FOR_StringNode` [INFO] [stderr] 55 | struct StringNode(String); [INFO] [stderr] | ---------- `StringNode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/unsized.rs:54:10 [INFO] [stderr] | [INFO] [stderr] 54 | #[derive(Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `GcSafe` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcSafe_FOR_StringNode` [INFO] [stderr] 55 | struct StringNode(String); [INFO] [stderr] | ---------- `StringNode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/unsized.rs:54:10 [INFO] [stderr] | [INFO] [stderr] 54 | #[derive(Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `GcDrop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcDrop_FOR_StringNode` [INFO] [stderr] 55 | struct StringNode(String); [INFO] [stderr] | ---------- `StringNode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function `derive_trybuild` is never used [INFO] [stderr] --> tests/derive_macro.rs:2:4 [INFO] [stderr] | [INFO] [stderr] 2 | fn derive_trybuild() { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/finalize.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Finalize, FinalizeFields)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `Finalize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_Finalize_FOR_Test` [INFO] [stderr] 17 | struct Test { [INFO] [stderr] | ---- `Test` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Finalize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Finalize` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/finalize.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Finalize, FinalizeFields)] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `FinalizeFields` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_FinalizeFields_FOR_Test` [INFO] [stderr] 17 | struct Test { [INFO] [stderr] | ---- `Test` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FinalizeFields` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FinalizeFields` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FinalizeFields` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/readme.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Scan` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_Scan_FOR_Node` [INFO] [stderr] 8 | struct Node { [INFO] [stderr] | ---- `Node` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/readme.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `GcSafe` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcSafe_FOR_Node` [INFO] [stderr] 8 | struct Node { [INFO] [stderr] | ---- `Node` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/readme.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `GcDrop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcDrop_FOR_Node` [INFO] [stderr] 8 | struct Node { [INFO] [stderr] | ---- `Node` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/stress.rs:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Scan` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_Scan_FOR_DirectedGraphNode` [INFO] [stderr] 10 | struct DirectedGraphNode { [INFO] [stderr] | ----------------- `DirectedGraphNode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/stress.rs:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `GcSafe` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcSafe_FOR_DirectedGraphNode` [INFO] [stderr] 10 | struct DirectedGraphNode { [INFO] [stderr] | ----------------- `DirectedGraphNode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/stress.rs:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Scan)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `GcDrop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_shredder_marker_GcDrop_FOR_DirectedGraphNode` [INFO] [stderr] 10 | struct DirectedGraphNode { [INFO] [stderr] | ----------------- `DirectedGraphNode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Scan` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Scan` may come from an old version of the `shredder_derive` crate, try updating your dependency with `cargo update -p shredder_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `shredder` (test "downcast") generated 8 warnings [INFO] [stderr] warning: `shredder` (test "integration") generated 8 warnings [INFO] [stderr] warning: `shredder` (test "unsized") generated 9 warnings [INFO] [stderr] warning: `shredder` (test "derive_macro") generated 1 warning [INFO] [stderr] warning: `shredder` (test "finalize") generated 2 warnings [INFO] [stderr] warning: `shredder` (test "readme") generated 3 warnings [INFO] [stderr] warning: `shredder` (test "stress") generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/shredder-e49fee931980d31a) [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test concurrency::lockout::test::exclusive_warrant_works_by_itself ... ok [INFO] [stdout] test concurrency::lockout::test::warrant_prevents_exclusive_warrant ... ok [INFO] [stdout] test concurrency::lockout::test::multiple_warrants ... ok [INFO] [stdout] test smart_ptr::gc::test::dyn_gc_ptr ... ok [INFO] [stdout] test std_impls::test::cell_scans ... ok [INFO] [stdout] test std_impls::test::unpoisoned_mutex_scans ... ok [INFO] [stdout] test std_impls::test::unpoisoned_rwlock_scans ... ok [INFO] [stdout] test std_impls::value_types::test::finalize_no_panic_String ... ok [INFO] [stdout] test std_impls::value_types::test::finalize_no_panic_f32 ... ok [INFO] [stdout] test std_impls::value_types::test::finalize_no_panic_Instant ... ok [INFO] [stdout] test std_impls::test::vec_scans_correctly ... ok [INFO] [stdout] test std_impls::value_types::test::finalize_no_panic_i128 ... ok [INFO] [stdout] test std_impls::value_types::test::finalize_no_panic_i32 ... ok [INFO] [stdout] test std_impls::value_types::test::finalize_no_panic_i16 ... ok [INFO] [stdout] test std_impls::value_types::test::finalize_no_panic_i64 ... ok [INFO] [stdout] test std_impls::value_types::test::finalize_no_panic_i8 ... ok [INFO] [stdout] test std_impls::value_types::test::finalize_no_panic_isize ... ok [INFO] [stdout] test std_impls::value_types::test::finalize_no_panic_u128 ... ok [INFO] [stdout] test std_impls::value_types::test::finalize_no_panic_u16 ... ok [INFO] [stdout] test std_impls::value_types::test::finalize_no_panic_u32 ... ok [INFO] [stdout] test std_impls::value_types::test::finalize_no_panic_u64 ... ok [INFO] [stdout] test std_impls::value_types::test::finalize_no_panic_u8 ... ok [INFO] [stdout] test std_impls::value_types::test::finalize_no_panic_usize ... ok [INFO] [stdout] test std_impls::value_types::test::finalize_no_panic_f64 ... ok [INFO] [stdout] test std_impls::test::poisoned_mutex_scans ... ok [INFO] [stdout] test std_impls::test::poisoned_rwlock_scans ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/coerce.rs (/opt/rustwide/target/debug/deps/coerce-451fe045742a87ab) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/derive_macro.rs (/opt/rustwide/target/debug/deps/derive_macro-fdf779cdad3eab3e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/downcast.rs (/opt/rustwide/target/debug/deps/downcast-058add2ab874f91b) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test cant_downcast_deref_gc_not_sub_test ... ok [INFO] [stdout] test can_downcast_deref_gc_sub_test ... ok [INFO] [stdout] test can_downcast_sub_test ... ok [INFO] [stdout] test cant_downcast_not_sub_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/finalize.rs (/opt/rustwide/target/debug/deps/finalize-9bf77a8802358a58) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test finalize_fields_derive_works ... ok [INFO] [stderr] Running tests/integration.rs (/opt/rustwide/target/debug/deps/integration-53d95d216ac47cdf) [INFO] [stdout] test finalize_derive_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test alloc_u32_gc ... ok [INFO] [stdout] test alloc_directed_graph_node_gc ... ok [INFO] [stdout] test atomic_compare_and_exchange_test ... ok [INFO] [stdout] test atomic_compare_and_swap_test ... ok [INFO] [stdout] test atomic_cycle ... ok [INFO] [stdout] test drop_run ... ok [INFO] [stdout] test no_drop_functional ... ok [INFO] [stdout] test clone_directed_graph_node_gc ... ok [INFO] [stdout] test clone_directed_graph_chain_gc ... ok [INFO] [stdout] test scan_skip_problem ... ok [INFO] [stdout] test finalizers_run ... ok [INFO] [stdout] test simple_atomic_cleanup ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/readme.rs (/opt/rustwide/target/debug/deps/readme-e3da33f1142310db) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test _main ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/stress.rs (/opt/rustwide/target/debug/deps/stress-ba05dc5295c09b5d) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test stress_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 34.43s [INFO] [stdout] [INFO] [stderr] Running tests/unsized.rs (/opt/rustwide/target/debug/deps/unsized-6b7a183ddc65012a) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test from_box ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests shredder [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test src/lib.rs - Finalize (line 285) ... ok [INFO] [stdout] test src/marker/gc_drop.rs - marker::gc_drop::GcDrop (line 26) ... ok [INFO] [stdout] test src/lib.rs - Scan (line 256) ... ok [INFO] [stdout] test src/scan.rs - scan::Scan (line 28) ... ok [INFO] [stdout] test src/lib.rs - set_gc_trigger_percent (line 135) ... ok [INFO] [stdout] test src/scan.rs - scan::Scan (line 51) ... ok [INFO] [stdout] test src/lib.rs - number_of_active_handles (line 113) ... ok [INFO] [stdout] test src/lib.rs - Scan (line 234) ... ok [INFO] [stdout] test src/lib.rs - run_with_gc_cleanup (line 191) ... ok [INFO] [stdout] test src/lib.rs - synchronize_destructors (line 172) ... ok [INFO] [stdout] test src/scan.rs - scan::Scan (line 39) ... ok [INFO] [stdout] test src/lib.rs - Finalize (line 274) ... ok [INFO] [stdout] test src/marker/gc_drop.rs - marker::gc_drop::GcDrop (line 14) ... ok [INFO] [stdout] test src/lib.rs - Scan (line 222) ... ok [INFO] [stdout] test src/lib.rs - collect (line 158) ... ok [INFO] [stdout] test src/lib.rs - number_of_tracked_allocations (line 99) ... ok [INFO] [stdout] test src/marker/gc_deref.rs - marker::gc_deref::GcDeref (line 12) ... ok [INFO] [stdout] test src/scan.rs - scan::Scan (line 71) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.46s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d92862bd37fad1a654150ef11ca062eb662ce58410e43fbec1a99d27d964b1e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d92862bd37fad1a654150ef11ca062eb662ce58410e43fbec1a99d27d964b1e7", kill_on_drop: false }` [INFO] [stdout] d92862bd37fad1a654150ef11ca062eb662ce58410e43fbec1a99d27d964b1e7