[INFO] cloning repository https://github.com/pexip/os-rust-inventory [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pexip/os-rust-inventory" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpexip%2Fos-rust-inventory", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpexip%2Fos-rust-inventory'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 636379f6829ef9a3f9842f61844f0e07be9f9d65 [INFO] building pexip/os-rust-inventory against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpexip%2Fos-rust-inventory" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pexip/os-rust-inventory [INFO] finished tweaking git repo https://github.com/pexip/os-rust-inventory [INFO] tweaked toml for git repo https://github.com/pexip/os-rust-inventory written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pexip/os-rust-inventory on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pexip/os-rust-inventory 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ghost v0.1.6 [INFO] [stderr] Downloaded serde v1.0.143 [INFO] [stderr] Downloaded ctor v0.1.23 [INFO] [stderr] Downloaded once_cell v1.13.1 [INFO] [stderr] Downloaded unicode-ident v1.0.3 [INFO] [stderr] Downloaded serde_derive v1.0.143 [INFO] [stderr] Downloaded rustversion v1.0.9 [INFO] [stderr] Downloaded trybuild v1.0.64 [INFO] [stderr] Downloaded serde_json v1.0.83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e1094324b2004425e9832e5bf30e121cd048eebc2c901607b6a4da39930920e [INFO] running `Command { std: "docker" "start" "-a" "7e1094324b2004425e9832e5bf30e121cd048eebc2c901607b6a4da39930920e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e1094324b2004425e9832e5bf30e121cd048eebc2c901607b6a4da39930920e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e1094324b2004425e9832e5bf30e121cd048eebc2c901607b6a4da39930920e", kill_on_drop: false }` [INFO] [stdout] 7e1094324b2004425e9832e5bf30e121cd048eebc2c901607b6a4da39930920e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74b74d35274b882ca7b16db93e7f6bd8058b80116d4c7d159dc65e9c44d6d9d6 [INFO] running `Command { std: "docker" "start" "-a" "74b74d35274b882ca7b16db93e7f6bd8058b80116d4c7d159dc65e9c44d6d9d6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling ctor v0.1.23 [INFO] [stderr] Compiling ghost v0.1.6 [INFO] [stderr] Compiling inventory v0.3.2 (/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:251:5 [INFO] [stdout] | [INFO] [stdout] 241 | const ITER: () = { [INFO] [stdout] | -------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `ITER` [INFO] [stdout] ... [INFO] [stdout] 251 | impl IntoIterator for iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `iter` is not local [INFO] [stdout] | `IntoIterator` 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: 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] [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:261:5 [INFO] [stdout] | [INFO] [stdout] 241 | const ITER: () = { [INFO] [stdout] | -------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `ITER` [INFO] [stdout] ... [INFO] [stdout] 261 | impl Deref for iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-----^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `iter` 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: 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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.02s [INFO] running `Command { std: "docker" "inspect" "74b74d35274b882ca7b16db93e7f6bd8058b80116d4c7d159dc65e9c44d6d9d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74b74d35274b882ca7b16db93e7f6bd8058b80116d4c7d159dc65e9c44d6d9d6", kill_on_drop: false }` [INFO] [stdout] 74b74d35274b882ca7b16db93e7f6bd8058b80116d4c7d159dc65e9c44d6d9d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23540ca3ccd01023c91391c8b687b57e86894d1caba4f05e48476d4b44d6926c [INFO] running `Command { std: "docker" "start" "-a" "23540ca3ccd01023c91391c8b687b57e86894d1caba4f05e48476d4b44d6926c", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling trybuild v1.0.64 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 241 | const ITER: () = { [INFO] [stdout] | -------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `ITER` [INFO] [stdout] ... [INFO] [stdout] 251 | impl IntoIterator for iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `iter` is not local [INFO] [stdout] | `IntoIterator` 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: 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] [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:261:5 [INFO] [stdout] | [INFO] [stdout] 241 | const ITER: () = { [INFO] [stdout] | -------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `ITER` [INFO] [stdout] ... [INFO] [stdout] 261 | impl Deref for iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-----^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `iter` 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: 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] [INFO] [stdout] [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling inventory v0.3.2 (/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:251:5 [INFO] [stdout] | [INFO] [stdout] 241 | const ITER: () = { [INFO] [stdout] | -------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `ITER` [INFO] [stdout] ... [INFO] [stdout] 251 | impl IntoIterator for iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `iter` is not local [INFO] [stdout] | `IntoIterator` 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: 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] [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:261:5 [INFO] [stdout] | [INFO] [stdout] 241 | const ITER: () = { [INFO] [stdout] | -------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `ITER` [INFO] [stdout] ... [INFO] [stdout] 261 | impl Deref for iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-----^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `iter` 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: 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] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.67s [INFO] running `Command { std: "docker" "inspect" "23540ca3ccd01023c91391c8b687b57e86894d1caba4f05e48476d4b44d6926c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23540ca3ccd01023c91391c8b687b57e86894d1caba4f05e48476d4b44d6926c", kill_on_drop: false }` [INFO] [stdout] 23540ca3ccd01023c91391c8b687b57e86894d1caba4f05e48476d4b44d6926c