[INFO] cloning repository https://github.com/johnabs/stegr [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnabs%2Fstegr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed9038006ccd611454ec09bf87f852ef97fff761 [INFO] checking johnabs/stegr against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnabs%2Fstegr" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/johnabs/stegr on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-12/source/Cargo.toml [INFO] crate git repo https://github.com/johnabs/stegr already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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 block-modes v0.3.3 [INFO] [stderr] Downloaded hex-literal-impl v0.2.1 [INFO] [stderr] Downloaded twofish v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fdf1ce57f608ff634c99709c6ccb21ef8b905c407200b5578226ce93933397a9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fdf1ce57f608ff634c99709c6ccb21ef8b905c407200b5578226ce93933397a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fdf1ce57f608ff634c99709c6ccb21ef8b905c407200b5578226ce93933397a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdf1ce57f608ff634c99709c6ccb21ef8b905c407200b5578226ce93933397a9", kill_on_drop: false }` [INFO] [stdout] fdf1ce57f608ff634c99709c6ccb21ef8b905c407200b5578226ce93933397a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e08063a2894bcb63631b2c9b149055e094560f1a13c74e48a2d4b05e2467eadd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e08063a2894bcb63631b2c9b149055e094560f1a13c74e48a2d4b05e2467eadd", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking base64 v0.2.1 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking block-modes v0.3.3 [INFO] [stderr] Checking twofish v0.2.0 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking aes v0.3.2 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking image v0.23.0 [INFO] [stderr] Compiling hex-literal-impl v0.2.1 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking hex-literal v0.2.1 [INFO] [stderr] Checking 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] 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)]` on by default [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `String` cannot be indexed by `usize` [INFO] [stdout] --> src/encode.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | temp = [temp,input[i]].join(""); [INFO] [stdout] | ^^^^^^^^ `String` cannot be indexed by `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Index` is not implemented for `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encode.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | temp = [temp,input[i]].join(""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `String` [INFO] [stdout] | help: consider borrowing here: `&[temp,input[i]].join("")` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `String` cannot be indexed by `usize` [INFO] [stdout] --> src/encode.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | temp = [temp,input[i]].join(""); [INFO] [stdout] | ^^^^^^^^ `String` cannot be indexed by `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Index` is not implemented for `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/encode.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | temp = [temp,input[i]].join(""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `String` [INFO] [stdout] | help: consider borrowing here: `&[temp,input[i]].join("")` [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 struct `String` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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 struct `String` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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 struct `String`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [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` [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 struct `String`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [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: build failed [INFO] running `Command { std: "docker" "inspect" "e08063a2894bcb63631b2c9b149055e094560f1a13c74e48a2d4b05e2467eadd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e08063a2894bcb63631b2c9b149055e094560f1a13c74e48a2d4b05e2467eadd", kill_on_drop: false }` [INFO] [stdout] e08063a2894bcb63631b2c9b149055e094560f1a13c74e48a2d4b05e2467eadd