[INFO] fetching crate shredder 0.2.0... [INFO] building shredder-0.2.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate shredder 0.2.0 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate shredder 0.2.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rental v0.5.6 [INFO] [stderr] Downloaded rental-impl v0.5.5 [INFO] [stderr] Downloaded dynqueue v0.3.0 [INFO] [stderr] Downloaded shredder_derive v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e80bb4ba04371e8c32b86ec5207e6a6121fe6944714ee670ffd2e648c27a80ad [INFO] running `Command { std: "docker" "start" "-a" "e80bb4ba04371e8c32b86ec5207e6a6121fe6944714ee670ffd2e648c27a80ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e80bb4ba04371e8c32b86ec5207e6a6121fe6944714ee670ffd2e648c27a80ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e80bb4ba04371e8c32b86ec5207e6a6121fe6944714ee670ffd2e648c27a80ad", kill_on_drop: false }` [INFO] [stdout] e80bb4ba04371e8c32b86ec5207e6a6121fe6944714ee670ffd2e648c27a80ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afc2b5e57313aba39121a50139931c3eda3365247fdf35ecfef5fdae05e3e115 [INFO] running `Command { std: "docker" "start" "-a" "afc2b5e57313aba39121a50139931c3eda3365247fdf35ecfef5fdae05e3e115", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling shredder_derive v0.2.0 [INFO] [stderr] Compiling dynqueue v0.3.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [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 6.74s [INFO] running `Command { std: "docker" "inspect" "afc2b5e57313aba39121a50139931c3eda3365247fdf35ecfef5fdae05e3e115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afc2b5e57313aba39121a50139931c3eda3365247fdf35ecfef5fdae05e3e115", kill_on_drop: false }` [INFO] [stdout] afc2b5e57313aba39121a50139931c3eda3365247fdf35ecfef5fdae05e3e115 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 892446a07d76effde048cf4f318ca23d77054401d99cd851f073fed9789069b1 [INFO] running `Command { std: "docker" "start" "-a" "892446a07d76effde048cf4f318ca23d77054401d99cd851f073fed9789069b1", kill_on_drop: false }` [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling toml_writer v1.0.3 [INFO] [stderr] Compiling serde_spanned v1.0.2 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling serde v1.0.228 [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 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/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/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/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: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/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/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 5.93s [INFO] running `Command { std: "docker" "inspect" "892446a07d76effde048cf4f318ca23d77054401d99cd851f073fed9789069b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "892446a07d76effde048cf4f318ca23d77054401d99cd851f073fed9789069b1", kill_on_drop: false }` [INFO] [stdout] 892446a07d76effde048cf4f318ca23d77054401d99cd851f073fed9789069b1