[INFO] cloning repository https://github.com/rickard1117/yimu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rickard1117/yimu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickard1117%2Fyimu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickard1117%2Fyimu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53951f489da9e1664008e849ab606b7dbe65253e [INFO] checking rickard1117/yimu against master#ff0b4b6091a75ad840035a991426c8bc9fbd93bb for pr-117673 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickard1117%2Fyimu" "/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/rickard1117/yimu on toolchain ff0b4b6091a75ad840035a991426c8bc9fbd93bb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff0b4b6091a75ad840035a991426c8bc9fbd93bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rickard1117/yimu [INFO] finished tweaking git repo https://github.com/rickard1117/yimu [INFO] tweaked toml for git repo https://github.com/rickard1117/yimu written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rickard1117/yimu 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" "+ff0b4b6091a75ad840035a991426c8bc9fbd93bb" "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 rickard1117/yimu against try#9ee647322baa27cc6bb1a95b4595bad94b334fcf for pr-117673 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickard1117%2Fyimu" "/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/rickard1117/yimu on toolchain 9ee647322baa27cc6bb1a95b4595bad94b334fcf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ee647322baa27cc6bb1a95b4595bad94b334fcf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rickard1117/yimu [INFO] finished tweaking git repo https://github.com/rickard1117/yimu [INFO] tweaked toml for git repo https://github.com/rickard1117/yimu written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rickard1117/yimu 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" "+9ee647322baa27cc6bb1a95b4595bad94b334fcf" "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] checking rickard1117/yimu against try#9ee647322baa27cc6bb1a95b4595bad94b334fcf for pr-117673 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickard1117%2Fyimu" "/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/rickard1117/yimu on toolchain 9ee647322baa27cc6bb1a95b4595bad94b334fcf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ee647322baa27cc6bb1a95b4595bad94b334fcf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rickard1117/yimu [INFO] finished tweaking git repo https://github.com/rickard1117/yimu [INFO] tweaked toml for git repo https://github.com/rickard1117/yimu written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rickard1117/yimu 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" "+9ee647322baa27cc6bb1a95b4595bad94b334fcf" "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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9ee647322baa27cc6bb1a95b4595bad94b334fcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81dcf3e58839d8ddc8c4d92833078e5fe185fac6cfd6a06a85c0ef692d5788af [INFO] running `Command { std: "docker" "start" "-a" "81dcf3e58839d8ddc8c4d92833078e5fe185fac6cfd6a06a85c0ef692d5788af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81dcf3e58839d8ddc8c4d92833078e5fe185fac6cfd6a06a85c0ef692d5788af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81dcf3e58839d8ddc8c4d92833078e5fe185fac6cfd6a06a85c0ef692d5788af", kill_on_drop: false }` [INFO] [stdout] 81dcf3e58839d8ddc8c4d92833078e5fe185fac6cfd6a06a85c0ef692d5788af [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" "-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9ee647322baa27cc6bb1a95b4595bad94b334fcf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ca4cde4d32b63f31f830258db18f586159f37cb48766686d5f812cfe007209a [INFO] running `Command { std: "docker" "start" "-a" "8ca4cde4d32b63f31f830258db18f586159f37cb48766686d5f812cfe007209a", kill_on_drop: false }` [INFO] [stderr] Checking tcp-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `data` and `cap` are never read [INFO] [stdout] --> src/buffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Buffer { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 3 | data: [u8; BUFFER_SIZE], [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | cap: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Buffer` 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] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, `capacity`, `append`, and `data` are never used [INFO] [stdout] --> src/buffer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Buffer { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Buffer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub const fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub const fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn append(&mut self, slice: &[u8]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn data(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileUtil` is never constructed [INFO] [stdout] --> src/file.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct FileUtil { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/file.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl FileUtil { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(path: &String) -> FileUtil { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn write(&mut self, data: &[u8]) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `setOutput` is never used [INFO] [stdout] --> src/logger.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Logger { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 13 | pub fn setOutput(f: fn(&String)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TRACE`, `WARN`, `ERROR`, and `FATAL` are never constructed [INFO] [stdout] --> src/logger.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub enum LogLevel { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 59 | TRACE = 1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | WARN, [INFO] [stdout] | ^^^^ [INFO] [stdout] 63 | ERROR, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | FATAL, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogLevel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DefaultOutput` should have a snake case name [INFO] [stdout] --> src/logger.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn DefaultOutput(content: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `default_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `g_log_output` should have an upper case name [INFO] [stdout] --> src/logger.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | static mut g_log_output: fn(&String) = DefaultOutput; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `G_LOG_OUTPUT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `g_log_level` should have an upper case name [INFO] [stdout] --> src/logger.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | static mut g_log_level: LogLevel = LogLevel::DEBUG; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `G_LOG_LEVEL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setOutput` should have a snake case name [INFO] [stdout] --> src/logger.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn setOutput(f: fn(&String)) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `set_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setLevel` should have a snake case name [INFO] [stdout] --> src/logger.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn setLevel(level: LogLevel) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `set_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `cap` are never read [INFO] [stdout] --> src/buffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Buffer { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 3 | data: [u8; BUFFER_SIZE], [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | cap: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Buffer` 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] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, `capacity`, `append`, and `data` are never used [INFO] [stdout] --> src/buffer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Buffer { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Buffer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub const fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub const fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn append(&mut self, slice: &[u8]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn data(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileUtil` is never constructed [INFO] [stdout] --> src/file.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct FileUtil { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/file.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl FileUtil { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(path: &String) -> FileUtil { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn write(&mut self, data: &[u8]) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `setOutput` is never used [INFO] [stdout] --> src/logger.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Logger { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 13 | pub fn setOutput(f: fn(&String)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TRACE`, `WARN`, `ERROR`, and `FATAL` are never constructed [INFO] [stdout] --> src/logger.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub enum LogLevel { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 59 | TRACE = 1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | WARN, [INFO] [stdout] | ^^^^ [INFO] [stdout] 63 | ERROR, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | FATAL, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogLevel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DefaultOutput` should have a snake case name [INFO] [stdout] --> src/logger.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn DefaultOutput(content: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `default_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `g_log_output` should have an upper case name [INFO] [stdout] --> src/logger.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | static mut g_log_output: fn(&String) = DefaultOutput; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `G_LOG_OUTPUT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `g_log_level` should have an upper case name [INFO] [stdout] --> src/logger.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | static mut g_log_level: LogLevel = LogLevel::DEBUG; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `G_LOG_LEVEL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setOutput` should have a snake case name [INFO] [stdout] --> src/logger.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn setOutput(f: fn(&String)) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `set_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setLevel` should have a snake case name [INFO] [stdout] --> src/logger.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn setLevel(level: LogLevel) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `set_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "8ca4cde4d32b63f31f830258db18f586159f37cb48766686d5f812cfe007209a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ca4cde4d32b63f31f830258db18f586159f37cb48766686d5f812cfe007209a", kill_on_drop: false }` [INFO] [stdout] 8ca4cde4d32b63f31f830258db18f586159f37cb48766686d5f812cfe007209a