[INFO] cloning repository https://github.com/ManyQuackingDucks/Printer-firmware-upgrade-downgrader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ManyQuackingDucks/Printer-firmware-upgrade-downgrader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManyQuackingDucks%2FPrinter-firmware-upgrade-downgrader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManyQuackingDucks%2FPrinter-firmware-upgrade-downgrader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d0bab20a61a487cff9338e0eb40e52ce860333c7 [INFO] checking ManyQuackingDucks/Printer-firmware-upgrade-downgrader against master#c29082fe7dc6e902169cacbae165562a7e4a1fd6 for pr-120805 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManyQuackingDucks%2FPrinter-firmware-upgrade-downgrader" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ManyQuackingDucks/Printer-firmware-upgrade-downgrader on toolchain c29082fe7dc6e902169cacbae165562a7e4a1fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c29082fe7dc6e902169cacbae165562a7e4a1fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/ManyQuackingDucks/Printer-firmware-upgrade-downgrader [INFO] finished tweaking git repo https://github.com/ManyQuackingDucks/Printer-firmware-upgrade-downgrader [INFO] tweaked toml for git repo https://github.com/ManyQuackingDucks/Printer-firmware-upgrade-downgrader written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ManyQuackingDucks/Printer-firmware-upgrade-downgrader 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" "+c29082fe7dc6e902169cacbae165562a7e4a1fd6" "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 ManyQuackingDucks/Printer-firmware-upgrade-downgrader against try#a76cc2633df38feca72f20156e7d9e4b074337f3 for pr-120805 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManyQuackingDucks%2FPrinter-firmware-upgrade-downgrader" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ManyQuackingDucks/Printer-firmware-upgrade-downgrader on toolchain a76cc2633df38feca72f20156e7d9e4b074337f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a76cc2633df38feca72f20156e7d9e4b074337f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/ManyQuackingDucks/Printer-firmware-upgrade-downgrader [INFO] finished tweaking git repo https://github.com/ManyQuackingDucks/Printer-firmware-upgrade-downgrader [INFO] tweaked toml for git repo https://github.com/ManyQuackingDucks/Printer-firmware-upgrade-downgrader written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ManyQuackingDucks/Printer-firmware-upgrade-downgrader 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" "+a76cc2633df38feca72f20156e7d9e4b074337f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread-id v2.0.0 [INFO] [stderr] Downloaded memchr v0.1.11 [INFO] [stderr] Downloaded thread_local v0.2.7 [INFO] [stderr] Downloaded utf8-ranges v0.1.3 [INFO] [stderr] Downloaded aho-corasick v0.5.3 [INFO] [stderr] Downloaded regex-syntax v0.3.9 [INFO] [stderr] Downloaded regex v0.1.80 [INFO] [stderr] Downloaded ftp v3.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+a76cc2633df38feca72f20156e7d9e4b074337f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18b6f7525488c8df2fe2c1569b1c056f0854984205c6806cb2d3d106c0555003 [INFO] running `Command { std: "docker" "start" "-a" "18b6f7525488c8df2fe2c1569b1c056f0854984205c6806cb2d3d106c0555003", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18b6f7525488c8df2fe2c1569b1c056f0854984205c6806cb2d3d106c0555003", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18b6f7525488c8df2fe2c1569b1c056f0854984205c6806cb2d3d106c0555003", kill_on_drop: false }` [INFO] [stdout] 18b6f7525488c8df2fe2c1569b1c056f0854984205c6806cb2d3d106c0555003 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+a76cc2633df38feca72f20156e7d9e4b074337f3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ab17dfc548c9a71897fe3af5229a85a45497b94d7a682ddc9e842c15eb6dee1 [INFO] running `Command { std: "docker" "start" "-a" "2ab17dfc548c9a71897fe3af5229a85a45497b94d7a682ddc9e842c15eb6dee1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking ftp v3.0.1 [INFO] [stderr] Checking hp_mfp_m281cdw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FtpServer` [INFO] [stdout] --> src/update/tftp.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | let mut conn = FtpServer::connect(ip.trim().to_string() + ":21").map_err(|e| format!("Could not connect to printer. [{e}]")); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `FtpServer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::FtpServer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/update/mod.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | let stdin = io::stdin(); [INFO] [stdout] | ^^ use of undeclared crate or module `io` [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 24 | let stdin = i8::stdin(); [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::io; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/update/mod.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | let mut f = File::open(&file_location) [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::File; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `send_update` in this scope [INFO] [stdout] --> src/main.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | match send_update() { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::update::tftp::send_update` exists but is inaccessible [INFO] [stdout] --> src/update/tftp.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub(super) fn send_update(ip: &str, f: std::fs::File) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FtpServer` [INFO] [stdout] --> src/update/tftp.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | let mut conn = FtpServer::connect(ip.trim().to_string() + ":21").map_err(|e| format!("Could not connect to printer. [{e}]")); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `FtpServer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::FtpServer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/update/mod.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | let stdin = io::stdin(); [INFO] [stdout] | ^^ use of undeclared crate or module `io` [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 24 | let stdin = i8::stdin(); [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::io; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/update/mod.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | let mut f = File::open(&file_location) [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::File; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ftp::FtpStream as FtpServer` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ftp::FtpStream as FtpServer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `send_update` in this scope [INFO] [stdout] --> src/main.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | match send_update() { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::update::tftp::send_update` exists but is inaccessible [INFO] [stdout] --> src/update/tftp.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub(super) fn send_update(ip: &str, f: std::fs::File) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ftp::FtpStream as FtpServer` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ftp::FtpStream as FtpServer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_rfu_bytes` in this scope [INFO] [stdout] --> src/update/mod.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | let update_data = parse_rfu_bytes(&buf)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_rfu_bytes` in this scope [INFO] [stdout] --> src/update/mod.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | let update_data = parse_rfu_bytes(&buf)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `&_` not covered [INFO] [stdout] --> src/update/mod.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | match buffer.trim(){ [INFO] [stdout] | ^^^^^^^^^^^^^ pattern `&_` not covered [INFO] [stdout] | [INFO] [stdout] = note: the matched value is of type `&str` [INFO] [stdout] = note: `&str` cannot be matched exhaustively, so a wildcard `_` is necessary [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown [INFO] [stdout] | [INFO] [stdout] 19 ~ }, [INFO] [stdout] 20 + &_ => todo!() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `&_` not covered [INFO] [stdout] --> src/update/mod.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | match buffer.trim(){ [INFO] [stdout] | ^^^^^^^^^^^^^ pattern `&_` not covered [INFO] [stdout] | [INFO] [stdout] = note: the matched value is of type `&str` [INFO] [stdout] = note: `&str` cannot be matched exhaustively, so a wildcard `_` is necessary [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown [INFO] [stdout] | [INFO] [stdout] 19 ~ }, [INFO] [stdout] 20 + &_ => todo!() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hp_mfp_m281cdw` (bin "hp_mfp_m281cdw" test) due to 7 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hp_mfp_m281cdw` (bin "hp_mfp_m281cdw") due to 7 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2ab17dfc548c9a71897fe3af5229a85a45497b94d7a682ddc9e842c15eb6dee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ab17dfc548c9a71897fe3af5229a85a45497b94d7a682ddc9e842c15eb6dee1", kill_on_drop: false }` [INFO] [stdout] 2ab17dfc548c9a71897fe3af5229a85a45497b94d7a682ddc9e842c15eb6dee1