[INFO] cloning repository https://github.com/johnabs/stegr
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/johnabs/stegr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnabs%2Fstegr"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnabs%2Fstegr'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] ed9038006ccd611454ec09bf87f852ef97fff761
[INFO] testing johnabs/stegr against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnabs%2Fstegr" "/workspace/builds/worker-4-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/johnabs/stegr
[INFO] finished tweaking git repo https://github.com/johnabs/stegr
[INFO] tweaked toml for git repo https://github.com/johnabs/stegr written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/johnabs/stegr on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/johnabs/stegr already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] a8780b94db6920ee376a88903877bca7d82570daf7b7e7c1c4c6ab862aa19163
[INFO] running `"docker" "start" "a8780b94db6920ee376a88903877bca7d82570daf7b7e7c1c4c6ab862aa19163"`
[INFO] running `"docker" "inspect" "a8780b94db6920ee376a88903877bca7d82570daf7b7e7c1c4c6ab862aa19163"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a8780b94db6920ee376a88903877bca7d82570daf7b7e7c1c4c6ab862aa19163" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "a8780b94db6920ee376a88903877bca7d82570daf7b7e7c1c4c6ab862aa19163"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a8780b94db6920ee376a88903877bca7d82570daf7b7e7c1c4c6ab862aa19163" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling libc v0.2.67
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.9
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling adler32 v1.0.4
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling syn v1.0.16
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling num-rational v0.2.3
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]    Compiling ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling unicode-width v0.1.7
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling deflate v0.7.20
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling miniz_oxide v0.3.6
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling gif v0.10.3
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling crossbeam-queue v0.2.1
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling c2-chacha v0.2.3
[INFO] [stderr]    Compiling num_cpus v1.12.0
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling block-cipher-trait v0.6.2
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling aes-soft v0.3.3
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling png v0.15.3
[INFO] [stderr]    Compiling tiff v0.4.0
[INFO] [stderr]    Compiling bytemuck v1.2.0
[INFO] [stderr]    Compiling rayon v1.3.0
[INFO] [stderr]    Compiling rand_chacha v0.2.1
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling aes v0.3.2
[INFO] [stderr]    Compiling sha2 v0.8.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling block-modes v0.3.3
[INFO] [stderr]    Compiling twofish v0.2.0
[INFO] [stderr]    Compiling itertools v0.8.2
[INFO] [stderr]    Compiling base64 v0.2.1
[INFO] [stderr]    Compiling proc-macro-hack v0.5.11
[INFO] [stderr]    Compiling hex-literal-impl v0.2.1
[INFO] [stderr]    Compiling hex-literal v0.2.1
[INFO] [stderr]    Compiling structopt-derive v0.2.18
[INFO] [stderr]    Compiling structopt v0.2.18
[INFO] [stderr]    Compiling jpeg-decoder v0.1.18
[INFO] [stderr]    Compiling image v0.23.0
[INFO] [stderr]    Compiling stegr v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unknown format trait `u8`
[INFO] [stdout]   --> src/encode.rs:83:29
[INFO] [stdout]    |
[INFO] [stdout] 83 |         outstr = format!("{:u8}",) ;
[INFO] [stdout]    |                             ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the only appropriate formatting traits are:
[INFO] [stdout]            - ``, which uses the `Display` trait
[INFO] [stdout]            - `?`, which uses the `Debug` trait
[INFO] [stdout]            - `e`, which uses the `LowerExp` trait
[INFO] [stdout]            - `E`, which uses the `UpperExp` trait
[INFO] [stdout]            - `o`, which uses the `Octal` trait
[INFO] [stdout]            - `p`, which uses the `Pointer` trait
[INFO] [stdout]            - `b`, which uses the `Binary` trait
[INFO] [stdout]            - `x`, which uses the `LowerHex` trait
[INFO] [stdout]            - `X`, which uses the `UpperHex` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: 1 positional argument in format string, but no arguments were given
[INFO] [stdout]   --> src/encode.rs:83:27
[INFO] [stdout]    |
[INFO] [stdout] 83 |         outstr = format!("{:u8}",) ;
[INFO] [stdout]    |                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[macro_use] extern crate hex_literal;
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `str` cannot be indexed by `usize`
[INFO] [stdout]   --> src/encode.rs:82:28
[INFO] [stdout]    |
[INFO] [stdout] 82 |         temp = [temp,input[i]].join("");
[INFO] [stdout]    |                            ^ string indices are ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<str>` is not implemented for `usize`
[INFO] [stdout] help: `usize` implements trait `SliceIndex<T>`
[INFO] [stdout]   --> /rustc/bbcdfd90a3f81ca2a5f6d69b943a6ff0d8582102/library/core/src/slice/index.rs:179:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SliceIndex<[T]>`
[INFO] [stdout]   --> /rustc/bbcdfd90a3f81ca2a5f6d69b943a6ff0d8582102/library/core/src/byte_str/traits.rs:201:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SliceIndex<ByteStr>`
[INFO] [stdout]    = note: required for `String` to implement `Index<usize>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/encode.rs:82:16
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let mut temp = "";
[INFO] [stdout]    |                    -- expected due to this value
[INFO] [stdout] 81 |     for i in 0..input.chars().count()-1 {
[INFO] [stdout] 82 |         temp = [temp,input[i]].join("");
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String`
[INFO] [stdout]    |
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 82 |         temp = &[temp,input[i]].join("");
[INFO] [stdout]    |                +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/encode.rs:83:18
[INFO] [stdout]    |
[INFO] [stdout] 83 |         outstr = format!("{:u8}",) ;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^ expected `&str`, found `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/encode.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |   fn bin_str_to_str(input: String) -> String{
[INFO] [stdout]    |                                       ------ expected `String` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 81 | /     for i in 0..input.chars().count()-1 {
[INFO] [stdout] 82 | |         temp = [temp,input[i]].join("");
[INFO] [stdout] 83 | |         outstr = format!("{:u8}",) ;
[INFO] [stdout] 84 | |     }
[INFO] [stdout]    | |_____^ expected `String`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `for` loops evaluate to unit type `()`
[INFO] [stdout] help: consider returning a value here
[INFO] [stdout]    |
[INFO] [stdout] 84 ~     }
[INFO] [stdout] 85 +     /* `String` value */
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bo`
[INFO] [stdout]   --> src/encode.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let bo = store_msg(_pass, encrypted, _stegf, _imagepath);
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_bo`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/encode.rs:48:44
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn store_msg(pass: String, encmsg: String, file: std::path::PathBuf, path: std::path::PathBuf) -> bool{
[INFO] [stdout]    |                                            ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/encode.rs:48:70
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn store_msg(pass: String, encmsg: String, file: std::path::PathBuf, path: std::path::PathBuf) -> bool{
[INFO] [stdout]    |                                                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `stegr` (bin "stegr") due to 6 previous errors; 4 warnings emitted
[INFO] [stderr] warning: unused dependency `base64`
[INFO] [stderr]  --> Cargo.toml:3:1
[INFO] [stderr]   |
[INFO] [stderr] 3 | base64 = "0.2.1"
[INFO] [stderr]   | ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `base64`
[INFO] [stderr] warning: unused dependency `image`
[INFO] [stderr]  --> Cargo.toml:6:1
[INFO] [stderr]   |
[INFO] [stderr] 6 | image = "0.23.0"
[INFO] [stderr]   | ^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: consider removing the dependency on `image`
[INFO] [stderr] warning: unused dependency `twofish`
[INFO] [stderr]   --> Cargo.toml:11:1
[INFO] [stderr]    |
[INFO] [stderr] 11 | twofish = "0.2.0"
[INFO] [stderr]    | ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `twofish`
[INFO] [stderr] warning: `stegr` (manifest) generated 3 warnings
[INFO] running `"docker" "inspect" "a8780b94db6920ee376a88903877bca7d82570daf7b7e7c1c4c6ab862aa19163"`
[INFO] running `"docker" "rm" "-f" "a8780b94db6920ee376a88903877bca7d82570daf7b7e7c1c4c6ab862aa19163"`
[INFO] [stdout] a8780b94db6920ee376a88903877bca7d82570daf7b7e7c1c4c6ab862aa19163
