[INFO] cloning repository https://github.com/suhanyujie/rust-cookbook-note [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suhanyujie/rust-cookbook-note" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhanyujie%2Frust-cookbook-note", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhanyujie%2Frust-cookbook-note'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a676b326fbf962b47fa8c7f5a111c747fa0c1803 [INFO] testing suhanyujie/rust-cookbook-note against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhanyujie%2Frust-cookbook-note" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/suhanyujie/rust-cookbook-note on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/suhanyujie/rust-cookbook-note [INFO] finished tweaking git repo https://github.com/suhanyujie/rust-cookbook-note [INFO] tweaked toml for git repo https://github.com/suhanyujie/rust-cookbook-note written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/suhanyujie/rust-cookbook-note already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 072eac7e2c8a5cc90fd6ac4807e2f432d193e7a7d665b7e60d8b6f88ff7c6820 [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" "072eac7e2c8a5cc90fd6ac4807e2f432d193e7a7d665b7e60d8b6f88ff7c6820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "072eac7e2c8a5cc90fd6ac4807e2f432d193e7a7d665b7e60d8b6f88ff7c6820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "072eac7e2c8a5cc90fd6ac4807e2f432d193e7a7d665b7e60d8b6f88ff7c6820", kill_on_drop: false }` [INFO] [stdout] 072eac7e2c8a5cc90fd6ac4807e2f432d193e7a7d665b7e60d8b6f88ff7c6820 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aab1a15803e80c6002653e6a8cb339ce84c6d292641c8a4d1bd1ae4e5926445b [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" "aab1a15803e80c6002653e6a8cb339ce84c6d292641c8a4d1bd1ae4e5926445b", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling cookbook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/notes/alpha.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/notes/copy_trait.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div`, `Mul`, `Sub` [INFO] [stdout] --> src/notes/op_rhs.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Add, Div, Mul, Sub}; [INFO] [stdout] | ^^^ ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `notes::alpha` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use notes::alpha; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 20 | process::exit(-1); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 24 | command::try_with_test_param(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/notes/process_data_competition.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 63 | MyData(data1) => { [INFO] [stdout] | ------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 83 | _ => { [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/command.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | status, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `status: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stderr` [INFO] [stdout] --> src/command.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | stderr, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `stderr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_duck` [INFO] [stdout] --> src/notes/alpha.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | fn print_traitobject(p_duck: &dyn Bird) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_duck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d3` [INFO] [stdout] --> src/notes/alpha.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let d3 = d2 as &dyn Bird; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_d3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v2` [INFO] [stdout] --> src/notes/copy_trait.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let v2 = v1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/notes/process_data_competition.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | for i in 0..COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/notes/process_data_competition.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | for i in 0..COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/notes/process_data_competition.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | for i in 0..COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/notes/process_data_competition.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | for i in 0..COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algorithm.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_a_u8_num` [INFO] [stdout] --> src/algorithm.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn gen_a_u8_num() -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_a_i32_num` [INFO] [stdout] --> src/algorithm.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn gen_a_i32_num() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_random_within_range` [INFO] [stdout] --> src/algorithm.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn gen_random_within_range(min: isize, max: isize) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_random_string` [INFO] [stdout] --> src/algorithm.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get_random_string(length: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_random_string_from_customer_str` [INFO] [stdout] --> src/algorithm.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn get_random_string_from_customer_str(length: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_traitobject` [INFO] [stdout] --> src/notes/alpha.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn print_traitobject(p_duck: &dyn Bird) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/notes/alpha.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/notes/process_data_competition.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(num: isize) -> MyData0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_resolve_competition` [INFO] [stdout] --> src/notes/process_data_competition.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn test_resolve_competition() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simple_bubble` [INFO] [stdout] --> src/notes/sort.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn simple_bubble(arr: &mut Vec) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `insert` [INFO] [stdout] --> src/notes/sort.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn insert(arr: &mut Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shell_sort` [INFO] [stdout] --> src/notes/sort.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn shell_sort(arr: &Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_shell_addition_rate` [INFO] [stdout] --> src/notes/sort.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_shell_addition_rate(l: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `one_file_func` [INFO] [stdout] --> src/notes/test_module/one_file.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn one_file_func() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/notes/alpha.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(dyn_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/notes/alpha.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(dyn_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.18s [INFO] running `Command { std: "docker" "inspect" "aab1a15803e80c6002653e6a8cb339ce84c6d292641c8a4d1bd1ae4e5926445b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aab1a15803e80c6002653e6a8cb339ce84c6d292641c8a4d1bd1ae4e5926445b", kill_on_drop: false }` [INFO] [stdout] aab1a15803e80c6002653e6a8cb339ce84c6d292641c8a4d1bd1ae4e5926445b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 241ffb916e35129be77080329bf730debcfb69903a15b99ad264b3c3fe6d742b [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" "241ffb916e35129be77080329bf730debcfb69903a15b99ad264b3c3fe6d742b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cookbook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/notes/alpha.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/notes/copy_trait.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div`, `Mul`, `Sub` [INFO] [stdout] --> src/notes/op_rhs.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Add, Div, Mul, Sub}; [INFO] [stdout] | ^^^ ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `notes::alpha` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use notes::alpha; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 20 | process::exit(-1); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 24 | command::try_with_test_param(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/notes/process_data_competition.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 63 | MyData(data1) => { [INFO] [stdout] | ------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 83 | _ => { [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/command.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | status, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `status: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stderr` [INFO] [stdout] --> src/command.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | stderr, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `stderr: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p_duck` [INFO] [stdout] --> src/notes/alpha.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | fn print_traitobject(p_duck: &dyn Bird) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_duck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d3` [INFO] [stdout] --> src/notes/alpha.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let d3 = d2 as &dyn Bird; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_d3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v2` [INFO] [stdout] --> src/notes/copy_trait.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let v2 = v1; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/notes/process_data_competition.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | for i in 0..COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/notes/process_data_competition.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | for i in 0..COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/notes/process_data_competition.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | for i in 0..COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/notes/process_data_competition.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | for i in 0..COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algorithm.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_a_u8_num` [INFO] [stdout] --> src/algorithm.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn gen_a_u8_num() -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_a_i32_num` [INFO] [stdout] --> src/algorithm.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn gen_a_i32_num() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_random_within_range` [INFO] [stdout] --> src/algorithm.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn gen_random_within_range(min: isize, max: isize) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_traitobject` [INFO] [stdout] --> src/notes/alpha.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn print_traitobject(p_duck: &dyn Bird) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run` [INFO] [stdout] --> src/notes/alpha.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/notes/process_data_competition.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(num: isize) -> MyData0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_resolve_competition` [INFO] [stdout] --> src/notes/process_data_competition.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn test_resolve_competition() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shell_sort` [INFO] [stdout] --> src/notes/sort.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn shell_sort(arr: &Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_shell_addition_rate` [INFO] [stdout] --> src/notes/sort.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_shell_addition_rate(l: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `one_file_func` [INFO] [stdout] --> src/notes/test_module/one_file.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn one_file_func() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/notes/alpha.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(dyn_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/notes/alpha.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(dyn_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.96s [INFO] running `Command { std: "docker" "inspect" "241ffb916e35129be77080329bf730debcfb69903a15b99ad264b3c3fe6d742b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "241ffb916e35129be77080329bf730debcfb69903a15b99ad264b3c3fe6d742b", kill_on_drop: false }` [INFO] [stdout] 241ffb916e35129be77080329bf730debcfb69903a15b99ad264b3c3fe6d742b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 17d6f40d33a5ee5403c7d1a2a6899dd519a00860b0a2650a5e60674da56e9608 [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" "17d6f40d33a5ee5403c7d1a2a6899dd519a00860b0a2650a5e60674da56e9608", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stdout] running 9 tests [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::mem` [INFO] [stderr] --> src/notes/alpha.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::mem; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cmp::Ordering` [INFO] [stderr] --> src/notes/copy_trait.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::cmp::Ordering; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Div`, `Mul`, `Sub` [INFO] [stderr] --> src/notes/op_rhs.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::{Add, Div, Mul, Sub}; [INFO] [stderr] | ^^^ ^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `notes::alpha` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use notes::alpha; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/main.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 20 | process::exit(-1); [INFO] [stderr] | ----------------- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 24 | command::try_with_test_param(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/notes/process_data_competition.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 63 | MyData(data1) => { [INFO] [stderr] | ------------- matches any value [INFO] [stderr] ... [INFO] [stderr] 83 | _ => { [INFO] [stderr] | ^ unreachable pattern [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `status` [INFO] [stderr] --> src/command.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 47 | status, [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `status: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stderr` [INFO] [stderr] --> src/command.rs:49:13 [INFO] [stderr] | [INFO] [stderr] 49 | stderr, [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `stderr: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p_duck` [INFO] [stderr] --> src/notes/alpha.rs:24:22 [INFO] [stderr] | [INFO] [stderr] 24 | fn print_traitobject(p_duck: &dyn Bird) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_duck` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `d3` [INFO] [stderr] --> src/notes/alpha.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | let d3 = d2 as &dyn Bird; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_d3` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v2` [INFO] [stderr] --> src/notes/copy_trait.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | let v2 = v1; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_v2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/notes/process_data_competition.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 42 | for i in 0..COUNT { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/notes/process_data_competition.rs:50:13 [INFO] [stderr] | [INFO] [stderr] 50 | for i in 0..COUNT { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/notes/process_data_competition.rs:66:21 [INFO] [stderr] | [INFO] [stderr] 66 | for i in 0..COUNT { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/notes/process_data_competition.rs:74:21 [INFO] [stderr] | [INFO] [stderr] 74 | for i in 0..COUNT { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/algorithm.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 93 | let mut rng = rand::thread_rng(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `gen_a_u8_num` [INFO] [stderr] --> src/algorithm.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn gen_a_u8_num() -> u8 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `gen_a_i32_num` [INFO] [stderr] --> src/algorithm.rs:45:8 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn gen_a_i32_num() -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `gen_random_within_range` [INFO] [stderr] --> src/algorithm.rs:53:8 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn gen_random_within_range(min: isize, max: isize) -> isize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `print_traitobject` [INFO] [stderr] --> src/notes/alpha.rs:24:4 [INFO] [stderr] | [INFO] [stderr] 24 | fn print_traitobject(p_duck: &dyn Bird) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `run` [INFO] [stderr] --> src/notes/alpha.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn run() { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/notes/process_data_competition.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn new(num: isize) -> MyData0 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_resolve_competition` [INFO] [stderr] --> src/notes/process_data_competition.rs:61:8 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn test_resolve_competition() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `shell_sort` [INFO] [stderr] --> src/notes/sort.rs:42:8 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn shell_sort(arr: &Vec) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_shell_addition_rate` [INFO] [stderr] --> src/notes/sort.rs:50:4 [INFO] [stderr] | [INFO] [stderr] 50 | fn get_shell_addition_rate(l: usize) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `one_file_func` [INFO] [stderr] --> src/notes/test_module/one_file.rs:2:8 [INFO] [stderr] | [INFO] [stderr] 2 | pub fn one_file_func() { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused attribute [INFO] [stderr] --> src/notes/alpha.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(dyn_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: crate-level attribute should be in the root module [INFO] [stderr] --> src/notes/alpha.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(dyn_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 29 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/cookbook-b91d5eee6c721fc3 [INFO] [stdout] test algorithm::test_get_random_string ... ok [INFO] [stdout] test algorithm::tests::test_float_sort ... ok [INFO] [stdout] test algorithm::test_get_random_string_from_customer_str ... ok [INFO] [stdout] test notes::sort::tests::test_insert ... ok [INFO] [stdout] test notes::op_rhs::tests::test_vec_plus ... ok [INFO] [stdout] test notes::sort::tests::test_simple_bubble ... ok [INFO] [stdout] test notes::op_rhs::tests::test_point_add ... ok [INFO] [stderr] error: test failed, to rerun pass '--bin cookbook' [INFO] [stdout] test notes::sort::tests::test_get_a_vec ... FAILED [INFO] [stdout] test algorithm::tests::test_int_sort ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- notes::sort::tests::test_get_a_vec stdout ---- [INFO] [stdout] [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] [INFO] [stdout] thread 'notes::sort::tests::test_get_a_vec' panicked at 'assertion failed: false', src/notes/sort.rs:86:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5613e5647f00 - std::backtrace_rs::backtrace::libunwind::trace::h04d12fdcddff82aa [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/../../backtrace/src/backtrace/libunwind.rs:100:5 [INFO] [stdout] 1: 0x5613e5647f00 - std::backtrace_rs::backtrace::trace_unsynchronized::h1459b974b6fbe5e1 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5613e5647f00 - std::sys_common::backtrace::_print_fmt::h9b8396a669123d95 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5613e5647f00 - ::fmt::he009dcaaa75eed60 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5613e566b3fc - core::fmt::write::h77b4746b0dea1dd3 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x5613e5597ce6 - std::io::Write::write_fmt::h3a40d9c04f88bb58 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/io/mod.rs:1518:15 [INFO] [stdout] 6: 0x5613e56421fd - std::io::impls::>::write_fmt::h1b3d263673641f53 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/io/impls.rs:179:9 [INFO] [stdout] 7: 0x5613e564a5d5 - std::sys_common::backtrace::_print::h2d880c9e69a21be9 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 8: 0x5613e564a5d5 - std::sys_common::backtrace::print::h5f02b1bb49f36879 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 9: 0x5613e564a5d5 - std::panicking::default_hook::{{closure}}::h658e288a7a809b29 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:208:50 [INFO] [stdout] 10: 0x5613e564a222 - std::panicking::default_hook::hb52d73f0da9a4bb8 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:224:9 [INFO] [stdout] 11: 0x5613e564ad71 - std::panicking::rust_panic_with_hook::hfe7e1c684e3e6462 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:593:17 [INFO] [stdout] 12: 0x5613e55d70be - std::panicking::begin_panic::{{closure}}::h554cdc99196809ef [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:522:9 [INFO] [stdout] 13: 0x5613e55d4b99 - std::sys_common::backtrace::__rust_end_short_backtrace::h4a97b313c98a63f1 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 14: 0x5613e55d6feb - std::panicking::begin_panic::h5b116da34a3afb4b [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:521:12 [INFO] [stdout] 15: 0x5613e559037c - cookbook::notes::sort::tests::test_get_a_vec::hf27ef5460692ee24 [INFO] [stdout] at /opt/rustwide/workdir/src/notes/sort.rs:86:9 [INFO] [stdout] 16: 0x5613e559019a - cookbook::notes::sort::tests::test_get_a_vec::{{closure}}::h6d2c249be0c21f84 [INFO] [stdout] at /opt/rustwide/workdir/src/notes/sort.rs:80:5 [INFO] [stdout] 17: 0x5613e558df5e - core::ops::function::FnOnce::call_once::h0d78e926ecb67304 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 18: 0x5613e55bf833 - core::ops::function::FnOnce::call_once::hdbd2235b6243db3d [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x5613e55bf833 - test::__rust_begin_short_backtrace::hb1dea1c208110812 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/test/src/lib.rs:517:5 [INFO] [stdout] 20: 0x5613e55bdcda - as core::ops::function::FnOnce>::call_once::h5d11a40efef721f2 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/alloc/src/boxed.rs:1307:9 [INFO] [stdout] 21: 0x5613e55bdcda - as core::ops::function::FnOnce<()>>::call_once::h23961df98af0bc5a [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panic.rs:322:9 [INFO] [stdout] 22: 0x5613e55bdcda - std::panicking::try::do_call::h6390646e3de3fb9e [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:381:40 [INFO] [stdout] 23: 0x5613e55bdcda - std::panicking::try::hc531439ab6159192 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:345:19 [INFO] [stdout] 24: 0x5613e55bdcda - std::panic::catch_unwind::h859d8bdaf9b4855c [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panic.rs:396:14 [INFO] [stdout] 25: 0x5613e55bdcda - test::run_test_in_process::hae60aa74417e3abc [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/test/src/lib.rs:544:18 [INFO] [stdout] 26: 0x5613e55bdcda - test::run_test::run_test_inner::{{closure}}::hf48c86652c4a151d [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/test/src/lib.rs:450:39 [INFO] [stdout] 27: 0x5613e5597066 - std::sys_common::backtrace::__rust_begin_short_backtrace::hb82b392232b8bd1f [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 28: 0x5613e559c063 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h79ca9e9abe157956 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/thread/mod.rs:474:17 [INFO] [stdout] 29: 0x5613e559c063 - as core::ops::function::FnOnce<()>>::call_once::ha12f1f228780a4f7 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panic.rs:322:9 [INFO] [stdout] 30: 0x5613e559c063 - std::panicking::try::do_call::h722bb7416d021cdc [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:381:40 [INFO] [stdout] 31: 0x5613e559c063 - std::panicking::try::h78e5abca71ac7cac [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:345:19 [INFO] [stdout] 32: 0x5613e559c063 - std::panic::catch_unwind::h95162588bd0fa090 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panic.rs:396:14 [INFO] [stdout] 33: 0x5613e559c063 - std::thread::Builder::spawn_unchecked::{{closure}}::h64da5c4b9acc58dc [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/thread/mod.rs:473:30 [INFO] [stdout] 34: 0x5613e559c063 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h7a8c588ad0b69edb [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 35: 0x5613e565157a - as core::ops::function::FnOnce>::call_once::h09ff301006f1aeca [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/alloc/src/boxed.rs:1307:9 [INFO] [stdout] 36: 0x5613e565157a - as core::ops::function::FnOnce>::call_once::he79488c8f00b5f31 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/alloc/src/boxed.rs:1307:9 [INFO] [stdout] 37: 0x5613e565157a - std::sys::unix::thread::Thread::new::thread_start::h587efff279c68ba7 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 38: 0x7f3a0e5c7609 - start_thread [INFO] [stdout] 39: 0x7f3a0e39f293 - clone [INFO] [stdout] 40: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- algorithm::tests::test_int_sort stdout ---- [INFO] [stdout] the num is:[21, 32, 43, 67, 90, 98, 121] [INFO] [stdout] thread 'algorithm::tests::test_int_sort' panicked at 'assertion failed: false', src/algorithm.rs:18:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5613e5647f00 - std::backtrace_rs::backtrace::libunwind::trace::h04d12fdcddff82aa [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/../../backtrace/src/backtrace/libunwind.rs:100:5 [INFO] [stdout] 1: 0x5613e5647f00 - std::backtrace_rs::backtrace::trace_unsynchronized::h1459b974b6fbe5e1 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5613e5647f00 - std::sys_common::backtrace::_print_fmt::h9b8396a669123d95 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5613e5647f00 - ::fmt::he009dcaaa75eed60 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5613e566b3fc - core::fmt::write::h77b4746b0dea1dd3 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x5613e5597ce6 - std::io::Write::write_fmt::h3a40d9c04f88bb58 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/io/mod.rs:1518:15 [INFO] [stdout] 6: 0x5613e56421fd - std::io::impls::>::write_fmt::h1b3d263673641f53 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/io/impls.rs:179:9 [INFO] [stdout] 7: 0x5613e564a5d5 - std::sys_common::backtrace::_print::h2d880c9e69a21be9 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 8: 0x5613e564a5d5 - std::sys_common::backtrace::print::h5f02b1bb49f36879 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 9: 0x5613e564a5d5 - std::panicking::default_hook::{{closure}}::h658e288a7a809b29 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:208:50 [INFO] [stdout] 10: 0x5613e564a222 - std::panicking::default_hook::hb52d73f0da9a4bb8 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:224:9 [INFO] [stdout] 11: 0x5613e564ad71 - std::panicking::rust_panic_with_hook::hfe7e1c684e3e6462 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:593:17 [INFO] [stdout] 12: 0x5613e55d70be - std::panicking::begin_panic::{{closure}}::h554cdc99196809ef [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:522:9 [INFO] [stdout] 13: 0x5613e55d4b99 - std::sys_common::backtrace::__rust_end_short_backtrace::h4a97b313c98a63f1 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 14: 0x5613e55d6feb - std::panicking::begin_panic::h5b116da34a3afb4b [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:521:12 [INFO] [stdout] 15: 0x5613e5591c12 - cookbook::algorithm::tests::test_int_sort::h2132cd900b5d8ca5 [INFO] [stdout] at /opt/rustwide/workdir/src/algorithm.rs:18:9 [INFO] [stdout] 16: 0x5613e5591bda - cookbook::algorithm::tests::test_int_sort::{{closure}}::hc1765e7e7cc258d7 [INFO] [stdout] at /opt/rustwide/workdir/src/algorithm.rs:16:5 [INFO] [stdout] 17: 0x5613e558dfee - core::ops::function::FnOnce::call_once::h303911c608503e44 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 18: 0x5613e55bf833 - core::ops::function::FnOnce::call_once::hdbd2235b6243db3d [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x5613e55bf833 - test::__rust_begin_short_backtrace::hb1dea1c208110812 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/test/src/lib.rs:517:5 [INFO] [stdout] 20: 0x5613e55bdcda - as core::ops::function::FnOnce>::call_once::h5d11a40efef721f2 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/alloc/src/boxed.rs:1307:9 [INFO] [stdout] 21: 0x5613e55bdcda - as core::ops::function::FnOnce<()>>::call_once::h23961df98af0bc5a [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panic.rs:322:9 [INFO] [stdout] 22: 0x5613e55bdcda - std::panicking::try::do_call::h6390646e3de3fb9e [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:381:40 [INFO] [stdout] 23: 0x5613e55bdcda - std::panicking::try::hc531439ab6159192 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:345:19 [INFO] [stdout] 24: 0x5613e55bdcda - std::panic::catch_unwind::h859d8bdaf9b4855c [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panic.rs:396:14 [INFO] [stdout] 25: 0x5613e55bdcda - test::run_test_in_process::hae60aa74417e3abc [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/test/src/lib.rs:544:18 [INFO] [stdout] 26: 0x5613e55bdcda - test::run_test::run_test_inner::{{closure}}::hf48c86652c4a151d [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/test/src/lib.rs:450:39 [INFO] [stdout] 27: 0x5613e5597066 - std::sys_common::backtrace::__rust_begin_short_backtrace::hb82b392232b8bd1f [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 28: 0x5613e559c063 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h79ca9e9abe157956 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/thread/mod.rs:474:17 [INFO] [stdout] 29: 0x5613e559c063 - as core::ops::function::FnOnce<()>>::call_once::ha12f1f228780a4f7 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panic.rs:322:9 [INFO] [stdout] 30: 0x5613e559c063 - std::panicking::try::do_call::h722bb7416d021cdc [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:381:40 [INFO] [stdout] 31: 0x5613e559c063 - std::panicking::try::h78e5abca71ac7cac [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:345:19 [INFO] [stdout] 32: 0x5613e559c063 - std::panic::catch_unwind::h95162588bd0fa090 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panic.rs:396:14 [INFO] [stdout] 33: 0x5613e559c063 - std::thread::Builder::spawn_unchecked::{{closure}}::h64da5c4b9acc58dc [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/thread/mod.rs:473:30 [INFO] [stdout] 34: 0x5613e559c063 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h7a8c588ad0b69edb [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 35: 0x5613e565157a - as core::ops::function::FnOnce>::call_once::h09ff301006f1aeca [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/alloc/src/boxed.rs:1307:9 [INFO] [stdout] 36: 0x5613e565157a - as core::ops::function::FnOnce>::call_once::he79488c8f00b5f31 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/alloc/src/boxed.rs:1307:9 [INFO] [stdout] 37: 0x5613e565157a - std::sys::unix::thread::Thread::new::thread_start::h587efff279c68ba7 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 38: 0x7f3a0e5c7609 - start_thread [INFO] [stdout] 39: 0x7f3a0e39f293 - clone [INFO] [stdout] 40: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] algorithm::tests::test_int_sort [INFO] [stdout] notes::sort::tests::test_get_a_vec [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "17d6f40d33a5ee5403c7d1a2a6899dd519a00860b0a2650a5e60674da56e9608", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17d6f40d33a5ee5403c7d1a2a6899dd519a00860b0a2650a5e60674da56e9608", kill_on_drop: false }` [INFO] [stdout] 17d6f40d33a5ee5403c7d1a2a6899dd519a00860b0a2650a5e60674da56e9608