[INFO] fetching crate sknife 0.2.2... [INFO] building sknife-0.2.2 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate sknife 0.2.2 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate sknife 0.2.2 [INFO] finished tweaking crates.io crate sknife 0.2.2 [INFO] tweaked toml for crates.io crate sknife 0.2.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sknife 0.2.2 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 007d60436c7c4b40ad43e5da5b92217b6a8c9a0d0534f6015c88515bf5a2b8af [INFO] running `Command { std: "docker" "start" "-a" "007d60436c7c4b40ad43e5da5b92217b6a8c9a0d0534f6015c88515bf5a2b8af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "007d60436c7c4b40ad43e5da5b92217b6a8c9a0d0534f6015c88515bf5a2b8af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "007d60436c7c4b40ad43e5da5b92217b6a8c9a0d0534f6015c88515bf5a2b8af", kill_on_drop: false }` [INFO] [stdout] 007d60436c7c4b40ad43e5da5b92217b6a8c9a0d0534f6015c88515bf5a2b8af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 1bed43dde97b110acc1c913f85e377696557edd2d353cc5115f3fe895b4e53ec [INFO] running `Command { std: "docker" "start" "-a" "1bed43dde97b110acc1c913f85e377696557edd2d353cc5115f3fe895b4e53ec", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling sknife v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/collection/any.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/collection/count.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/collection/find.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/collection/flatmap.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/collection/zip.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> src/collection/any.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_name = "sknife"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> src/collection/count.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_name = "sknife"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> src/collection/find.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_name = "sknife"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> src/collection/flatmap.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_name = "sknife"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> src/collection/map.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_name = "sknife"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> src/collection/reduce.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![crate_name = "sknife"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> src/collection/zip.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_name = "sknife"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "1bed43dde97b110acc1c913f85e377696557edd2d353cc5115f3fe895b4e53ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bed43dde97b110acc1c913f85e377696557edd2d353cc5115f3fe895b4e53ec", kill_on_drop: false }` [INFO] [stdout] 1bed43dde97b110acc1c913f85e377696557edd2d353cc5115f3fe895b4e53ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 437fa97af8bfa91eacaf1120b01a0cb01ba6840180c33a90faa4c1607ca5c3a9 [INFO] running `Command { std: "docker" "start" "-a" "437fa97af8bfa91eacaf1120b01a0cb01ba6840180c33a90faa4c1607ca5c3a9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/collection/any.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/collection/count.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/collection/find.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/collection/flatmap.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/collection/zip.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> src/collection/any.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_name = "sknife"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> src/collection/count.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_name = "sknife"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> src/collection/find.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_name = "sknife"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> src/collection/flatmap.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_name = "sknife"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> src/collection/map.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_name = "sknife"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> src/collection/reduce.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![crate_name = "sknife"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> src/collection/zip.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_name = "sknife"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sknife v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/collection/zip.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/collections_any.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut list = vec![1, 2, 3, 4]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> src/collection/any.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_name = "sknife"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> src/collection/count.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_name = "sknife"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> src/collection/find.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_name = "sknife"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> src/collection/flatmap.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_name = "sknife"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> src/collection/map.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_name = "sknife"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> src/collection/reduce.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![crate_name = "sknife"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `#![crate_name]` attribute can only be used at the crate root [INFO] [stdout] --> src/collection/zip.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![crate_name = "sknife"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/collections_find.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut list = vec![1, 3, 4, 7, 3, 9]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collection/any.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut list = vec![]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collection/any.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut list = vec![1, 2, 3, 4]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collection/count.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut list: Vec = vec![]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collection/count.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut list = vec![1, 2, 3, 4]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collection/find.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut list = vec![]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collection/find.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut list = vec![1, 2, 3, 4]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "437fa97af8bfa91eacaf1120b01a0cb01ba6840180c33a90faa4c1607ca5c3a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "437fa97af8bfa91eacaf1120b01a0cb01ba6840180c33a90faa4c1607ca5c3a9", kill_on_drop: false }` [INFO] [stdout] 437fa97af8bfa91eacaf1120b01a0cb01ba6840180c33a90faa4c1607ca5c3a9