[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] 66acbfcbeae3d5f99905786b9c84192c43e47560 [INFO] testing suhanyujie/rust-cookbook-note against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhanyujie%2Frust-cookbook-note" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/suhanyujie/rust-cookbook-note on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "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-6-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing suhanyujie/rust-cookbook-note against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhanyujie%2Frust-cookbook-note" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/suhanyujie/rust-cookbook-note on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "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-6-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "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 [ERROR] error running command: no output for 300 seconds [INFO] testing suhanyujie/rust-cookbook-note against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhanyujie%2Frust-cookbook-note" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/suhanyujie/rust-cookbook-note on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "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-6-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "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 [ERROR] error running command: no output for 300 seconds [INFO] testing suhanyujie/rust-cookbook-note against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhanyujie%2Frust-cookbook-note" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/suhanyujie/rust-cookbook-note on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "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-6-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8607fbc423b96ad3dff392361fd50507b602be4a4bc1e6d2235ce0a42b335bd3 [INFO] running `Command { std: "docker" "start" "-a" "8607fbc423b96ad3dff392361fd50507b602be4a4bc1e6d2235ce0a42b335bd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8607fbc423b96ad3dff392361fd50507b602be4a4bc1e6d2235ce0a42b335bd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8607fbc423b96ad3dff392361fd50507b602be4a4bc1e6d2235ce0a42b335bd3", kill_on_drop: false }` [INFO] [stdout] 8607fbc423b96ad3dff392361fd50507b602be4a4bc1e6d2235ce0a42b335bd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de8fdc4f3ccf03fcb7de3c91bf91de8fafcb3f22f02a5ab3485c47fea5f37b43 [INFO] running `Command { std: "docker" "start" "-a" "de8fdc4f3ccf03fcb7de3c91bf91de8fafcb3f22f02a5ab3485c47fea5f37b43", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [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 ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [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 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: the item `Vec` is imported redundantly [INFO] [stdout] --> src/notes/op_rhs.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [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: 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: 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: 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: `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: function `gen_a_u8_num` is never used [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 `gen_a_i32_num` is never used [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 `gen_random_within_range` is never used [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: fields `x` and `y` are never read [INFO] [stdout] --> src/algorithm.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct Point { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 71 | x: i32, [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] [INFO] [stdout] [INFO] [stdout] warning: function `get_random_string` is never used [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 `get_random_string_from_customer_str` is never used [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: trait `Bird` is never used [INFO] [stdout] --> src/notes/alpha.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | trait Bird { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Duck` is never constructed [INFO] [stdout] --> src/notes/alpha.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Duck; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Swan` is never constructed [INFO] [stdout] --> src/notes/alpha.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Swan; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_traitobject` is never used [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 `run` is never used [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: fields `x_value` and `y_value` are never read [INFO] [stdout] --> src/notes/copy_trait.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Point { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | x_value: i32, [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] [INFO] [stdout] [INFO] [stdout] warning: struct `MyData0` is never constructed [INFO] [stdout] --> src/notes/process_data_competition.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct MyData0(Rc); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyData0` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/notes/process_data_competition.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl MyData0 { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 18 | pub fn new(num: isize) -> MyData0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/notes/process_data_competition.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct MyData(Arc>); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `MyData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | pub struct MyData(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_resolve_competition` is never used [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 `simple_bubble` is never used [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 `insert` is never used [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 `shell_sort` is never used [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 `get_shell_addition_rate` is never used [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 `one_file_func` is never used [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: trait `Human` is never used [INFO] [stdout] --> src/notes/test_module/one_file.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait Human { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, and `age` are never read [INFO] [stdout] --> src/notes/test_module/one_file.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Stu { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 13 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | name: String, [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] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.59s [INFO] running `Command { std: "docker" "inspect" "de8fdc4f3ccf03fcb7de3c91bf91de8fafcb3f22f02a5ab3485c47fea5f37b43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de8fdc4f3ccf03fcb7de3c91bf91de8fafcb3f22f02a5ab3485c47fea5f37b43", kill_on_drop: false }` [INFO] [stdout] de8fdc4f3ccf03fcb7de3c91bf91de8fafcb3f22f02a5ab3485c47fea5f37b43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc76fc211ad63149131e8ed5aa005724900f3709b07584acac47361c0987eeae [INFO] running `Command { std: "docker" "start" "-a" "fc76fc211ad63149131e8ed5aa005724900f3709b07584acac47361c0987eeae", kill_on_drop: false }` [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: the item `Vec` is imported redundantly [INFO] [stdout] --> src/notes/op_rhs.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [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: 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: 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: 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: `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: function `gen_a_u8_num` is never used [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 `gen_a_i32_num` is never used [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 `gen_random_within_range` is never used [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: fields `x` and `y` are never read [INFO] [stdout] --> src/algorithm.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct Point { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 71 | x: i32, [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] [INFO] [stdout] [INFO] [stdout] warning: trait `Bird` is never used [INFO] [stdout] --> src/notes/alpha.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | trait Bird { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Duck` is never constructed [INFO] [stdout] --> src/notes/alpha.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Duck; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Swan` is never constructed [INFO] [stdout] --> src/notes/alpha.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Swan; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_traitobject` is never used [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 `run` is never used [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: fields `x_value` and `y_value` are never read [INFO] [stdout] --> src/notes/copy_trait.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Point { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | x_value: i32, [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] [INFO] [stdout] [INFO] [stdout] warning: struct `MyData0` is never constructed [INFO] [stdout] --> src/notes/process_data_competition.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct MyData0(Rc); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyData0` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/notes/process_data_competition.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl MyData0 { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 18 | pub fn new(num: isize) -> MyData0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/notes/process_data_competition.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct MyData(Arc>); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `MyData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | pub struct MyData(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_resolve_competition` is never used [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 `shell_sort` is never used [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 `get_shell_addition_rate` is never used [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 `one_file_func` is never used [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: trait `Human` is never used [INFO] [stdout] --> src/notes/test_module/one_file.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait Human { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, and `age` are never read [INFO] [stdout] --> src/notes/test_module/one_file.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Stu { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 13 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | name: String, [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] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "fc76fc211ad63149131e8ed5aa005724900f3709b07584acac47361c0987eeae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc76fc211ad63149131e8ed5aa005724900f3709b07584acac47361c0987eeae", kill_on_drop: false }` [INFO] [stdout] fc76fc211ad63149131e8ed5aa005724900f3709b07584acac47361c0987eeae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bbbd271e0bffb623a480bd05ba82408381de4baadc5832867fe30d95b4af837a [INFO] running `Command { std: "docker" "start" "-a" "bbbd271e0bffb623a480bd05ba82408381de4baadc5832867fe30d95b4af837a", 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: the item `Vec` is imported redundantly [INFO] [stderr] --> src/notes/op_rhs.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::vec::Vec; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/prelude/mod.rs:115:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `Vec` is already defined here [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: 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: 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: 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: `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: function `gen_a_u8_num` is never used [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 `gen_a_i32_num` is never used [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 `gen_random_within_range` is never used [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: fields `x` and `y` are never read [INFO] [stderr] --> src/algorithm.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 70 | struct Point { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 71 | x: i32, [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] [INFO] [stderr] warning: trait `Bird` is never used [INFO] [stderr] --> src/notes/alpha.rs:5:7 [INFO] [stderr] | [INFO] [stderr] 5 | trait Bird { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Duck` is never constructed [INFO] [stderr] --> src/notes/alpha.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | struct Duck; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Swan` is never constructed [INFO] [stderr] --> src/notes/alpha.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | struct Swan; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_traitobject` is never used [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 `run` is never used [INFO] [stderr] --> src/notes/alpha.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn run() { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `x_value` and `y_value` are never read [INFO] [stderr] --> src/notes/copy_trait.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 10 | struct Point { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 11 | x_value: i32, [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] [INFO] [stderr] warning: struct `MyData0` is never constructed [INFO] [stderr] --> src/notes/process_data_competition.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 15 | struct MyData0(Rc); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MyData0` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/notes/process_data_competition.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl MyData0 { [INFO] [stderr] | ------------ associated function in this implementation [INFO] [stderr] 18 | pub fn new(num: isize) -> MyData0 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/notes/process_data_competition.rs:24:19 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct MyData(Arc>); [INFO] [stderr] | ------ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = note: `MyData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 24 | pub struct MyData(()); [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: function `test_resolve_competition` is never used [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 `shell_sort` is never used [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 `get_shell_addition_rate` is never used [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 `one_file_func` is never used [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: trait `Human` is never used [INFO] [stderr] --> src/notes/test_module/one_file.rs:6:7 [INFO] [stderr] | [INFO] [stderr] 6 | trait Human { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `name`, and `age` are never read [INFO] [stderr] --> src/notes/test_module/one_file.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Stu { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] 13 | id: i32, [INFO] [stderr] | ^^ [INFO] [stderr] 14 | name: String, [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] [INFO] [stderr] warning: `cookbook` (bin "cookbook" test) generated 38 warnings (run `cargo fix --bin "cookbook" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cookbook-2476ffb50ec38cf6) [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 algorithm::test_get_random_string_from_customer_str ... ok [INFO] [stdout] test notes::op_rhs::tests::test_point_add ... 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 src/algorithm.rs:18:9: [INFO] [stdout] assertion failed: false [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x561705ba3dd6 - std::backtrace_rs::backtrace::libunwind::trace::hbf3981e6c8a62f19 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x561705ba3dd6 - std::backtrace_rs::backtrace::trace_unsynchronized::h5d13053d67c404cc [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x561705ba3dd6 - std::sys_common::backtrace::_print_fmt::hd24dc5b701eaf8ad [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x561705ba3dd6 - ::fmt::h1d0155c7c5a7d116 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x561705bcbc4c - core::fmt::rt::Argument::fmt::h462c7a4781d69908 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x561705bcbc4c - core::fmt::write::h3cadc3d0c35667c3 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x561705ba15ff - std::io::Write::write_fmt::h7b46babfe8aff3fc [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/io/mod.rs:1846:15 [INFO] [stdout] 7: 0x561705ba3b84 - std::sys_common::backtrace::_print::h21e0ad4a03aa55df [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x561705ba3b84 - std::sys_common::backtrace::print::hb7cfd89cda9bdca7 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x561705ba587b - std::panicking::default_hook::{{closure}}::hceb0cad555a61bc8 [INFO] [stdout] 10: 0x561705ba554d - std::panicking::default_hook::h00eb745c4c12778b [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x561705b72687 - as core::ops::function::Fn>::call::h6a7083dbc9bd7b5f [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 12: 0x561705b72687 - test::test_main::{{closure}}::h4db87ac2515c25e3 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:137:21 [INFO] [stdout] 13: 0x561705ba5eb0 - as core::ops::function::Fn>::call::hf3b7bc2e2257730b [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 14: 0x561705ba5eb0 - std::panicking::rust_panic_with_hook::hccddb3269d601551 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:786:13 [INFO] [stdout] 15: 0x561705ba5bb9 - std::panicking::begin_panic_handler::{{closure}}::h1759cdf989495c64 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:652:13 [INFO] [stdout] 16: 0x561705ba42b6 - std::sys_common::backtrace::__rust_end_short_backtrace::h209794238b4d13a4 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x561705ba5924 - rust_begin_unwind [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:648:5 [INFO] [stdout] 18: 0x561705b3b035 - core::panicking::panic_fmt::ha17ebef8fbaa0a3e [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x561705b3b0f3 - core::panicking::panic::h9fb5d6cfd10e47f7 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panicking.rs:144:5 [INFO] [stdout] 20: 0x561705b3d52f - cookbook::algorithm::tests::test_int_sort::heaec28cffc31ce44 [INFO] [stdout] at /opt/rustwide/workdir/src/algorithm.rs:18:9 [INFO] [stdout] 21: 0x561705b3d52f - cookbook::algorithm::tests::test_int_sort::{{closure}}::h1dcaa160673a95bf [INFO] [stdout] at /opt/rustwide/workdir/src/algorithm.rs:16:23 [INFO] [stdout] 22: 0x561705b3d52f - core::ops::function::FnOnce::call_once::h9f113b5dab678357 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x561705b77e8f - core::ops::function::FnOnce::call_once::hb293dddd1a0c8d0c [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x561705b77e8f - test::__rust_begin_short_backtrace::hcc33cf50a0d42744 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:620:18 [INFO] [stdout] 25: 0x561705b76a00 - test::run_test_in_process::{{closure}}::h1a67b8b225cf5559 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:643:60 [INFO] [stdout] 26: 0x561705b76a00 - as core::ops::function::FnOnce<()>>::call_once::h6c8366f6b1a529d0 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x561705b76a00 - std::panicking::try::do_call::h3ac771f4eea356d5 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:555:40 [INFO] [stdout] 28: 0x561705b76a00 - std::panicking::try::h2b1799e4f57e5bcf [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:519:19 [INFO] [stdout] 29: 0x561705b76a00 - std::panic::catch_unwind::h0a3cc3fea72ac271 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panic.rs:142:14 [INFO] [stdout] 30: 0x561705b76a00 - test::run_test_in_process::h47356101e0c4cc43 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:643:27 [INFO] [stdout] 31: 0x561705b76a00 - test::run_test::{{closure}}::hfc86d13e98ee1936 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:566:43 [INFO] [stdout] 32: 0x561705b3ed43 - test::run_test::{{closure}}::h077c30ad86447616 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:594:41 [INFO] [stdout] 33: 0x561705b3ed43 - std::sys_common::backtrace::__rust_begin_short_backtrace::h7a0647371687c548 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 34: 0x561705b439df - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h0ade0df8a561803e [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/thread/mod.rs:528:17 [INFO] [stdout] 35: 0x561705b439df - as core::ops::function::FnOnce<()>>::call_once::h94e6781319385c1d [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x561705b439df - std::panicking::try::do_call::h2d8e7d2812ed142e [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:555:40 [INFO] [stdout] 37: 0x561705b439df - std::panicking::try::hfec8a6adb9bfcaea [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:519:19 [INFO] [stdout] 38: 0x561705b439df - std::panic::catch_unwind::hf488fb91a41eb5b5 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panic.rs:142:14 [INFO] [stdout] 39: 0x561705b439df - std::thread::Builder::spawn_unchecked_::{{closure}}::h306975a3cadd5153 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/thread/mod.rs:527:30 [INFO] [stdout] 40: 0x561705b439df - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4f4ed26f27d558ae [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x561705baa135 - as core::ops::function::FnOnce>::call_once::h17d6fdbdde1f730c [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 42: 0x561705baa135 - as core::ops::function::FnOnce>::call_once::h298d88b0d0cf4d06 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 43: 0x561705baa135 - std::sys::pal::unix::thread::Thread::new::thread_start::h1ecd97591626fa72 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 44: 0x7fa119f38ac3 - [INFO] [stdout] 45: 0x7fa119fc9bf4 - __clone [INFO] [stdout] 46: 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 src/notes/sort.rs:84:9: [INFO] [stdout] assertion failed: false [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x561705ba3dd6 - std::backtrace_rs::backtrace::libunwind::trace::hbf3981e6c8a62f19 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x561705ba3dd6 - std::backtrace_rs::backtrace::trace_unsynchronized::h5d13053d67c404cc [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x561705ba3dd6 - std::sys_common::backtrace::_print_fmt::hd24dc5b701eaf8ad [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x561705ba3dd6 - ::fmt::h1d0155c7c5a7d116 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x561705bcbc4c - core::fmt::rt::Argument::fmt::h462c7a4781d69908 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x561705bcbc4c - core::fmt::write::h3cadc3d0c35667c3 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x561705ba15ff - std::io::Write::write_fmt::h7b46babfe8aff3fc [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/io/mod.rs:1846:15 [INFO] [stdout] 7: 0x561705ba3b84 - std::sys_common::backtrace::_print::h21e0ad4a03aa55df [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x561705ba3b84 - std::sys_common::backtrace::print::hb7cfd89cda9bdca7 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x561705ba587b - std::panicking::default_hook::{{closure}}::hceb0cad555a61bc8 [INFO] [stdout] 10: 0x561705ba554d - std::panicking::default_hook::h00eb745c4c12778b [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x561705b72687 - as core::ops::function::Fn>::call::h6a7083dbc9bd7b5f [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 12: 0x561705b72687 - test::test_main::{{closure}}::h4db87ac2515c25e3 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:137:21 [INFO] [stdout] 13: 0x561705ba5eb0 - as core::ops::function::Fn>::call::hf3b7bc2e2257730b [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 14: 0x561705ba5eb0 - std::panicking::rust_panic_with_hook::hccddb3269d601551 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:786:13 [INFO] [stdout] 15: 0x561705ba5bb9 - std::panicking::begin_panic_handler::{{closure}}::h1759cdf989495c64 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:652:13 [INFO] [stdout] 16: 0x561705ba42b6 - std::sys_common::backtrace::__rust_end_short_backtrace::h209794238b4d13a4 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x561705ba5924 - rust_begin_unwind [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:648:5 [INFO] [stdout] 18: 0x561705b3b035 - core::panicking::panic_fmt::ha17ebef8fbaa0a3e [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x561705b3b0f3 - core::panicking::panic::h9fb5d6cfd10e47f7 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panicking.rs:144:5 [INFO] [stdout] 20: 0x561705b3d7a2 - cookbook::notes::sort::tests::test_get_a_vec::h4fe9d4c6ad869169 [INFO] [stdout] at /opt/rustwide/workdir/src/notes/sort.rs:84:9 [INFO] [stdout] 21: 0x561705b3d7a2 - cookbook::notes::sort::tests::test_get_a_vec::{{closure}}::h5c0241fa16dd0a07 [INFO] [stdout] at /opt/rustwide/workdir/src/notes/sort.rs:78:24 [INFO] [stdout] 22: 0x561705b3d7a2 - core::ops::function::FnOnce::call_once::hc3218dce9f99a10c [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x561705b77e8f - core::ops::function::FnOnce::call_once::hb293dddd1a0c8d0c [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x561705b77e8f - test::__rust_begin_short_backtrace::hcc33cf50a0d42744 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:620:18 [INFO] [stdout] 25: 0x561705b76a00 - test::run_test_in_process::{{closure}}::h1a67b8b225cf5559 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:643:60 [INFO] [stdout] 26: 0x561705b76a00 - as core::ops::function::FnOnce<()>>::call_once::h6c8366f6b1a529d0 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x561705b76a00 - std::panicking::try::do_call::h3ac771f4eea356d5 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:555:40 [INFO] [stdout] 28: 0x561705b76a00 - std::panicking::try::h2b1799e4f57e5bcf [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:519:19 [INFO] [stdout] 29: 0x561705b76a00 - std::panic::catch_unwind::h0a3cc3fea72ac271 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panic.rs:142:14 [INFO] [stdout] 30: 0x561705b76a00 - test::run_test_in_process::h47356101e0c4cc43 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:643:27 [INFO] [stdout] 31: 0x561705b76a00 - test::run_test::{{closure}}::hfc86d13e98ee1936 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:566:43 [INFO] [stdout] 32: 0x561705b3ed43 - test::run_test::{{closure}}::h077c30ad86447616 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/test/src/lib.rs:594:41 [INFO] [stdout] 33: 0x561705b3ed43 - std::sys_common::backtrace::__rust_begin_short_backtrace::h7a0647371687c548 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 34: 0x561705b439df - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h0ade0df8a561803e [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/thread/mod.rs:528:17 [INFO] [stdout] 35: 0x561705b439df - as core::ops::function::FnOnce<()>>::call_once::h94e6781319385c1d [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x561705b439df - std::panicking::try::do_call::h2d8e7d2812ed142e [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:555:40 [INFO] [stdout] 37: 0x561705b439df - std::panicking::try::hfec8a6adb9bfcaea [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panicking.rs:519:19 [INFO] [stdout] 38: 0x561705b439df - std::panic::catch_unwind::hf488fb91a41eb5b5 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/panic.rs:142:14 [INFO] [stdout] 39: 0x561705b439df - std::thread::Builder::spawn_unchecked_::{{closure}}::h306975a3cadd5153 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/thread/mod.rs:527:30 [INFO] [stdout] 40: 0x561705b439df - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4f4ed26f27d558ae [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x561705baa135 - as core::ops::function::FnOnce>::call_once::h17d6fdbdde1f730c [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 42: 0x561705baa135 - as core::ops::function::FnOnce>::call_once::h298d88b0d0cf4d06 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 43: 0x561705baa135 - std::sys::pal::unix::thread::Thread::new::thread_start::h1ecd97591626fa72 [INFO] [stdout] at /rustc/d073071d77ce0f93b4fd8cc567a1e2b9e1b22126/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 44: 0x7fa119f38ac3 - [INFO] [stdout] 45: 0x7fa119fc9bf4 - __clone [INFO] [stdout] 46: 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.01s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin cookbook` [INFO] running `Command { std: "docker" "inspect" "bbbd271e0bffb623a480bd05ba82408381de4baadc5832867fe30d95b4af837a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbbd271e0bffb623a480bd05ba82408381de4baadc5832867fe30d95b4af837a", kill_on_drop: false }` [INFO] [stdout] bbbd271e0bffb623a480bd05ba82408381de4baadc5832867fe30d95b4af837a