[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a94388e0cc3cb155543acd97498b72629e68033 [INFO] testing suhanyujie/rust-cookbook-note/4a94388e0cc3cb155543acd97498b72629e68033 against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhanyujie%2Frust-cookbook-note" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/suhanyujie/rust-cookbook-note on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-15/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.60.0" "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-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48488c6dea8956cc95587f1d1d70bf0367b92ea15962fc91c301f14be8053787 [INFO] running `Command { std: "docker" "start" "-a" "48488c6dea8956cc95587f1d1d70bf0367b92ea15962fc91c301f14be8053787", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48488c6dea8956cc95587f1d1d70bf0367b92ea15962fc91c301f14be8053787", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48488c6dea8956cc95587f1d1d70bf0367b92ea15962fc91c301f14be8053787", kill_on_drop: false }` [INFO] [stdout] 48488c6dea8956cc95587f1d1d70bf0367b92ea15962fc91c301f14be8053787 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86e833366347015e254aa75e6ae816544136abedb66d10d9f0e98aad61b24732 [INFO] running `Command { std: "docker" "start" "-a" "86e833366347015e254aa75e6ae816544136abedb66d10d9f0e98aad61b24732", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling c2-chacha v0.2.3 [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 chrono v0.4.13 [INFO] [stderr] Compiling rand v0.7.3 [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: 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] = note: `#[warn(unused_attributes)]` on by default [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: field is never read: `x` [INFO] [stdout] --> src/algorithm.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | x: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/algorithm.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/algorithm.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | y: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/algorithm.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: field is never read: `x_value` [INFO] [stdout] --> src/notes/copy_trait.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | x_value: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/notes/copy_trait.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y_value` [INFO] [stdout] --> src/notes/copy_trait.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | y_value: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/notes/copy_trait.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/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:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | 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:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | 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:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | 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: field is never read: `id` [INFO] [stdout] --> src/notes/test_module/one_file.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Stu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/notes/test_module/one_file.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/notes/test_module/one_file.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Stu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/notes/test_module/one_file.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `age` [INFO] [stdout] --> src/notes/test_module/one_file.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | age: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Stu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/notes/test_module/one_file.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 59s [INFO] running `Command { std: "docker" "inspect" "86e833366347015e254aa75e6ae816544136abedb66d10d9f0e98aad61b24732", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86e833366347015e254aa75e6ae816544136abedb66d10d9f0e98aad61b24732", kill_on_drop: false }` [INFO] [stdout] 86e833366347015e254aa75e6ae816544136abedb66d10d9f0e98aad61b24732 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9363047e479bd179391faf82f96239752742069ae470ed9e0a8891bd64a67481 [INFO] running `Command { std: "docker" "start" "-a" "9363047e479bd179391faf82f96239752742069ae470ed9e0a8891bd64a67481", 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: 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] = note: `#[warn(unused_attributes)]` on by default [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: field is never read: `x` [INFO] [stdout] --> src/algorithm.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | x: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/algorithm.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/algorithm.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | y: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/algorithm.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: field is never read: `x_value` [INFO] [stdout] --> src/notes/copy_trait.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | x_value: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/notes/copy_trait.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y_value` [INFO] [stdout] --> src/notes/copy_trait.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | y_value: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/notes/copy_trait.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/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:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | 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:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | 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: field is never read: `id` [INFO] [stdout] --> src/notes/test_module/one_file.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Stu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/notes/test_module/one_file.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/notes/test_module/one_file.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Stu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/notes/test_module/one_file.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `age` [INFO] [stdout] --> src/notes/test_module/one_file.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | age: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Stu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/notes/test_module/one_file.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.21s [INFO] running `Command { std: "docker" "inspect" "9363047e479bd179391faf82f96239752742069ae470ed9e0a8891bd64a67481", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9363047e479bd179391faf82f96239752742069ae470ed9e0a8891bd64a67481", kill_on_drop: false }` [INFO] [stdout] 9363047e479bd179391faf82f96239752742069ae470ed9e0a8891bd64a67481 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a77460a8309517202f5a66a987102eb0e45241a4cc5463886aafdc5f2ed86a93 [INFO] running `Command { std: "docker" "start" "-a" "a77460a8309517202f5a66a987102eb0e45241a4cc5463886aafdc5f2ed86a93", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [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: 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] = note: `#[warn(unused_attributes)]` on by default [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: field is never read: `x` [INFO] [stderr] --> src/algorithm.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | x: i32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/algorithm.rs:69:10 [INFO] [stderr] | [INFO] [stderr] 69 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `y` [INFO] [stderr] --> src/algorithm.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 72 | y: i32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/algorithm.rs:69:10 [INFO] [stderr] | [INFO] [stderr] 69 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 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: field is never read: `x_value` [INFO] [stderr] --> src/notes/copy_trait.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | x_value: i32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/notes/copy_trait.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `y_value` [INFO] [stderr] --> src/notes/copy_trait.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | y_value: i32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/notes/copy_trait.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 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:40:8 [INFO] [stderr] | [INFO] [stderr] 40 | 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:49:4 [INFO] [stderr] | [INFO] [stderr] 49 | 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: field is never read: `id` [INFO] [stderr] --> src/notes/test_module/one_file.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | id: i32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Stu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/notes/test_module/one_file.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/notes/test_module/one_file.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Stu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/notes/test_module/one_file.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `age` [INFO] [stderr] --> src/notes/test_module/one_file.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | age: u8, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Stu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/notes/test_module/one_file.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `cookbook` (bin "cookbook" test) generated 35 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cookbook-28e91db34cd3909d) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test algorithm::test_get_random_string ... ok [INFO] [stdout] test algorithm::tests::test_float_sort ... ok [INFO] [stdout] test notes::op_rhs::tests::test_point_add ... ok [INFO] [stdout] test algorithm::test_get_random_string_from_customer_str ... ok [INFO] [stdout] test notes::op_rhs::tests::test_vec_plus ... ok [INFO] [stdout] test notes::sort::tests::test_insert ... ok [INFO] [stdout] test notes::sort::tests::test_simple_bubble ... ok [INFO] [stdout] test algorithm::tests::test_int_sort ... FAILED [INFO] [stdout] test notes::sort::tests::test_get_a_vec ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [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: 0x5648980c1aed - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5648980c1aed - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5648980c1aed - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5648980c1aed - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5648980e733c - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x5648980bd3e8 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x5648980c3dc7 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5648980c3dc7 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5648980c3dc7 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5648980c3afc - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5648980c4519 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5648980c41c9 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:586:13 [INFO] [stdout] 12: 0x5648980c1fb4 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5648980c3f19 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x564898018603 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5648980184cd - core::panicking::panic::h4241c5ccea17faca [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:48:5 [INFO] [stdout] 16: 0x564898020992 - cookbook::algorithm::tests::test_int_sort::h824ad749e4537d28 [INFO] [stdout] at /opt/rustwide/workdir/src/algorithm.rs:18:9 [INFO] [stdout] 17: 0x56489802095a - cookbook::algorithm::tests::test_int_sort::{{closure}}::ha67a1155b4694b0c [INFO] [stdout] at /opt/rustwide/workdir/src/algorithm.rs:16:5 [INFO] [stdout] 18: 0x56489801f09e - core::ops::function::FnOnce::call_once::h064794fa3283f68a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x5648980527e3 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x5648980527e3 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 21: 0x5648980514c4 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 22: 0x5648980514c4 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 23: 0x5648980514c4 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 24: 0x5648980514c4 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 25: 0x5648980514c4 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 26: 0x5648980514c4 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 27: 0x5648980514c4 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 28: 0x56489805ade1 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 29: 0x56489805ade1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 30: 0x56489802745f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 31: 0x56489802745f - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 32: 0x56489802745f - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 33: 0x56489802745f - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 34: 0x56489802745f - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 35: 0x56489802745f - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 36: 0x56489802745f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 37: 0x5648980ca203 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 38: 0x5648980ca203 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 39: 0x5648980ca203 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 40: 0x7f973670c609 - start_thread [INFO] [stdout] 41: 0x7f97364e2163 - clone [INFO] [stdout] 42: 0x0 - [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:84:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5648980c1aed - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5648980c1aed - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5648980c1aed - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5648980c1aed - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5648980e733c - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x5648980bd3e8 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x5648980c3dc7 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5648980c3dc7 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5648980c3dc7 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5648980c3afc - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5648980c4519 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5648980c41c9 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:586:13 [INFO] [stdout] 12: 0x5648980c1fb4 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5648980c3f19 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x564898018603 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5648980184cd - core::panicking::panic::h4241c5ccea17faca [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:48:5 [INFO] [stdout] 16: 0x564898020601 - cookbook::notes::sort::tests::test_get_a_vec::h67ac7b9889a444ea [INFO] [stdout] at /opt/rustwide/workdir/src/notes/sort.rs:84:9 [INFO] [stdout] 17: 0x56489802042a - cookbook::notes::sort::tests::test_get_a_vec::{{closure}}::h6e1e57c82412a229 [INFO] [stdout] at /opt/rustwide/workdir/src/notes/sort.rs:78:5 [INFO] [stdout] 18: 0x56489801f11e - core::ops::function::FnOnce::call_once::h37ef6b6a84c492fc [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x5648980527e3 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x5648980527e3 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 21: 0x5648980514c4 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 22: 0x5648980514c4 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 23: 0x5648980514c4 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 24: 0x5648980514c4 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 25: 0x5648980514c4 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 26: 0x5648980514c4 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 27: 0x5648980514c4 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 28: 0x56489805ade1 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 29: 0x56489805ade1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 30: 0x56489802745f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 31: 0x56489802745f - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 32: 0x56489802745f - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 33: 0x56489802745f - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 34: 0x56489802745f - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 35: 0x56489802745f - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 36: 0x56489802745f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 37: 0x5648980ca203 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 38: 0x5648980ca203 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 39: 0x5648980ca203 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 40: 0x7f973670c609 - start_thread [INFO] [stdout] 41: 0x7f97364e2163 - clone [INFO] [stdout] 42: 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; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin cookbook' [INFO] running `Command { std: "docker" "inspect" "a77460a8309517202f5a66a987102eb0e45241a4cc5463886aafdc5f2ed86a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a77460a8309517202f5a66a987102eb0e45241a4cc5463886aafdc5f2ed86a93", kill_on_drop: false }` [INFO] [stdout] a77460a8309517202f5a66a987102eb0e45241a4cc5463886aafdc5f2ed86a93