[INFO] cloning repository https://github.com/daveclinton/steganography [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/daveclinton/steganography" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaveclinton%2Fsteganography", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaveclinton%2Fsteganography'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 002776244e91f1217d2a15ac5480603d63ac38b2 [INFO] checking daveclinton/steganography against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaveclinton%2Fsteganography" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/daveclinton/steganography [INFO] finished tweaking git repo https://github.com/daveclinton/steganography [INFO] tweaked toml for git repo https://github.com/daveclinton/steganography written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/daveclinton/steganography on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/daveclinton/steganography 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f959fdad21e636060d6fa1b8fb9d0701ce4b1997f3c4615e3fa52a07ea396d14 [INFO] running `Command { std: "docker" "start" "-a" "f959fdad21e636060d6fa1b8fb9d0701ce4b1997f3c4615e3fa52a07ea396d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f959fdad21e636060d6fa1b8fb9d0701ce4b1997f3c4615e3fa52a07ea396d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f959fdad21e636060d6fa1b8fb9d0701ce4b1997f3c4615e3fa52a07ea396d14", kill_on_drop: false }` [INFO] [stdout] f959fdad21e636060d6fa1b8fb9d0701ce4b1997f3c4615e3fa52a07ea396d14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88d1772b8c8328596871d7d0071344ed2df8652368705a2076e5a85eeb2c4407 [INFO] running `Command { std: "docker" "start" "-a" "88d1772b8c8328596871d7d0071344ed2df8652368705a2076e5a85eeb2c4407", kill_on_drop: false }` [INFO] [stderr] Checking steganography v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{Parser, Subcommand}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `png` [INFO] [stdout] --> src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | use png::{BitDepth, ColorType, Encoder, HasParameters}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `png` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `png`, use `cargo add png` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{Parser, Subcommand}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `png` [INFO] [stdout] --> src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | use png::{BitDepth, ColorType, Encoder, HasParameters}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `png` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `png`, use `cargo add png` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> src/main.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[command(author, version, about, lang_about = None)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> src/main.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[command(subcommand)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `png` [INFO] [stdout] --> src/main.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | let mut decoder = png::Decoder::new(File::open(input_path)?); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `png` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `png`, use `cargo add png` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/main.rs:62:41 [INFO] [stdout] | [INFO] [stdout] 62 | let mut decoder = png::Decoder::new(File::open(input_path)?); [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Cli` in the current scope [INFO] [stdout] --> src/main.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 7 | struct Cli { [INFO] [stdout] | ---------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 32 | let cli = Cli::parse(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Cli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 57 | fn encode_message( [INFO] [stdout] | -------------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] ... [INFO] [stdout] 61 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(), Box>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `steganography` (bin "steganography" test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> src/main.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[command(author, version, about, lang_about = None)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> src/main.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[command(subcommand)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `png` [INFO] [stdout] --> src/main.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | let mut decoder = png::Decoder::new(File::open(input_path)?); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `png` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `png`, use `cargo add png` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/main.rs:62:41 [INFO] [stdout] | [INFO] [stdout] 62 | let mut decoder = png::Decoder::new(File::open(input_path)?); [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Cli` in the current scope [INFO] [stdout] --> src/main.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 7 | struct Cli { [INFO] [stdout] | ---------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 32 | let cli = Cli::parse(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Cli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 57 | fn encode_message( [INFO] [stdout] | -------------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] ... [INFO] [stdout] 61 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(), Box>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `steganography` (bin "steganography") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "88d1772b8c8328596871d7d0071344ed2df8652368705a2076e5a85eeb2c4407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88d1772b8c8328596871d7d0071344ed2df8652368705a2076e5a85eeb2c4407", kill_on_drop: false }` [INFO] [stdout] 88d1772b8c8328596871d7d0071344ed2df8652368705a2076e5a85eeb2c4407