[INFO] fetching crate cly-impl 0.1.1... [INFO] testing cly-impl-0.1.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate cly-impl 0.1.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate cly-impl 0.1.1 [INFO] finished tweaking crates.io crate cly-impl 0.1.1 [INFO] tweaked toml for crates.io crate cly-impl 0.1.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cly-impl 0.1.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] [stderr] Adding isnt v0.1.0 (available: v0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded repc-impl v0.1.1 [INFO] [stderr] Downloaded isnt v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9fa982dc2302fd371a244e1d6e2f2ecb273462aed0e57d034716db66223bf03d [INFO] running `Command { std: "docker" "start" "-a" "9fa982dc2302fd371a244e1d6e2f2ecb273462aed0e57d034716db66223bf03d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fa982dc2302fd371a244e1d6e2f2ecb273462aed0e57d034716db66223bf03d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fa982dc2302fd371a244e1d6e2f2ecb273462aed0e57d034716db66223bf03d", kill_on_drop: false }` [INFO] [stdout] 9fa982dc2302fd371a244e1d6e2f2ecb273462aed0e57d034716db66223bf03d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc386037b895f6692ae3fc3b842195c47bdd4cb1194f042a115ebaf84f9e75ad [INFO] running `Command { std: "docker" "start" "-a" "cc386037b895f6692ae3fc3b842195c47bdd4cb1194f042a115ebaf84f9e75ad", kill_on_drop: false }` [INFO] [stderr] Compiling repc-impl v0.1.1 [INFO] [stderr] Compiling cly-impl 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/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | fn to_line_column(input: &str, pos: usize) -> LC { [INFO] [stdout] | ------------------------------------------------ move the `impl` block outside of this function `to_line_column` [INFO] [stdout] 30 | impl Display for LC { [INFO] [stdout] | ^^^^^-------^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | `LC` is not local [INFO] [stdout] | `Display` 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/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | fn to_span(input: &str, span: Span) -> S { [INFO] [stdout] | ---------------------------------------- move the `impl` block outside of this function `to_span` [INFO] [stdout] 52 | impl Display for S { [INFO] [stdout] | ^^^^^-------^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | `S` is not local [INFO] [stdout] | `Display` 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 `dev` profile [unoptimized + debuginfo] target(s) in 1.87s [INFO] running `Command { std: "docker" "inspect" "cc386037b895f6692ae3fc3b842195c47bdd4cb1194f042a115ebaf84f9e75ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc386037b895f6692ae3fc3b842195c47bdd4cb1194f042a115ebaf84f9e75ad", kill_on_drop: false }` [INFO] [stdout] cc386037b895f6692ae3fc3b842195c47bdd4cb1194f042a115ebaf84f9e75ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 275a7e5adbfe36e1b96652ec046bc67ff8daf1924c374fdcf5f8895cb805c74a [INFO] running `Command { std: "docker" "start" "-a" "275a7e5adbfe36e1b96652ec046bc67ff8daf1924c374fdcf5f8895cb805c74a", kill_on_drop: false }` [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling isnt v0.1.0 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | fn to_line_column(input: &str, pos: usize) -> LC { [INFO] [stdout] | ------------------------------------------------ move the `impl` block outside of this function `to_line_column` [INFO] [stdout] 30 | impl Display for LC { [INFO] [stdout] | ^^^^^-------^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | `LC` is not local [INFO] [stdout] | `Display` 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/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | fn to_span(input: &str, span: Span) -> S { [INFO] [stdout] | ---------------------------------------- move the `impl` block outside of this function `to_span` [INFO] [stdout] 52 | impl Display for S { [INFO] [stdout] | ^^^^^-------^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | `S` is not local [INFO] [stdout] | `Display` 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] Compiling rayon v1.11.0 [INFO] [stderr] Compiling cly-impl 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/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | fn to_line_column(input: &str, pos: usize) -> LC { [INFO] [stdout] | ------------------------------------------------ move the `impl` block outside of this function `to_line_column` [INFO] [stdout] 30 | impl Display for LC { [INFO] [stdout] | ^^^^^-------^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | `LC` is not local [INFO] [stdout] | `Display` 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/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | fn to_span(input: &str, span: Span) -> S { [INFO] [stdout] | ---------------------------------------- move the `impl` block outside of this function `to_span` [INFO] [stdout] 52 | impl Display for S { [INFO] [stdout] | ^^^^^-------^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | `S` is not local [INFO] [stdout] | `Display` 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 5.46s [INFO] running `Command { std: "docker" "inspect" "275a7e5adbfe36e1b96652ec046bc67ff8daf1924c374fdcf5f8895cb805c74a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "275a7e5adbfe36e1b96652ec046bc67ff8daf1924c374fdcf5f8895cb805c74a", kill_on_drop: false }` [INFO] [stdout] 275a7e5adbfe36e1b96652ec046bc67ff8daf1924c374fdcf5f8895cb805c74a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fd00b253803723c0419610d822d71e2e016e94e5ce36158244c5eccba6bf3782 [INFO] running `Command { std: "docker" "start" "-a" "fd00b253803723c0419610d822d71e2e016e94e5ce36158244c5eccba6bf3782", 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/lib.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 29 | fn to_line_column(input: &str, pos: usize) -> LC { [INFO] [stderr] | ------------------------------------------------ move the `impl` block outside of this function `to_line_column` [INFO] [stderr] 30 | impl Display for LC { [INFO] [stderr] | ^^^^^-------^^^^^-- [INFO] [stderr] | | | [INFO] [stderr] | | `LC` is not local [INFO] [stderr] | `Display` 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/lib.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 51 | fn to_span(input: &str, span: Span) -> S { [INFO] [stderr] | ---------------------------------------- move the `impl` block outside of this function `to_span` [INFO] [stderr] 52 | impl Display for S { [INFO] [stderr] | ^^^^^-------^^^^^- [INFO] [stderr] | | | [INFO] [stderr] | | `S` is not local [INFO] [stderr] | `Display` 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: `cly-impl` (lib) generated 2 warnings [INFO] [stderr] warning: `cly-impl` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cly_impl-4d61fe806329790f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests cly_impl [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" "fd00b253803723c0419610d822d71e2e016e94e5ce36158244c5eccba6bf3782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd00b253803723c0419610d822d71e2e016e94e5ce36158244c5eccba6bf3782", kill_on_drop: false }` [INFO] [stdout] fd00b253803723c0419610d822d71e2e016e94e5ce36158244c5eccba6bf3782