[INFO] cloning repository https://github.com/Hypnoes/algor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hypnoes/algor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHypnoes%2Falgor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHypnoes%2Falgor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e825f52c5ae77e316b9b70ad75a824b4fa227120 [INFO] checking Hypnoes/algor against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHypnoes%2Falgor" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Hypnoes/algor on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Hypnoes/algor [INFO] finished tweaking git repo https://github.com/Hypnoes/algor [INFO] tweaked toml for git repo https://github.com/Hypnoes/algor written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Hypnoes/algor already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5fabc02be8a860dc5c1fad421933c3905189d1840187c7e387feb73edda78d5 [INFO] running `Command { std: "docker" "start" "-a" "e5fabc02be8a860dc5c1fad421933c3905189d1840187c7e387feb73edda78d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5fabc02be8a860dc5c1fad421933c3905189d1840187c7e387feb73edda78d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5fabc02be8a860dc5c1fad421933c3905189d1840187c7e387feb73edda78d5", kill_on_drop: false }` [INFO] [stdout] e5fabc02be8a860dc5c1fad421933c3905189d1840187c7e387feb73edda78d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8905b7701c221072cad7356b4c49bc62820c637cf508b04d5b825a488dc01cc [INFO] running `Command { std: "docker" "start" "-a" "b8905b7701c221072cad7356b4c49bc62820c637cf508b04d5b825a488dc01cc", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking algor v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/bin/shuffer_exam.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lib/matrix.rs (1 fix) [INFO] [stdout] warning: function is never used: `binary_search` [INFO] [stdout] --> src/lib/binary_search.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn binary_search(key: usize, a: &[usize]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `binary_search_r` [INFO] [stdout] --> src/lib/binary_search.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn binary_search_r(key: usize, a: &[usize]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `binomial` [INFO] [stdout] --> src/lib/binomail.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn binomial(n: i32, k: i32, p: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `binomial_unrecursive` [INFO] [stdout] --> src/lib/binomail.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn binomial_unrecursive(n: i32, k: i32, p: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `arrangement` [INFO] [stdout] --> src/lib/binomail.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn arrangement(m: i32, n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `combination` [INFO] [stdout] --> src/lib/binomail.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn combination(m: i32, n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `factorial` [INFO] [stdout] --> src/lib/binomail.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn factorial(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `containner` [INFO] [stdout] --> src/lib/matrix.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | containner: Box>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/lib/matrix.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | size: (usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `binary_search` [INFO] [stdout] --> src/lib/binary_search.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn binary_search(key: usize, a: &[usize]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `binary_search_r` [INFO] [stdout] --> src/lib/binary_search.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn binary_search_r(key: usize, a: &[usize]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `binomial` [INFO] [stdout] --> src/lib/binomail.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn binomial(n: i32, k: i32, p: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `binomial_unrecursive` [INFO] [stdout] --> src/lib/binomail.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn binomial_unrecursive(n: i32, k: i32, p: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `arrangement` [INFO] [stdout] --> src/lib/binomail.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn arrangement(m: i32, n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `combination` [INFO] [stdout] --> src/lib/binomail.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn combination(m: i32, n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `factorial` [INFO] [stdout] --> src/lib/binomail.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn factorial(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `containner` [INFO] [stdout] --> src/lib/matrix.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | containner: Box>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/lib/matrix.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | size: (usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.40s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking algor v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: function is never used: `binary_search` [INFO] [stdout] --> src/lib/binary_search.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn binary_search(key: usize, a: &[usize]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `binary_search` [INFO] [stdout] --> src/lib/binary_search.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn binary_search(key: usize, a: &[usize]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `binary_search_r` [INFO] [stdout] --> src/lib/binary_search.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn binary_search_r(key: usize, a: &[usize]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `binary_search_r` [INFO] [stdout] --> src/lib/binary_search.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn binary_search_r(key: usize, a: &[usize]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `binomial` [INFO] [stdout] --> src/lib/binomail.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn binomial(n: i32, k: i32, p: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `binomial` [INFO] [stdout] --> src/lib/binomail.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn binomial(n: i32, k: i32, p: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `binomial_unrecursive` [INFO] [stdout] --> src/lib/binomail.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn binomial_unrecursive(n: i32, k: i32, p: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `binomial_unrecursive` [INFO] [stdout] --> src/lib/binomail.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn binomial_unrecursive(n: i32, k: i32, p: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `arrangement` [INFO] [stdout] --> src/lib/binomail.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn arrangement(m: i32, n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `combination` [INFO] [stdout] --> src/lib/binomail.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn combination(m: i32, n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `factorial` [INFO] [stdout] --> src/lib/binomail.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn factorial(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `arrangement` [INFO] [stdout] --> src/lib/binomail.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn arrangement(m: i32, n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `containner` [INFO] [stdout] --> src/lib/matrix.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | containner: Box>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `combination` [INFO] [stdout] --> src/lib/binomail.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn combination(m: i32, n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/lib/matrix.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | size: (usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `factorial` [INFO] [stdout] --> src/lib/binomail.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn factorial(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `containner` [INFO] [stdout] --> src/lib/matrix.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | containner: Box>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/lib/matrix.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | size: (usize, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "b8905b7701c221072cad7356b4c49bc62820c637cf508b04d5b825a488dc01cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8905b7701c221072cad7356b4c49bc62820c637cf508b04d5b825a488dc01cc", kill_on_drop: false }` [INFO] [stdout] b8905b7701c221072cad7356b4c49bc62820c637cf508b04d5b825a488dc01cc