[INFO] cloning repository https://github.com/necauqua/steganographer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/necauqua/steganographer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnecauqua%2Fsteganographer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnecauqua%2Fsteganographer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6eb896fd679875dc1ee4d191f390e30f83d14a1b [INFO] checking necauqua/steganographer against try#5785402183672f7786e9dc343d7b435bdaf4a4bc for pr-138001 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnecauqua%2Fsteganographer" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/necauqua/steganographer on toolchain 5785402183672f7786e9dc343d7b435bdaf4a4bc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/necauqua/steganographer [INFO] finished tweaking git repo https://github.com/necauqua/steganographer [INFO] tweaked toml for git repo https://github.com/necauqua/steganographer written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/necauqua/steganographer 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" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt v0.3.7 [INFO] [stderr] Downloaded bytemuck v1.5.0 [INFO] [stderr] Downloaded byteorder v1.4.2 [INFO] [stderr] Downloaded structopt-derive v0.4.0 [INFO] [stderr] Downloaded unicode-segmentation v1.3.0 [INFO] [stderr] Downloaded termion v1.5.3 [INFO] [stderr] Downloaded syn-mid v0.5.3 [INFO] [stderr] Downloaded image v0.23.13 [INFO] [stderr] Downloaded syn v1.0.60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5daaa2e4dda2d41070b03a0fcd454b3414b334fc8f26311daeb8a023d85a0a72 [INFO] running `Command { std: "docker" "start" "-a" "5daaa2e4dda2d41070b03a0fcd454b3414b334fc8f26311daeb8a023d85a0a72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5daaa2e4dda2d41070b03a0fcd454b3414b334fc8f26311daeb8a023d85a0a72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5daaa2e4dda2d41070b03a0fcd454b3414b334fc8f26311daeb8a023d85a0a72", kill_on_drop: false }` [INFO] [stdout] 5daaa2e4dda2d41070b03a0fcd454b3414b334fc8f26311daeb8a023d85a0a72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb7126d43b65916e6c375f2bf6b171a297c40356e480725d34740e62d9900895 [INFO] running `Command { std: "docker" "start" "-a" "eb7126d43b65916e6c375f2bf6b171a297c40356e480725d34740e62d9900895", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Checking bytemuck v1.5.0 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking image v0.23.13 [INFO] [stderr] Compiling syn-mid v0.5.3 [INFO] [stderr] Compiling structopt-derive v0.4.0 [INFO] [stderr] Compiling structopt v0.3.7 [INFO] [stderr] Compiling steganographer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> src/lib.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | use image::{ImageDecoder, GenericImageView}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> src/lib.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | use image::{ImageDecoder, GenericImageView}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | encode_into_image(image, data, result, force), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ---- ------ expected `PathBuf`, found `Option` [INFO] [stdout] | | [INFO] [stdout] | expected `Option`, found `PathBuf` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn encode_into_image(image: PathBuf, data: Option, output: PathBuf, replace: bool) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: swap these arguments [INFO] [stdout] | [INFO] [stdout] 13 - encode_into_image(image, data, result, force), [INFO] [stdout] 13 + encode_into_image(image, result, data, force), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | encode_into_image(image, data, result, force), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ---- ------ expected `PathBuf`, found `Option` [INFO] [stdout] | | [INFO] [stdout] | expected `Option`, found `PathBuf` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn encode_into_image(image: PathBuf, data: Option, output: PathBuf, replace: bool) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: swap these arguments [INFO] [stdout] | [INFO] [stdout] 13 - encode_into_image(image, data, result, force), [INFO] [stdout] 13 + encode_into_image(image, result, data, force), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `steganographer` (bin "steganographer") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `steganographer` (bin "steganographer" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "eb7126d43b65916e6c375f2bf6b171a297c40356e480725d34740e62d9900895", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb7126d43b65916e6c375f2bf6b171a297c40356e480725d34740e62d9900895", kill_on_drop: false }` [INFO] [stdout] eb7126d43b65916e6c375f2bf6b171a297c40356e480725d34740e62d9900895