[INFO] cloning repository https://github.com/dante-signal31/steganer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dante-signal31/steganer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdante-signal31%2Fsteganer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdante-signal31%2Fsteganer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f868b1084cf73c56a640ebb3d034cc75e36e1de [INFO] checking dante-signal31/steganer against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdante-signal31%2Fsteganer" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dante-signal31/steganer on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dante-signal31/steganer [INFO] finished tweaking git repo https://github.com/dante-signal31/steganer [INFO] tweaked toml for git repo https://github.com/dante-signal31/steganer written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/dante-signal31/steganer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitreader v0.3.1 [INFO] [stderr] Downloaded ctor v0.1.9 [INFO] [stderr] Downloaded ghost v0.1.0 [INFO] [stderr] Downloaded test_common v1.0.1 [INFO] [stderr] Downloaded image v0.21.1 [INFO] [stderr] Downloaded syn v0.15.37 [INFO] [stderr] Downloaded tempfile v3.0.8 [INFO] [stderr] Downloaded pyo3-pack v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 273a9475d9915a6de6b84f1840a7857d984f6cd329c5e547ed27c294401e929c [INFO] running `Command { std: "docker" "start" "-a" "273a9475d9915a6de6b84f1840a7857d984f6cd329c5e547ed27c294401e929c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "273a9475d9915a6de6b84f1840a7857d984f6cd329c5e547ed27c294401e929c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "273a9475d9915a6de6b84f1840a7857d984f6cd329c5e547ed27c294401e929c", kill_on_drop: false }` [INFO] [stdout] 273a9475d9915a6de6b84f1840a7857d984f6cd329c5e547ed27c294401e929c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57cc00a5a40fa474d59ef330548ad80b383fe35bd01b008fb5d698e03bd57415 [INFO] running `Command { std: "docker" "start" "-a" "57cc00a5a40fa474d59ef330548ad80b383fe35bd01b008fb5d698e03bd57415", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.37 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling ryu v1.0.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling unindent v0.1.5 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking rustc-demangle v0.1.14 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking untrusted v0.6.2 [INFO] [stderr] Checking bitreader v0.3.1 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Checking arrayvec v0.4.10 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking rand_os v0.1.2 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Checking num-iter v0.1.37 [INFO] [stderr] Checking png v0.14.0 [INFO] [stderr] Checking tempfile v3.0.8 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking test_common v1.0.1 [INFO] [stderr] Compiling pyo3-derive-backend v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.92 [INFO] [stderr] Compiling ghost v0.1.0 [INFO] [stderr] Compiling ctor v0.1.9 [INFO] [stderr] Compiling proc-macro-hack v0.5.10 [INFO] [stderr] Compiling inventory-impl v0.1.4 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Compiling pyo3cls v0.8.1 [INFO] [stderr] Checking image v0.21.1 [INFO] [stderr] Checking inventory v0.1.4 [INFO] [stderr] Compiling indoc-impl v0.3.4 [INFO] [stderr] Compiling paste-impl v0.1.6 [INFO] [stderr] Checking indoc v0.3.4 [INFO] [stderr] Checking paste v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling pyo3 v0.8.1 [INFO] [stderr] Checking steganer v1.1.0-post4 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/fileio.rs (1 fix) [INFO] [stdout] warning: associated function is never used: `get_image` [INFO] [stdout] --> src/stegimage.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn get_image(&mut self)-> &mut DynamicImage { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/fileio.rs:388:58 [INFO] [stdout] | [INFO] [stdout] 388 | fn populate_test_file(test_env: &TestEnvironment) -> PathBuf { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 376 | use crate::stegimage::tests::PathBuf; [INFO] [stdout] | [INFO] [stdout] 376 | use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> src/fileio.rs:404:37 [INFO] [stdout] | [INFO] [stdout] 404 | fn get_temporary_test_file()-> (PathBuf, TestEnvironment) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 376 | use crate::stegimage::tests::PathBuf; [INFO] [stdout] | [INFO] [stdout] 376 | use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/integration_tests.rs from 2018 edition to 2021 [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/fileio.rs:378:27 [INFO] [stdout] | [INFO] [stdout] 378 | use std::io::{Cursor, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/fileio.rs:446:39 [INFO] [stdout] | [INFO] [stdout] 446 | fn test_iterator_next_under_8() { ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/stegimage.rs:374:47 [INFO] [stdout] | [INFO] [stdout] 374 | let message: &str = error.description(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `steganer` due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/integration_tests.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / copy_files(files_to_copy, test_folder_path.to_str() [INFO] [stdout] 60 | | .expect("Test folder path contains non valid unicode characters that made conversion impossible.")); [INFO] [stdout] | |____________________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "57cc00a5a40fa474d59ef330548ad80b383fe35bd01b008fb5d698e03bd57415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57cc00a5a40fa474d59ef330548ad80b383fe35bd01b008fb5d698e03bd57415", kill_on_drop: false }` [INFO] [stdout] 57cc00a5a40fa474d59ef330548ad80b383fe35bd01b008fb5d698e03bd57415