[INFO] cloning repository https://github.com/TQLeung/CookBookRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TQLeung/CookBookRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTQLeung%2FCookBookRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTQLeung%2FCookBookRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 99ef545c82daf6f6c57e5128f6cf3577b704d014 [INFO] checking TQLeung/CookBookRust against master#8f359beca4e58bc3ae795a666301a8f47023044c for pr-121545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTQLeung%2FCookBookRust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TQLeung/CookBookRust on toolchain 8f359beca4e58bc3ae795a666301a8f47023044c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TQLeung/CookBookRust [INFO] finished tweaking git repo https://github.com/TQLeung/CookBookRust [INFO] tweaked toml for git repo https://github.com/TQLeung/CookBookRust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/TQLeung/CookBookRust 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" "+8f359beca4e58bc3ae795a666301a8f47023044c" "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] checking TQLeung/CookBookRust against try#7ee76453dd3eae6de6c1351f26482bed63b01beb for pr-121545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTQLeung%2FCookBookRust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TQLeung/CookBookRust on toolchain 7ee76453dd3eae6de6c1351f26482bed63b01beb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TQLeung/CookBookRust [INFO] finished tweaking git repo https://github.com/TQLeung/CookBookRust [INFO] tweaked toml for git repo https://github.com/TQLeung/CookBookRust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/TQLeung/CookBookRust 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" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ac2947a87f660f1389d1434aacae34ad4e461e38a9a2b821318c99b72d3b35f [INFO] running `Command { std: "docker" "start" "-a" "0ac2947a87f660f1389d1434aacae34ad4e461e38a9a2b821318c99b72d3b35f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ac2947a87f660f1389d1434aacae34ad4e461e38a9a2b821318c99b72d3b35f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ac2947a87f660f1389d1434aacae34ad4e461e38a9a2b821318c99b72d3b35f", kill_on_drop: false }` [INFO] [stdout] 0ac2947a87f660f1389d1434aacae34ad4e461e38a9a2b821318c99b72d3b35f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b23b94d3dfa5881e63e6c2b04f35ee6f1c329b20abc41adeb18131b71f1347e9 [INFO] running `Command { std: "docker" "start" "-a" "b23b94d3dfa5881e63e6c2b04f35ee6f1c329b20abc41adeb18131b71f1347e9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking cookbook_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `ptr`, `len`, and `cap` are never read [INFO] [stdout] --> src/tools/my_vec.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct MyVec{ [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 2 | ptr: *const T, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | len:usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | cap:usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ptr`, `len`, and `cap` are never read [INFO] [stdout] --> src/tools/my_vec.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct MyVec{ [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 2 | ptr: *const T, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | len:usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | cap:usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dealloc` [INFO] [stdout] --> src/bin/nonnull.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | alloc::{self, dealloc, Layout}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dealloc` [INFO] [stdout] --> src/bin/nonnull.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | alloc::{self, dealloc, Layout}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/auto_drop.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let a = A{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ptr` is never read [INFO] [stdout] --> src/bin/auto_drop.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct A<'a, T>{ [INFO] [stdout] | - field in this struct [INFO] [stdout] 10 | ptr:*const T, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/bin/nonnull.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | let (ptr, layout) = exec(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/bin/nonnull.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | let (ptr, layout) = exec(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `const_N_in_Generic` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `const_n_in_generic` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/auto_drop.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let a = A{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/bin/nonnull.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | let (ptr, layout) = exec(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/bin/nonnull.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | let (ptr, layout) = exec(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ptr` is never read [INFO] [stdout] --> src/bin/auto_drop.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct A<'a, T>{ [INFO] [stdout] | - field in this struct [INFO] [stdout] 10 | ptr:*const T, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/mem_alloc.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let mut i = 0usize; [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: field `0` is never read [INFO] [stdout] --> src/bin/mem_alloc.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | struct A(u8); [INFO] [stdout] | - ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `A` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 9 | struct A(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `const_N_in_Generic` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `const_n_in_generic` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/mem_alloc.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let mut i = 0usize; [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: field `0` is never read [INFO] [stdout] --> src/bin/mem_alloc.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | struct A(u8); [INFO] [stdout] | - ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `A` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 9 | struct A(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.83s [INFO] running `Command { std: "docker" "inspect" "b23b94d3dfa5881e63e6c2b04f35ee6f1c329b20abc41adeb18131b71f1347e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b23b94d3dfa5881e63e6c2b04f35ee6f1c329b20abc41adeb18131b71f1347e9", kill_on_drop: false }` [INFO] [stdout] b23b94d3dfa5881e63e6c2b04f35ee6f1c329b20abc41adeb18131b71f1347e9