[INFO] cloning repository https://github.com/dctk/algorithm_rust_sort_sample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dctk/algorithm_rust_sort_sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdctk%2Falgorithm_rust_sort_sample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdctk%2Falgorithm_rust_sort_sample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 512c664dd9921e1b4099624b4d8ccde937216c12 [INFO] testing dctk/algorithm_rust_sort_sample/512c664dd9921e1b4099624b4d8ccde937216c12 against 1.81.0 for beta-1.82-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdctk%2Falgorithm_rust_sort_sample" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dctk/algorithm_rust_sort_sample on toolchain 1.81.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.81.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dctk/algorithm_rust_sort_sample [INFO] finished tweaking git repo https://github.com/dctk/algorithm_rust_sort_sample [INFO] tweaked toml for git repo https://github.com/dctk/algorithm_rust_sort_sample written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dctk/algorithm_rust_sort_sample 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" "+1.81.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b2c6a590cd76b80ee0b386fa7229ab9c4b3a27eb46510161a787630d5a89640 [INFO] running `Command { std: "docker" "start" "-a" "0b2c6a590cd76b80ee0b386fa7229ab9c4b3a27eb46510161a787630d5a89640", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b2c6a590cd76b80ee0b386fa7229ab9c4b3a27eb46510161a787630d5a89640", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b2c6a590cd76b80ee0b386fa7229ab9c4b3a27eb46510161a787630d5a89640", kill_on_drop: false }` [INFO] [stdout] 0b2c6a590cd76b80ee0b386fa7229ab9c4b3a27eb46510161a787630d5a89640 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1b8b86671b273ce69c5d341336421ab86ab91bfb7959817be31e9b5fb182883 [INFO] running `Command { std: "docker" "start" "-a" "b1b8b86671b273ce69c5d341336421ab86ab91bfb7959817be31e9b5fb182883", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling algorithm_rust_sort_sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `flg` is never read [INFO] [stdout] --> src/sort.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let mut flg = false; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | for i in 0..10000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | let result = $proc; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] ... [INFO] [stdout] 30 | / proc_time!({ [INFO] [stdout] 31 | | sort::bubble_sort(&mut data); [INFO] [stdout] 32 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `proc_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | for i in 0..10000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | let result = $proc; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] ... [INFO] [stdout] 43 | / proc_time!({ [INFO] [stdout] 44 | | let len =data.len(); [INFO] [stdout] 45 | | sort::quick_sort(&mut data,0,len-1); [INFO] [stdout] 46 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `proc_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | for i in 0..10000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | let result = $proc; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] ... [INFO] [stdout] 57 | / proc_time!({ [INFO] [stdout] 58 | | let len =data.len(); [INFO] [stdout] 59 | | sort::merge_sort(&mut data,0,len-1); [INFO] [stdout] 60 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `proc_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | for i in 0..10000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | let result = $proc; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] ... [INFO] [stdout] 71 | / proc_time!({ [INFO] [stdout] 72 | | sort::comb_sort(&mut data); [INFO] [stdout] 73 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `proc_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | for i in 0..10000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | let result = $proc; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] ... [INFO] [stdout] 84 | / proc_time!({ [INFO] [stdout] 85 | | sort::insert_sort(&mut data); [INFO] [stdout] 86 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `proc_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.25s [INFO] running `Command { std: "docker" "inspect" "b1b8b86671b273ce69c5d341336421ab86ab91bfb7959817be31e9b5fb182883", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1b8b86671b273ce69c5d341336421ab86ab91bfb7959817be31e9b5fb182883", kill_on_drop: false }` [INFO] [stdout] b1b8b86671b273ce69c5d341336421ab86ab91bfb7959817be31e9b5fb182883 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bde5621c1de8cf3ef03d24bbb380681862eb77e7f3171fe329201d4f87a29ce6 [INFO] running `Command { std: "docker" "start" "-a" "bde5621c1de8cf3ef03d24bbb380681862eb77e7f3171fe329201d4f87a29ce6", kill_on_drop: false }` [INFO] [stderr] Compiling algorithm_rust_sort_sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `flg` is never read [INFO] [stdout] --> src/sort.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let mut flg = false; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | for i in 0..10000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | let result = $proc; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] ... [INFO] [stdout] 30 | / proc_time!({ [INFO] [stdout] 31 | | sort::bubble_sort(&mut data); [INFO] [stdout] 32 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `proc_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | for i in 0..10000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | let result = $proc; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] ... [INFO] [stdout] 43 | / proc_time!({ [INFO] [stdout] 44 | | let len =data.len(); [INFO] [stdout] 45 | | sort::quick_sort(&mut data,0,len-1); [INFO] [stdout] 46 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `proc_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | for i in 0..10000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | let result = $proc; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] ... [INFO] [stdout] 57 | / proc_time!({ [INFO] [stdout] 58 | | let len =data.len(); [INFO] [stdout] 59 | | sort::merge_sort(&mut data,0,len-1); [INFO] [stdout] 60 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `proc_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | for i in 0..10000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | let result = $proc; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] ... [INFO] [stdout] 71 | / proc_time!({ [INFO] [stdout] 72 | | sort::comb_sort(&mut data); [INFO] [stdout] 73 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `proc_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | for i in 0..10000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | let result = $proc; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] ... [INFO] [stdout] 84 | / proc_time!({ [INFO] [stdout] 85 | | sort::insert_sort(&mut data); [INFO] [stdout] 86 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `proc_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] running `Command { std: "docker" "inspect" "bde5621c1de8cf3ef03d24bbb380681862eb77e7f3171fe329201d4f87a29ce6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bde5621c1de8cf3ef03d24bbb380681862eb77e7f3171fe329201d4f87a29ce6", kill_on_drop: false }` [INFO] [stdout] bde5621c1de8cf3ef03d24bbb380681862eb77e7f3171fe329201d4f87a29ce6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cc3b311af95989cac452c56947141fbdcf53ff90cae49ec17b5ace5b6dac660d [INFO] running `Command { std: "docker" "start" "-a" "cc3b311af95989cac452c56947141fbdcf53ff90cae49ec17b5ace5b6dac660d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `rand::Rng` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use rand::Rng; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `flg` is never read [INFO] [stderr] --> src/sort.rs:132:13 [INFO] [stderr] | [INFO] [stderr] 132 | let mut flg = false; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | for i in 0..10000 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/main.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | let result = $proc; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] ... [INFO] [stderr] 30 | / proc_time!({ [INFO] [stderr] 31 | | sort::bubble_sort(&mut data); [INFO] [stderr] 32 | | }); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `proc_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | for i in 0..10000 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/main.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | let result = $proc; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] ... [INFO] [stderr] 43 | / proc_time!({ [INFO] [stderr] 44 | | let len =data.len(); [INFO] [stderr] 45 | | sort::quick_sort(&mut data,0,len-1); [INFO] [stderr] 46 | | }); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `proc_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:53:13 [INFO] [stderr] | [INFO] [stderr] 53 | for i in 0..10000 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/main.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | let result = $proc; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] ... [INFO] [stderr] 57 | / proc_time!({ [INFO] [stderr] 58 | | let len =data.len(); [INFO] [stderr] 59 | | sort::merge_sort(&mut data,0,len-1); [INFO] [stderr] 60 | | }); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `proc_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:67:13 [INFO] [stderr] | [INFO] [stderr] 67 | for i in 0..10000 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/main.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | let result = $proc; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] ... [INFO] [stderr] 71 | / proc_time!({ [INFO] [stderr] 72 | | sort::comb_sort(&mut data); [INFO] [stderr] 73 | | }); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `proc_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:80:13 [INFO] [stderr] | [INFO] [stderr] 80 | for i in 0..10000 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/main.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | let result = $proc; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] ... [INFO] [stderr] 84 | / proc_time!({ [INFO] [stderr] 85 | | sort::insert_sort(&mut data); [INFO] [stderr] 86 | | }); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `proc_time` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `algorithm_rust_sort_sample` (bin "algorithm_rust_sort_sample" test) generated 12 warnings (run `cargo fix --bin "algorithm_rust_sort_sample" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/algorithm_rust_sort_sample-4065f5eb5110e22c) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test sort::test_bubble_sort ... ok [INFO] [stdout] test sort::test_merge_sort ... ok [INFO] [stdout] test sort::test_insert_sort ... ok [INFO] [stdout] test sort::test_comb_sort ... ok [INFO] [stdout] test sort::test_quick_sort ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cc3b311af95989cac452c56947141fbdcf53ff90cae49ec17b5ace5b6dac660d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc3b311af95989cac452c56947141fbdcf53ff90cae49ec17b5ace5b6dac660d", kill_on_drop: false }` [INFO] [stdout] cc3b311af95989cac452c56947141fbdcf53ff90cae49ec17b5ace5b6dac660d