[INFO] fetching crate maybe-dangling 0.1.1... [INFO] testing maybe-dangling-0.1.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate maybe-dangling 0.1.1 into /workspace/builds/worker-5-tc2/source [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate maybe-dangling 0.1.1 [INFO] finished tweaking crates.io crate maybe-dangling 0.1.1 [INFO] tweaked toml for crates.io crate maybe-dangling 0.1.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate maybe-dangling 0.1.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 321b688645ab7e42def77e55f74df9a03afcc370d659271761e13b4955bc32b6 [INFO] running `Command { std: "docker" "start" "-a" "321b688645ab7e42def77e55f74df9a03afcc370d659271761e13b4955bc32b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "321b688645ab7e42def77e55f74df9a03afcc370d659271761e13b4955bc32b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "321b688645ab7e42def77e55f74df9a03afcc370d659271761e13b4955bc32b6", kill_on_drop: false }` [INFO] [stdout] 321b688645ab7e42def77e55f74df9a03afcc370d659271761e13b4955bc32b6 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 318e7efdf990701f98042bdda4cb777c58216404a5faf01087e7764edc6011a3 [INFO] running `Command { std: "docker" "start" "-a" "318e7efdf990701f98042bdda4cb777c58216404a5faf01087e7764edc6011a3", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-dangling 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] --> src/maybe_dangling.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 321 | fn deref_mut(&mut self) -> &mut T { [INFO] [stdout] | --------------------------------- move the `impl` block outside of this method `deref_mut` [INFO] [stdout] 322 | impl ::core::ops::Deref for MaybeDangling { [INFO] [stdout] | ^^^^^^^^------------------^^^^^-------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `MaybeDangling` is not local [INFO] [stdout] | `Deref` 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 0.15s [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/manually_drop.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 109 | fn deref_mut(&mut self) -> &mut T { [INFO] [stdout] | --------------------------------- move the `impl` block outside of this method `deref_mut` [INFO] [stdout] 110 | impl Deref for ManuallyDrop { [INFO] [stdout] | ^^^^^^^^-----^^^^^------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `ManuallyDrop` is not local [INFO] [stdout] | `Deref` 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] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "318e7efdf990701f98042bdda4cb777c58216404a5faf01087e7764edc6011a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "318e7efdf990701f98042bdda4cb777c58216404a5faf01087e7764edc6011a3", kill_on_drop: false }` [INFO] [stdout] 318e7efdf990701f98042bdda4cb777c58216404a5faf01087e7764edc6011a3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0acb3b010c2e005d4cdc840c45f729cb21720cec469b943128d5c9aa0ce7687d [INFO] running `Command { std: "docker" "start" "-a" "0acb3b010c2e005d4cdc840c45f729cb21720cec469b943128d5c9aa0ce7687d", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-dangling 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] --> src/maybe_dangling.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 321 | fn deref_mut(&mut self) -> &mut T { [INFO] [stdout] | --------------------------------- move the `impl` block outside of this method `deref_mut` [INFO] [stdout] 322 | impl ::core::ops::Deref for MaybeDangling { [INFO] [stdout] | ^^^^^^^^------------------^^^^^-------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `MaybeDangling` is not local [INFO] [stdout] | `Deref` 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/manually_drop.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 109 | fn deref_mut(&mut self) -> &mut T { [INFO] [stdout] | --------------------------------- move the `impl` block outside of this method `deref_mut` [INFO] [stdout] 110 | impl Deref for ManuallyDrop { [INFO] [stdout] | ^^^^^^^^-----^^^^^------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `ManuallyDrop` is not local [INFO] [stdout] | `Deref` 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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/maybe_dangling.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 321 | fn deref_mut(&mut self) -> &mut T { [INFO] [stdout] | --------------------------------- move the `impl` block outside of this method `deref_mut` [INFO] [stdout] 322 | impl ::core::ops::Deref for MaybeDangling { [INFO] [stdout] | ^^^^^^^^------------------^^^^^-------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `MaybeDangling` is not local [INFO] [stdout] | `Deref` 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/manually_drop.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 109 | fn deref_mut(&mut self) -> &mut T { [INFO] [stdout] | --------------------------------- move the `impl` block outside of this method `deref_mut` [INFO] [stdout] 110 | impl Deref for ManuallyDrop { [INFO] [stdout] | ^^^^^^^^-----^^^^^------------^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `ManuallyDrop` is not local [INFO] [stdout] | `Deref` 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] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "0acb3b010c2e005d4cdc840c45f729cb21720cec469b943128d5c9aa0ce7687d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0acb3b010c2e005d4cdc840c45f729cb21720cec469b943128d5c9aa0ce7687d", kill_on_drop: false }` [INFO] [stdout] 0acb3b010c2e005d4cdc840c45f729cb21720cec469b943128d5c9aa0ce7687d [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 725383fc6fde877c229dd579a641c79a8411faa74f67ff01efb19dc3281eeb3a [INFO] running `Command { std: "docker" "start" "-a" "725383fc6fde877c229dd579a641c79a8411faa74f67ff01efb19dc3281eeb3a", 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/maybe_dangling.rs:322:9 [INFO] [stderr] | [INFO] [stderr] 321 | fn deref_mut(&mut self) -> &mut T { [INFO] [stderr] | --------------------------------- move the `impl` block outside of this method `deref_mut` [INFO] [stderr] 322 | impl ::core::ops::Deref for MaybeDangling { [INFO] [stderr] | ^^^^^^^^------------------^^^^^-------------^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `MaybeDangling` is not local [INFO] [stderr] | `Deref` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/manually_drop.rs:110:9 [INFO] [stderr] | [INFO] [stderr] 109 | fn deref_mut(&mut self) -> &mut T { [INFO] [stderr] | --------------------------------- move the `impl` block outside of this method `deref_mut` [INFO] [stderr] 110 | impl Deref for ManuallyDrop { [INFO] [stderr] | ^^^^^^^^-----^^^^^------------^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `ManuallyDrop` is not local [INFO] [stderr] | `Deref` 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] [INFO] [stderr] warning: `maybe-dangling` (lib) generated 2 warnings [INFO] [stderr] warning: `maybe-dangling` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/maybe_dangling-187d64ba7337f651) [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 maybe_dangling [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/maybe_dangling.rs - maybe_dangling::MaybeDangling (line 199) - compile fail ... ok [INFO] [stdout] test src/maybe_dangling.rs - maybe_dangling::MaybeDangling (line 221) ... ok [INFO] [stdout] test src/maybe_dangling.rs - maybe_dangling::MaybeDangling (line 172) - compile fail ... ok [INFO] [stdout] test src/maybe_dangling.rs - maybe_dangling::MaybeDangling (line 131) ... ok [INFO] [stdout] test src/maybe_dangling.rs - maybe_dangling::MaybeDangling (line 151) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "725383fc6fde877c229dd579a641c79a8411faa74f67ff01efb19dc3281eeb3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "725383fc6fde877c229dd579a641c79a8411faa74f67ff01efb19dc3281eeb3a", kill_on_drop: false }` [INFO] [stdout] 725383fc6fde877c229dd579a641c79a8411faa74f67ff01efb19dc3281eeb3a