[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 master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdante-signal31%2Fsteganer" "/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/dante-signal31/steganer on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-2-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-pack v0.7.0 [INFO] [stderr] Downloaded rand_os v0.1.2 [INFO] [stderr] Downloaded tempfile v3.0.8 [INFO] [stderr] Downloaded unindent v0.1.5 [INFO] [stderr] Downloaded test_common v1.0.1 [INFO] [stderr] Downloaded pyo3cls v0.8.1 [INFO] [stderr] Downloaded png v0.14.0 [INFO] [stderr] Downloaded num-derive v0.2.4 [INFO] [stderr] Downloaded ryu v1.0.1 [INFO] [stderr] Downloaded bitreader v0.3.1 [INFO] [stderr] Downloaded deflate v0.7.19 [INFO] [stderr] Downloaded image v0.21.1 [INFO] [stderr] Downloaded syn v0.15.37 [INFO] [stderr] Downloaded pyo3 v0.8.1 [INFO] [stderr] Downloaded gif v0.10.1 [INFO] [stderr] Downloaded num-bigint v0.2.2 [INFO] [stderr] Downloaded indoc-impl v0.3.4 [INFO] [stderr] Downloaded indoc v0.3.4 [INFO] [stderr] Downloaded ghost v0.1.0 [INFO] [stderr] Downloaded inventory-impl v0.1.4 [INFO] [stderr] Downloaded inventory v0.1.4 [INFO] [stderr] Downloaded proc-macro-hack v0.5.10 [INFO] [stderr] Downloaded pyo3-derive-backend v0.8.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.5 [INFO] [stderr] Downloaded serde_json v1.0.41 [INFO] [stderr] Downloaded remove_dir_all v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ebe76f5e29b0ded920c2572e55ae12dfbb016b5a4cc1e6a13f593ea66d7da8c [INFO] running `Command { std: "docker" "start" "-a" "7ebe76f5e29b0ded920c2572e55ae12dfbb016b5a4cc1e6a13f593ea66d7da8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ebe76f5e29b0ded920c2572e55ae12dfbb016b5a4cc1e6a13f593ea66d7da8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ebe76f5e29b0ded920c2572e55ae12dfbb016b5a4cc1e6a13f593ea66d7da8c", kill_on_drop: false }` [INFO] [stdout] 7ebe76f5e29b0ded920c2572e55ae12dfbb016b5a4cc1e6a13f593ea66d7da8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6f198431515f84f4f572dd7171aa870518656c81ec33acc84e79d180c151d0b [INFO] running `Command { std: "docker" "start" "-a" "a6f198431515f84f4f572dd7171aa870518656c81ec33acc84e79d180c151d0b", kill_on_drop: false }` [INFO] [stderr] warning: steganer v1.1.0-post4 (/opt/rustwide/workdir) ignoring invalid dependency `pyo3-pack` which is missing a lib target [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling syn v0.15.37 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling ryu v1.0.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling unindent v0.1.5 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking rustc-demangle v0.1.14 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking rand_os v0.1.2 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking untrusted v0.6.2 [INFO] [stderr] Checking bitreader v0.3.1 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking png v0.14.0 [INFO] [stderr] Checking tempfile v3.0.8 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.92 [INFO] [stderr] Compiling ctor v0.1.9 [INFO] [stderr] Compiling ghost v0.1.0 [INFO] [stderr] Checking test_common v1.0.1 [INFO] [stderr] Compiling pyo3-derive-backend v0.8.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.10 [INFO] [stderr] Compiling inventory-impl v0.1.4 [INFO] [stderr] Compiling pyo3cls v0.8.1 [INFO] [stderr] Checking inventory v0.1.4 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.21.1 [INFO] [stderr] Compiling paste-impl v0.1.6 [INFO] [stderr] Compiling indoc-impl v0.3.4 [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 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/fileio.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Add` is imported redundantly [INFO] [stdout] --> src/fileio.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | use crate::*; [INFO] [stdout] | -------- the item `Add` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/fileio.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/stegimage.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PyErr` is imported redundantly [INFO] [stdout] --> src/lib.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 11 | use pyo3::prelude::*; [INFO] [stdout] | ---------------- the item `PyErr` is already imported here [INFO] [stdout] 12 | use pyo3::{wrap_pyfunction, PyErr, exceptions}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/fileio.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Add` is imported redundantly [INFO] [stdout] --> src/fileio.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | use crate::*; [INFO] [stdout] | -------- the item `Add` is already imported here [INFO] [stdout] [INFO] [stdout] [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] [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: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/stegimage.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GenericImageView` is imported redundantly [INFO] [stdout] --> src/stegimage.rs:324:30 [INFO] [stdout] | [INFO] [stdout] 321 | use super::*; [INFO] [stdout] | -------- the item `GenericImageView` is already imported here [INFO] [stdout] ... [INFO] [stdout] 324 | use image::{ImageBuffer, GenericImageView}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PyErr` is imported redundantly [INFO] [stdout] --> src/lib.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 11 | use pyo3::prelude::*; [INFO] [stdout] | ---------------- the item `PyErr` is already imported here [INFO] [stdout] 12 | use pyo3::{wrap_pyfunction, PyErr, exceptions}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_image` is never used [INFO] [stdout] --> src/stegimage.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 84 | impl <'a> ContainerImage <'a>{ [INFO] [stdout] | ----------------------------- method in this implementation [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/fileio.rs:193:50 [INFO] [stdout] | [INFO] [stdout] 193 | bit_reader: BitReader::new(file_bytes.clone()), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] 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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = copy_files(files_to_copy, test_folder_path.to_str() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pixel` is never read [INFO] [stdout] --> src/stegimage.rs:482:17 [INFO] [stdout] | [INFO] [stdout] 482 | let mut pixel = container.get_image().get_pixel(0,0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pixel` is never read [INFO] [stdout] --> src/stegimage.rs:506:17 [INFO] [stdout] | [INFO] [stdout] 506 | let mut pixel = container.get_image().get_pixel(0,0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pixel` is never read [INFO] [stdout] --> src/stegimage.rs:548:17 [INFO] [stdout] | [INFO] [stdout] 548 | let mut pixel = container.get_image().get_pixel(0,0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pixel` is never read [INFO] [stdout] --> src/stegimage.rs:572:17 [INFO] [stdout] | [INFO] [stdout] 572 | let mut pixel = container.get_image().get_pixel(0,0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/fileio.rs:193:50 [INFO] [stdout] | [INFO] [stdout] 193 | bit_reader: BitReader::new(file_bytes.clone()), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: pyo3 v0.8.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "a6f198431515f84f4f572dd7171aa870518656c81ec33acc84e79d180c151d0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6f198431515f84f4f572dd7171aa870518656c81ec33acc84e79d180c151d0b", kill_on_drop: false }` [INFO] [stdout] a6f198431515f84f4f572dd7171aa870518656c81ec33acc84e79d180c151d0b [INFO] checking dante-signal31/steganer against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdante-signal31%2Fsteganer" "/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/dante-signal31/steganer on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-2-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbc6a5edaeebe4f4822874d0b89519308ff89e48b1ad292e29a8fcd85d1a3194 [INFO] running `Command { std: "docker" "start" "-a" "fbc6a5edaeebe4f4822874d0b89519308ff89e48b1ad292e29a8fcd85d1a3194", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbc6a5edaeebe4f4822874d0b89519308ff89e48b1ad292e29a8fcd85d1a3194", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbc6a5edaeebe4f4822874d0b89519308ff89e48b1ad292e29a8fcd85d1a3194", kill_on_drop: false }` [INFO] [stdout] fbc6a5edaeebe4f4822874d0b89519308ff89e48b1ad292e29a8fcd85d1a3194 [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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5db6b0aad5a3528ca1c7d5380c97fb7bb2b75f2584dc13534fea5664065d85d7 [INFO] running `Command { std: "docker" "start" "-a" "5db6b0aad5a3528ca1c7d5380c97fb7bb2b75f2584dc13534fea5664065d85d7", kill_on_drop: false }` [INFO] [stderr] warning: steganer v1.1.0-post4 (/opt/rustwide/workdir) ignoring invalid dependency `pyo3-pack` which is missing a lib target [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling syn v0.15.37 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling ryu v1.0.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling unindent v0.1.5 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking rustc-demangle v0.1.14 [INFO] [stderr] Checking rand_os v0.1.2 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bitreader v0.3.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking untrusted v0.6.2 [INFO] [stderr] Checking png v0.14.0 [INFO] [stderr] Checking tempfile v3.0.8 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling regex v1.3.1 [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 inventory v0.1.4 [INFO] [stderr] Compiling indoc-impl v0.3.4 [INFO] [stderr] Compiling paste-impl v0.1.6 [INFO] [stderr] Compiling pyo3cls v0.8.1 [INFO] [stderr] Checking paste v0.1.6 [INFO] [stderr] Checking indoc v0.3.4 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.21.1 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling pyo3 v0.8.1 [INFO] [stderr] Checking steganer v1.1.0-post4 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/fileio.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Add` is imported redundantly [INFO] [stdout] --> src/fileio.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | use crate::*; [INFO] [stdout] | -------- the item `Add` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/fileio.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/stegimage.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PyErr` is imported redundantly [INFO] [stdout] --> src/lib.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 11 | use pyo3::prelude::*; [INFO] [stdout] | ---------------- the item `PyErr` is already imported here [INFO] [stdout] 12 | use pyo3::{wrap_pyfunction, PyErr, exceptions}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/fileio.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Add` is imported redundantly [INFO] [stdout] --> src/fileio.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | use crate::*; [INFO] [stdout] | -------- the item `Add` is already imported here [INFO] [stdout] [INFO] [stdout] [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] [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: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/stegimage.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GenericImageView` is imported redundantly [INFO] [stdout] --> src/stegimage.rs:324:30 [INFO] [stdout] | [INFO] [stdout] 321 | use super::*; [INFO] [stdout] | -------- the item `GenericImageView` is already imported here [INFO] [stdout] ... [INFO] [stdout] 324 | use image::{ImageBuffer, GenericImageView}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PyErr` is imported redundantly [INFO] [stdout] --> src/lib.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 11 | use pyo3::prelude::*; [INFO] [stdout] | ---------------- the item `PyErr` is already imported here [INFO] [stdout] 12 | use pyo3::{wrap_pyfunction, PyErr, exceptions}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_image` is never used [INFO] [stdout] --> src/stegimage.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 84 | impl <'a> ContainerImage <'a>{ [INFO] [stdout] | ----------------------------- method in this implementation [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/fileio.rs:193:50 [INFO] [stdout] | [INFO] [stdout] 193 | bit_reader: BitReader::new(file_bytes.clone()), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] 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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = copy_files(files_to_copy, test_folder_path.to_str() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pixel` is never read [INFO] [stdout] --> src/stegimage.rs:482:17 [INFO] [stdout] | [INFO] [stdout] 482 | let mut pixel = container.get_image().get_pixel(0,0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pixel` is never read [INFO] [stdout] --> src/stegimage.rs:506:17 [INFO] [stdout] | [INFO] [stdout] 506 | let mut pixel = container.get_image().get_pixel(0,0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pixel` is never read [INFO] [stdout] --> src/stegimage.rs:548:17 [INFO] [stdout] | [INFO] [stdout] 548 | let mut pixel = container.get_image().get_pixel(0,0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pixel` is never read [INFO] [stdout] --> src/stegimage.rs:572:17 [INFO] [stdout] | [INFO] [stdout] 572 | let mut pixel = container.get_image().get_pixel(0,0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/fileio.rs:193:50 [INFO] [stdout] | [INFO] [stdout] 193 | bit_reader: BitReader::new(file_bytes.clone()), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: pyo3 v0.8.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "5db6b0aad5a3528ca1c7d5380c97fb7bb2b75f2584dc13534fea5664065d85d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5db6b0aad5a3528ca1c7d5380c97fb7bb2b75f2584dc13534fea5664065d85d7", kill_on_drop: false }` [INFO] [stdout] 5db6b0aad5a3528ca1c7d5380c97fb7bb2b75f2584dc13534fea5664065d85d7