[INFO] cloning repository https://github.com/islami00/cscS01-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/islami00/cscS01-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fislami00%2FcscS01-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fislami00%2FcscS01-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 180bb6dbf34a611fe48e26e6d7363983340e7e5f [INFO] checking islami00/cscS01-rust against try#3a4cb0edb4040379c037e06efeb5409e44be7b77 for pr-146377 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fislami00%2FcscS01-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/islami00/cscS01-rust [INFO] finished tweaking git repo https://github.com/islami00/cscS01-rust [INFO] tweaked toml for git repo https://github.com/islami00/cscS01-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/islami00/cscS01-rust on toolchain 3a4cb0edb4040379c037e06efeb5409e44be7b77 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/islami00/cscS01-rust 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" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c90f04690dc44a845d73c06dfa2261e2df69cfb8bb001b0607de5fd2f5c51f8 [INFO] running `Command { std: "docker" "start" "-a" "5c90f04690dc44a845d73c06dfa2261e2df69cfb8bb001b0607de5fd2f5c51f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c90f04690dc44a845d73c06dfa2261e2df69cfb8bb001b0607de5fd2f5c51f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c90f04690dc44a845d73c06dfa2261e2df69cfb8bb001b0607de5fd2f5c51f8", kill_on_drop: false }` [INFO] [stdout] 5c90f04690dc44a845d73c06dfa2261e2df69cfb8bb001b0607de5fd2f5c51f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dea5af0b4c701b062921ebdc8bda684604bfa5f1f4b812c2d724b1093bc9bd16 [INFO] running `Command { std: "docker" "start" "-a" "dea5af0b4c701b062921ebdc8bda684604bfa5f1f4b812c2d724b1093bc9bd16", kill_on_drop: false }` [INFO] [stderr] Checking rust-set v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/stack.rs:50:48 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn pop(&mut self) -> Result>,Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - pub fn pop(&mut self) -> Result>,Error> { [INFO] [stdout] 50 + pub fn pop(&mut self) -> Result>,Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/stack.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn peak(&self) -> Option<&Box<(dyn Debug + 'st)>> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - pub fn peak(&self) -> Option<&Box<(dyn Debug + 'st)>> { [INFO] [stdout] 57 + pub fn peak(&self) -> Option<&Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/stack.rs:50:48 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn pop(&mut self) -> Result>,Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - pub fn pop(&mut self) -> Result>,Error> { [INFO] [stdout] 50 + pub fn pop(&mut self) -> Result>,Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/stack.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn peak(&self) -> Option<&Box<(dyn Debug + 'st)>> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - pub fn peak(&self) -> Option<&Box<(dyn Debug + 'st)>> { [INFO] [stdout] 57 + pub fn peak(&self) -> Option<&Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stack` is never constructed [INFO] [stdout] --> src/stack.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Stack<'st> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peak`, `is_empty`, and `is_full` are never used [INFO] [stdout] --> src/stack.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'st> Stack<'st> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(size: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn push(&mut self, el: T) -> Result<(), Error> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn pop(&mut self) -> Result>,Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn peak(&self) -> Option<&Box<(dyn Debug + 'st)>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stack` is never constructed [INFO] [stdout] --> src/stack.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Stack<'st> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, `pop`, `peak`, `is_empty`, and `is_full` are never used [INFO] [stdout] --> src/stack.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'st> Stack<'st> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(size: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn push(&mut self, el: T) -> Result<(), Error> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn pop(&mut self) -> Result>,Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn peak(&self) -> Option<&Box<(dyn Debug + 'st)>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "dea5af0b4c701b062921ebdc8bda684604bfa5f1f4b812c2d724b1093bc9bd16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dea5af0b4c701b062921ebdc8bda684604bfa5f1f4b812c2d724b1093bc9bd16", kill_on_drop: false }` [INFO] [stdout] dea5af0b4c701b062921ebdc8bda684604bfa5f1f4b812c2d724b1093bc9bd16