[INFO] fetching crate unconst 0.13.0... [INFO] testing unconst-0.13.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate unconst 0.13.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate unconst 0.13.0 [INFO] finished tweaking crates.io crate unconst 0.13.0 [INFO] tweaked toml for crates.io crate unconst 0.13.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate unconst 0.13.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate unconst 0.13.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 546f9e4509899c6c55e30f099fdf263fea0ee1ee55f026a6588624e3dab8ae67 [INFO] running `Command { std: "docker" "start" "-a" "546f9e4509899c6c55e30f099fdf263fea0ee1ee55f026a6588624e3dab8ae67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "546f9e4509899c6c55e30f099fdf263fea0ee1ee55f026a6588624e3dab8ae67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "546f9e4509899c6c55e30f099fdf263fea0ee1ee55f026a6588624e3dab8ae67", kill_on_drop: false }` [INFO] [stdout] 546f9e4509899c6c55e30f099fdf263fea0ee1ee55f026a6588624e3dab8ae67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0735f34128f73fd89e3a21220adf7994d5a29364f903178f5fba8e8b133e8a4 [INFO] running `Command { std: "docker" "start" "-a" "f0735f34128f73fd89e3a21220adf7994d5a29364f903178f5fba8e8b133e8a4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling unconst v0.13.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/unconst/impl_const.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 203 | fn fmt(&self, formatter: &mut core::fmt::Formatter) -> core::fmt::Result { [INFO] [stdout] | ------------------------------------------------------------------------ move the `impl` block outside of this method `fmt` [INFO] [stdout] 204 | impl ItemImplConst { [INFO] [stdout] | ^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | `ItemImplConst` is not local [INFO] [stdout] | [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.87s [INFO] running `Command { std: "docker" "inspect" "f0735f34128f73fd89e3a21220adf7994d5a29364f903178f5fba8e8b133e8a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0735f34128f73fd89e3a21220adf7994d5a29364f903178f5fba8e8b133e8a4", kill_on_drop: false }` [INFO] [stdout] f0735f34128f73fd89e3a21220adf7994d5a29364f903178f5fba8e8b133e8a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00c7017ecfcf2103ded0b780df74a55536f83cedcd81636b4f40b3ef93cabe5c [INFO] running `Command { std: "docker" "start" "-a" "00c7017ecfcf2103ded0b780df74a55536f83cedcd81636b4f40b3ef93cabe5c", kill_on_drop: false }` [INFO] [stderr] Compiling unconst v0.13.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/unconst/impl_const.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 203 | fn fmt(&self, formatter: &mut core::fmt::Formatter) -> core::fmt::Result { [INFO] [stdout] | ------------------------------------------------------------------------ move the `impl` block outside of this method `fmt` [INFO] [stdout] 204 | impl ItemImplConst { [INFO] [stdout] | ^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | `ItemImplConst` is not local [INFO] [stdout] | [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: `#[warn(non_local_definitions)]` 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] --> src/unconst/impl_const.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 203 | fn fmt(&self, formatter: &mut core::fmt::Formatter) -> core::fmt::Result { [INFO] [stdout] | ------------------------------------------------------------------------ move the `impl` block outside of this method `fmt` [INFO] [stdout] 204 | impl ItemImplConst { [INFO] [stdout] | ^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | `ItemImplConst` is not local [INFO] [stdout] | [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `Command { std: "docker" "inspect" "00c7017ecfcf2103ded0b780df74a55536f83cedcd81636b4f40b3ef93cabe5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00c7017ecfcf2103ded0b780df74a55536f83cedcd81636b4f40b3ef93cabe5c", kill_on_drop: false }` [INFO] [stdout] 00c7017ecfcf2103ded0b780df74a55536f83cedcd81636b4f40b3ef93cabe5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c7b4b22e7d30a9ab8bb7b44efb1a15a3ce998dbf704e407aac2eaa167400719d [INFO] running `Command { std: "docker" "start" "-a" "c7b4b22e7d30a9ab8bb7b44efb1a15a3ce998dbf704e407aac2eaa167400719d", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/unconst/impl_const.rs:204:9 [INFO] [stderr] | [INFO] [stderr] 203 | fn fmt(&self, formatter: &mut core::fmt::Formatter) -> core::fmt::Result { [INFO] [stderr] | ------------------------------------------------------------------------ move the `impl` block outside of this method `fmt` [INFO] [stderr] 204 | impl ItemImplConst { [INFO] [stderr] | ^^^^^------------- [INFO] [stderr] | | [INFO] [stderr] | `ItemImplConst` is not local [INFO] [stderr] | [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: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `unconst` (lib) generated 1 warning [INFO] [stderr] warning: `unconst` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/unconst-2c7958e98439f700) [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] Doc-tests unconst [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] running `Command { std: "docker" "inspect" "c7b4b22e7d30a9ab8bb7b44efb1a15a3ce998dbf704e407aac2eaa167400719d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7b4b22e7d30a9ab8bb7b44efb1a15a3ce998dbf704e407aac2eaa167400719d", kill_on_drop: false }` [INFO] [stdout] c7b4b22e7d30a9ab8bb7b44efb1a15a3ce998dbf704e407aac2eaa167400719d