[INFO] cloning repository https://github.com/canelhasmateus/algos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/canelhasmateus/algos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcanelhasmateus%2Falgos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcanelhasmateus%2Falgos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d0cd19bb2615926ca1706fb24ffecc679c017ea [INFO] testing canelhasmateus/algos against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcanelhasmateus%2Falgos" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/canelhasmateus/algos on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/canelhasmateus/algos [INFO] finished tweaking git repo https://github.com/canelhasmateus/algos [INFO] tweaked toml for git repo https://github.com/canelhasmateus/algos written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/canelhasmateus/algos already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cdf446bdf358490bf13b12f90ccc75b6a7d568b4478b488589424aab4ddacaf [INFO] running `Command { std: "docker" "start" "-a" "5cdf446bdf358490bf13b12f90ccc75b6a7d568b4478b488589424aab4ddacaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cdf446bdf358490bf13b12f90ccc75b6a7d568b4478b488589424aab4ddacaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cdf446bdf358490bf13b12f90ccc75b6a7d568b4478b488589424aab4ddacaf", kill_on_drop: false }` [INFO] [stdout] 5cdf446bdf358490bf13b12f90ccc75b6a7d568b4478b488589424aab4ddacaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4c404bf739fa5ac088fbe3c1f646e67bfcf1d38bbb3293949ea8dba72ed3192 [INFO] running `Command { std: "docker" "start" "-a" "c4c404bf739fa5ac088fbe3c1f646e67bfcf1d38bbb3293949ea8dba72ed3192", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling algos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/chapter2/chapter2.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn random_vector(size: usize) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input_length` [INFO] [stdout] --> src/chapter2/chapter2.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | input_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `SortingStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chapter2/chapter2.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n_assignments` [INFO] [stdout] --> src/chapter2/chapter2.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | n_assignments: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SortingStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chapter2/chapter2.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n_comparisons` [INFO] [stdout] --> src/chapter2/chapter2.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | n_comparisons: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SortingStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chapter2/chapter2.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n_indexings` [INFO] [stdout] --> src/chapter2/chapter2.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | n_indexings: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SortingStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chapter2/chapter2.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n_swaps` [INFO] [stdout] --> src/chapter2/chapter2.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | n_swaps: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SortingStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chapter2/chapter2.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `time_elapsed` [INFO] [stdout] --> src/chapter2/chapter2.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | time_elapsed: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SortingStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chapter2/chapter2.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chapter2/chapter2.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn new(length: usize) -> SortingStatistics { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_vector` [INFO] [stdout] --> src/chapter2/chapter2.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn random_vector(size: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `insertion_sort` [INFO] [stdout] --> src/chapter2/chapter2.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn insertion_sort(array: &mut Vec) -> SortingStatistics { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.59s [INFO] running `Command { std: "docker" "inspect" "c4c404bf739fa5ac088fbe3c1f646e67bfcf1d38bbb3293949ea8dba72ed3192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4c404bf739fa5ac088fbe3c1f646e67bfcf1d38bbb3293949ea8dba72ed3192", kill_on_drop: false }` [INFO] [stdout] c4c404bf739fa5ac088fbe3c1f646e67bfcf1d38bbb3293949ea8dba72ed3192 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30060fe9c1b21232928dfeec471349df3a08bb0b6be6eeee99d077b9b4f02fee [INFO] running `Command { std: "docker" "start" "-a" "30060fe9c1b21232928dfeec471349df3a08bb0b6be6eeee99d077b9b4f02fee", kill_on_drop: false }` [INFO] [stderr] Compiling algos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/chapter2/chapter2.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn random_vector(size: usize) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input_length` [INFO] [stdout] --> src/chapter2/chapter2.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | input_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `SortingStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chapter2/chapter2.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "30060fe9c1b21232928dfeec471349df3a08bb0b6be6eeee99d077b9b4f02fee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30060fe9c1b21232928dfeec471349df3a08bb0b6be6eeee99d077b9b4f02fee", kill_on_drop: false }` [INFO] [stdout] 30060fe9c1b21232928dfeec471349df3a08bb0b6be6eeee99d077b9b4f02fee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5fdad1371a44aad3540ee4d45606953262fb215369d8bc338ff4ec632728dd50 [INFO] running `Command { std: "docker" "start" "-a" "5fdad1371a44aad3540ee4d45606953262fb215369d8bc338ff4ec632728dd50", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `size` [INFO] [stderr] --> src/chapter2/chapter2.rs:27:22 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn random_vector(size: usize) -> Vec { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `input_length` [INFO] [stderr] --> src/chapter2/chapter2.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | input_length: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `SortingStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chapter2/chapter2.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `algos` (bin "algos" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/algos-31863a3f998b7e3f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test chapter2::chapter2::insertion ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 18.77s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5fdad1371a44aad3540ee4d45606953262fb215369d8bc338ff4ec632728dd50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fdad1371a44aad3540ee4d45606953262fb215369d8bc338ff4ec632728dd50", kill_on_drop: false }` [INFO] [stdout] 5fdad1371a44aad3540ee4d45606953262fb215369d8bc338ff4ec632728dd50