[INFO] cloning repository https://github.com/nickx720/systems_programming [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nickx720/systems_programming" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnickx720%2Fsystems_programming", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnickx720%2Fsystems_programming'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dee26357724b7f55cad4802a919fc23e9eb9dc10 [INFO] building nickx720/systems_programming against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnickx720%2Fsystems_programming" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nickx720/systems_programming on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nickx720/systems_programming [INFO] finished tweaking git repo https://github.com/nickx720/systems_programming [INFO] tweaked toml for git repo https://github.com/nickx720/systems_programming written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nickx720/systems_programming 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8cf2ac501dcd84e967596f4fcd94e01494474583ef6cef12d37c588e8da0c0c3 [INFO] running `Command { std: "docker" "start" "-a" "8cf2ac501dcd84e967596f4fcd94e01494474583ef6cef12d37c588e8da0c0c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8cf2ac501dcd84e967596f4fcd94e01494474583ef6cef12d37c588e8da0c0c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cf2ac501dcd84e967596f4fcd94e01494474583ef6cef12d37c588e8da0c0c3", kill_on_drop: false }` [INFO] [stdout] 8cf2ac501dcd84e967596f4fcd94e01494474583ef6cef12d37c588e8da0c0c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65eeb6a122b6964740648eb9112610c568b644e6ee4f6a1d3094b423485869c5 [INFO] running `Command { std: "docker" "start" "-a" "65eeb6a122b6964740648eb9112610c568b644e6ee4f6a1d3094b423485869c5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling systems_program v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sample_shell::run_shell` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sample_shell::run_shell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/excercies/lecture4/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `i32` [INFO] [stdout] --> src/excercies/lecture5/mod.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{i32, thread, time}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cow::cow_main` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cow::cow_main; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/excercies/lecture5/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | for id in 0..num_threads { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/excercies/lecture5/mod.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | fn parallel_map(mut input_vec: Vec, num_threads: usize, f: F) -> Vec [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 `write_to_stdout` is never used [INFO] [stdout] --> src/sample_shell.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn write_to_stdout(text: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_command` is never used [INFO] [stdout] --> src/sample_shell.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_user_command() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_shell` is never used [INFO] [stdout] --> src/sample_shell.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn run_shell() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linkedmain` is never used [INFO] [stdout] --> src/excercies/lecture3/linked_list/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn linkedmain() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_input_numbers` is never used [INFO] [stdout] --> src/excercies/lecture4/mod.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn get_input_numbers() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `factor_prime_main` is never used [INFO] [stdout] --> src/excercies/lecture4/mod.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn factor_prime_main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/cow/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct User<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_owned`, `new_borrowed`, `first_name`, and `last_name` are never used [INFO] [stdout] --> src/cow/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a> User<'a> { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new_owned(first_name: String, last_name: String) -> User<'static> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn new_borrowed(first_name: &'a str, last_name: &'a str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn first_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn last_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_whitespaces` is never used [INFO] [stdout] --> src/cow/mod.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn remove_whitespaces(s: &str) -> Cow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cow_main` is never used [INFO] [stdout] --> src/cow/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn cow_main() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.75s [INFO] running `Command { std: "docker" "inspect" "65eeb6a122b6964740648eb9112610c568b644e6ee4f6a1d3094b423485869c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65eeb6a122b6964740648eb9112610c568b644e6ee4f6a1d3094b423485869c5", kill_on_drop: false }` [INFO] [stdout] 65eeb6a122b6964740648eb9112610c568b644e6ee4f6a1d3094b423485869c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 842cffcda885d5757850e901228d0c77c6ecf4ceeba5837f5510b3be62fb60b8 [INFO] running `Command { std: "docker" "start" "-a" "842cffcda885d5757850e901228d0c77c6ecf4ceeba5837f5510b3be62fb60b8", kill_on_drop: false }` [INFO] [stderr] Compiling systems_program v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sample_shell::run_shell` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sample_shell::run_shell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/excercies/lecture4/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `i32` [INFO] [stdout] --> src/excercies/lecture5/mod.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{i32, thread, time}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cow::cow_main` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cow::cow_main; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/excercies/lecture5/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | for id in 0..num_threads { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/excercies/lecture5/mod.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | fn parallel_map(mut input_vec: Vec, num_threads: usize, f: F) -> Vec [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 `write_to_stdout` is never used [INFO] [stdout] --> src/sample_shell.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn write_to_stdout(text: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_command` is never used [INFO] [stdout] --> src/sample_shell.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_user_command() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_shell` is never used [INFO] [stdout] --> src/sample_shell.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn run_shell() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linkedmain` is never used [INFO] [stdout] --> src/excercies/lecture3/linked_list/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn linkedmain() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_input_numbers` is never used [INFO] [stdout] --> src/excercies/lecture4/mod.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn get_input_numbers() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `factor_prime_main` is never used [INFO] [stdout] --> src/excercies/lecture4/mod.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn factor_prime_main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/cow/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct User<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_owned`, `new_borrowed`, `first_name`, and `last_name` are never used [INFO] [stdout] --> src/cow/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a> User<'a> { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new_owned(first_name: String, last_name: String) -> User<'static> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn new_borrowed(first_name: &'a str, last_name: &'a str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn first_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn last_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_whitespaces` is never used [INFO] [stdout] --> src/cow/mod.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn remove_whitespaces(s: &str) -> Cow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cow_main` is never used [INFO] [stdout] --> src/cow/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn cow_main() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "842cffcda885d5757850e901228d0c77c6ecf4ceeba5837f5510b3be62fb60b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "842cffcda885d5757850e901228d0c77c6ecf4ceeba5837f5510b3be62fb60b8", kill_on_drop: false }` [INFO] [stdout] 842cffcda885d5757850e901228d0c77c6ecf4ceeba5837f5510b3be62fb60b8