[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] testing ManyQuackingDucks/Printer-firmware-upgrade-downgrader against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManyQuackingDucks%2FPrinter-firmware-upgrade-downgrader" "/workspace/builds/worker-104/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-104/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ManyQuackingDucks/Printer-firmware-upgrade-downgrader on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-104/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-104/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d37da5a6acc17e121c5b016945cfdb815e4935427eeade081bb3822e7fefad57 [INFO] running `Command { std: "docker" "start" "-a" "d37da5a6acc17e121c5b016945cfdb815e4935427eeade081bb3822e7fefad57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d37da5a6acc17e121c5b016945cfdb815e4935427eeade081bb3822e7fefad57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d37da5a6acc17e121c5b016945cfdb815e4935427eeade081bb3822e7fefad57", kill_on_drop: false }` [INFO] [stdout] d37da5a6acc17e121c5b016945cfdb815e4935427eeade081bb3822e7fefad57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7346e7ad3d82464457d33e34682d4ff287c61819d190ed4c27c53b4af438efa1 [INFO] running `Command { std: "docker" "start" "-a" "7346e7ad3d82464457d33e34682d4ff287c61819d190ed4c27c53b4af438efa1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling ftp v3.0.1 [INFO] [stderr] Compiling hp_mfp_m281cdw v0.1.0 (/opt/rustwide/workdir) [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] [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] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::FtpServer; [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] | ^^^^ not found in this scope [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 `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 `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: `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: aborting due to 5 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hp_mfp_m281cdw` due to 6 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7346e7ad3d82464457d33e34682d4ff287c61819d190ed4c27c53b4af438efa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7346e7ad3d82464457d33e34682d4ff287c61819d190ed4c27c53b4af438efa1", kill_on_drop: false }` [INFO] [stdout] 7346e7ad3d82464457d33e34682d4ff287c61819d190ed4c27c53b4af438efa1