[INFO] fetching crate debug2 0.1.1... [INFO] testing debug2-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate debug2 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate debug2 0.1.1 [INFO] finished tweaking crates.io crate debug2 0.1.1 [INFO] tweaked toml for crates.io crate debug2 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate debug2 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 23 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded debug2-derive v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9727ec18c88237a1a5d2cb65e3be1b1e9a9765179a1759552c2ea99437b5608b [INFO] running `Command { std: "docker" "start" "-a" "9727ec18c88237a1a5d2cb65e3be1b1e9a9765179a1759552c2ea99437b5608b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9727ec18c88237a1a5d2cb65e3be1b1e9a9765179a1759552c2ea99437b5608b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9727ec18c88237a1a5d2cb65e3be1b1e9a9765179a1759552c2ea99437b5608b", kill_on_drop: false }` [INFO] [stdout] 9727ec18c88237a1a5d2cb65e3be1b1e9a9765179a1759552c2ea99437b5608b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9f4c10055ff5d40aed4a007660c90cef3001f8e403a13aaca5ebd095a1bcbc22 [INFO] running `Command { std: "docker" "start" "-a" "9f4c10055ff5d40aed4a007660c90cef3001f8e403a13aaca5ebd095a1bcbc22", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling debug2-derive v0.1.1 [INFO] [stderr] Compiling debug2 v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Formatted` is never constructed [INFO] [stdout] --> src/builders.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Formatted(String); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.54s [INFO] running `Command { std: "docker" "inspect" "9f4c10055ff5d40aed4a007660c90cef3001f8e403a13aaca5ebd095a1bcbc22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f4c10055ff5d40aed4a007660c90cef3001f8e403a13aaca5ebd095a1bcbc22", kill_on_drop: false }` [INFO] [stdout] 9f4c10055ff5d40aed4a007660c90cef3001f8e403a13aaca5ebd095a1bcbc22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ea6341196df379a82fcc027ea841f67a61e8626e7e2bbbf29b39d7f60d436d3a [INFO] running `Command { std: "docker" "start" "-a" "ea6341196df379a82fcc027ea841f67a61e8626e7e2bbbf29b39d7f60d436d3a", kill_on_drop: false }` [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stdout] warning: struct `Formatted` is never constructed [INFO] [stdout] --> src/builders.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Formatted(String); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling insta v1.43.1 [INFO] [stderr] Compiling debug2 v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/motivating.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug2_Debug_FOR_Instr` [INFO] [stdout] 29 | enum Instr { [INFO] [stdout] | ----- `Instr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug2_derive` crate, try updating your dependency with `cargo update -p debug2_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 `Debug` (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/motivating.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug2_Debug_FOR_BinOp` [INFO] [stdout] 36 | enum BinOp { [INFO] [stdout] | ----- `BinOp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug2_derive` crate, try updating your dependency with `cargo update -p debug2_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 `Debug` (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/motivating.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug2_Debug_FOR_UnOp` [INFO] [stdout] 44 | enum UnOp { [INFO] [stdout] | ---- `UnOp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Debug` may come from an old version of the `debug2_derive` crate, try updating your dependency with `cargo update -p debug2_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 `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Wrapper` is never constructed [INFO] [stdout] --> tests/derived.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Wrapper(T); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/derived.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(debug2::Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug2_Debug_FOR_X` [INFO] [stdout] 11 | struct X { [INFO] [stdout] | - `X` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `debug2::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `debug2::Debug` may come from an old version of the `debug2_derive` crate, try updating your dependency with `cargo update -p debug2_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 `debug2::Debug` (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/derived.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(debug2::Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Debug` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_debug2_Debug_FOR_Wrapper` [INFO] [stdout] 17 | struct Wrapper(T); [INFO] [stdout] | ------- `Wrapper` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `debug2::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `debug2::Debug` may come from an old version of the `debug2_derive` crate, try updating your dependency with `cargo update -p debug2_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 `debug2::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bar` is never constructed [INFO] [stdout] --> tests/builders.rs:199:16 [INFO] [stdout] | [INFO] [stdout] 199 | struct Bar; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bar` is never constructed [INFO] [stdout] --> tests/builders.rs:517:16 [INFO] [stdout] | [INFO] [stdout] 517 | struct Bar; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Formatted` is never constructed [INFO] [stdout] --> src/builders.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Formatted(String); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.52s [INFO] running `Command { std: "docker" "inspect" "ea6341196df379a82fcc027ea841f67a61e8626e7e2bbbf29b39d7f60d436d3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea6341196df379a82fcc027ea841f67a61e8626e7e2bbbf29b39d7f60d436d3a", kill_on_drop: false }` [INFO] [stdout] ea6341196df379a82fcc027ea841f67a61e8626e7e2bbbf29b39d7f60d436d3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2b954b25f075508d45761c1b1e6b23ff661c244853d77f1e32d6b1fab71e3e82 [INFO] running `Command { std: "docker" "start" "-a" "2b954b25f075508d45761c1b1e6b23ff661c244853d77f1e32d6b1fab71e3e82", kill_on_drop: false }` [INFO] [stderr] warning: struct `Formatted` is never constructed [INFO] [stderr] --> src/builders.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | struct Formatted(String); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `debug2` (lib) generated 1 warning [INFO] [stderr] warning: `debug2` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: struct `Bar` is never constructed [INFO] [stderr] --> tests/builders.rs:199:16 [INFO] [stderr] | [INFO] [stderr] 199 | struct Bar; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Bar` is never constructed [INFO] [stderr] --> tests/builders.rs:517:16 [INFO] [stderr] | [INFO] [stderr] 517 | struct Bar; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Wrapper` is never constructed [INFO] [stderr] --> tests/derived.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | struct Wrapper(T); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/derived.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(debug2::Debug)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug2_Debug_FOR_X` [INFO] [stderr] 11 | struct X { [INFO] [stderr] | - `X` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `debug2::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `debug2::Debug` may come from an old version of the `debug2_derive` crate, try updating your dependency with `cargo update -p debug2_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `debug2::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/derived.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(debug2::Debug)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug2_Debug_FOR_Wrapper` [INFO] [stderr] 17 | struct Wrapper(T); [INFO] [stderr] | ------- `Wrapper` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `debug2::Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `debug2::Debug` may come from an old version of the `debug2_derive` crate, try updating your dependency with `cargo update -p debug2_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `debug2::Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/motivating.rs:28:10 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug2_Debug_FOR_Instr` [INFO] [stderr] 29 | enum Instr { [INFO] [stderr] | ----- `Instr` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug2_derive` crate, try updating your dependency with `cargo update -p debug2_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/motivating.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug2_Debug_FOR_BinOp` [INFO] [stderr] 36 | enum BinOp { [INFO] [stderr] | ----- `BinOp` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug2_derive` crate, try updating your dependency with `cargo update -p debug2_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/motivating.rs:43:10 [INFO] [stderr] | [INFO] [stderr] 43 | #[derive(Debug)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Debug` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_debug2_Debug_FOR_UnOp` [INFO] [stderr] 44 | enum UnOp { [INFO] [stderr] | ---- `UnOp` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Debug` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Debug` may come from an old version of the `debug2_derive` crate, try updating your dependency with `cargo update -p debug2_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `debug2` (test "builders") generated 2 warnings [INFO] [stderr] warning: `debug2` (test "derived") generated 3 warnings [INFO] [stderr] warning: `debug2` (test "motivating") generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/debug2-fd7ef13e065f3a00) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/builders.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/builders-5f6b023dc8c75d58) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test debug_map::test_entry_err ... ok [INFO] [stdout] test debug_map::test_invalid_key_when_entry_is_incomplete - should panic ... ok [INFO] [stdout] test debug_list::test_empty ... ok [INFO] [stdout] test debug_list::test_nested ... ok [INFO] [stdout] test debug_map::test_invalid_value_before_key - should panic ... ok [INFO] [stdout] test debug_list::test_multiple ... ok [INFO] [stdout] test debug_map::test_multiple ... ok [INFO] [stdout] test debug_map::test_empty ... ok [INFO] [stdout] test debug_map::test_nested ... ok [INFO] [stdout] test debug_map::test_invalid_finish_incomplete_entry - should panic ... ok [INFO] [stdout] test debug_list::test_single ... ok [INFO] [stdout] test debug_set::test_multiple ... ok [INFO] [stdout] test debug_set::test_single ... ok [INFO] [stdout] test debug_set::test_empty ... ok [INFO] [stdout] test debug_struct::test_multiple ... ok [INFO] [stdout] test debug_struct::test_empty ... ok [INFO] [stdout] test debug_struct::test_multiple_and_non_exhaustive ... ok [INFO] [stdout] test debug_struct::test_only_non_exhaustive ... ok [INFO] [stdout] test debug_tuple::test_empty ... ok [INFO] [stdout] test debug_tuple::test_nested ... ok [INFO] [stdout] test debug_struct::test_nested_non_exhaustive ... ok [INFO] [stdout] test debug_tuple::test_single ... ok [INFO] [stdout] test debug_tuple::test_multiple ... ok [INFO] [stdout] test debug_set::test_nested ... ok [INFO] [stdout] test debug_struct::test_single ... ok [INFO] [stdout] test debug_map::test_single ... ok [INFO] [stdout] test debug_struct::test_nested ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] Running tests/derived.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/derived-4bbfd839d418fc27) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test simple ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/motivating.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/motivating-3f8e4ccc32fee7f5) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test complex ... ok [INFO] [stdout] test quadratic_form ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Running tests/refcell.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/refcell-1c47bf128b58c46a) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_refcell ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2b954b25f075508d45761c1b1e6b23ff661c244853d77f1e32d6b1fab71e3e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b954b25f075508d45761c1b1e6b23ff661c244853d77f1e32d6b1fab71e3e82", kill_on_drop: false }` [INFO] [stdout] 2b954b25f075508d45761c1b1e6b23ff661c244853d77f1e32d6b1fab71e3e82