[INFO] cloning repository https://github.com/ekarbe/rust-algorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ekarbe/rust-algorithms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fekarbe%2Frust-algorithms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fekarbe%2Frust-algorithms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 28bc0fad5114c363e9c58487dc43f2fe14b3fe30 [INFO] checking ekarbe/rust-algorithms against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fekarbe%2Frust-algorithms" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ekarbe/rust-algorithms on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ekarbe/rust-algorithms [INFO] finished tweaking git repo https://github.com/ekarbe/rust-algorithms [INFO] tweaked toml for git repo https://github.com/ekarbe/rust-algorithms written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/ekarbe/rust-algorithms already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2520def2acf31da6b0d800fcea095f3b37f2ecf3e178bcf14d0ca718a32eae7a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2520def2acf31da6b0d800fcea095f3b37f2ecf3e178bcf14d0ca718a32eae7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2520def2acf31da6b0d800fcea095f3b37f2ecf3e178bcf14d0ca718a32eae7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2520def2acf31da6b0d800fcea095f3b37f2ecf3e178bcf14d0ca718a32eae7a", kill_on_drop: false }` [INFO] [stdout] 2520def2acf31da6b0d800fcea095f3b37f2ecf3e178bcf14d0ca718a32eae7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0efdcb8bf8034d01761dec764cb2091f5515968e15a7ba4f744de65f83c11102 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0efdcb8bf8034d01761dec764cb2091f5515968e15a7ba4f744de65f83c11102", kill_on_drop: false }` [INFO] [stderr] Checking rust-algorithms v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `sort` [INFO] [stdout] --> src/bubble_sort.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn sort(arr: &mut [i32]) -> &mut [i32] { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sort` [INFO] [stdout] --> src/cocktail_shaker_sort.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn sort(arr: &mut [i32]) -> &mut [i32] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sort` [INFO] [stdout] --> src/insertion_sort.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn sort(arr: &mut [i32]) -> &mut [i32] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `index_of` [INFO] [stdout] --> src/linear_search.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn index_of(arr: &[i32], tar: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `max` [INFO] [stdout] --> src/selection_search.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn max(arr: &[i32]) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `min` [INFO] [stdout] --> src/selection_search.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn min(arr: &[i32]) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "0efdcb8bf8034d01761dec764cb2091f5515968e15a7ba4f744de65f83c11102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0efdcb8bf8034d01761dec764cb2091f5515968e15a7ba4f744de65f83c11102", kill_on_drop: false }` [INFO] [stdout] 0efdcb8bf8034d01761dec764cb2091f5515968e15a7ba4f744de65f83c11102