[INFO] cloning repository https://github.com/gavynriebau/xor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gavynriebau/xor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgavynriebau%2Fxor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgavynriebau%2Fxor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b69e7e6d7c459bd71b32a3d01ff83f7669cb4d0e [INFO] checking gavynriebau/xor against try#39e1293fce4b650061e85dda88aa428f726a8444 for pr-88041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgavynriebau%2Fxor" "/workspace/builds/worker-116/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-116/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gavynriebau/xor on toolchain 39e1293fce4b650061e85dda88aa428f726a8444 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gavynriebau/xor [INFO] finished tweaking git repo https://github.com/gavynriebau/xor [INFO] tweaked toml for git repo https://github.com/gavynriebau/xor written to /workspace/builds/worker-116/source/Cargo.toml [INFO] crate git repo https://github.com/gavynriebau/xor already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "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 xor-utils v0.6.0 [INFO] [stderr] Downloaded number_prefix v0.2.7 [INFO] [stderr] Downloaded filesystem v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4c49f2c6683cc3c99c9f315ac2231a2c5db25859b2a3970d3e048f86fccf98e [INFO] running `Command { std: "docker" "start" "-a" "c4c49f2c6683cc3c99c9f315ac2231a2c5db25859b2a3970d3e048f86fccf98e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4c49f2c6683cc3c99c9f315ac2231a2c5db25859b2a3970d3e048f86fccf98e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4c49f2c6683cc3c99c9f315ac2231a2c5db25859b2a3970d3e048f86fccf98e", kill_on_drop: false }` [INFO] [stdout] c4c49f2c6683cc3c99c9f315ac2231a2c5db25859b2a3970d3e048f86fccf98e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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" "+39e1293fce4b650061e85dda88aa428f726a8444" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec388406ffb796d2d73fe18cfe23e485c43e8449c3d2265aae0d4e4612245095 [INFO] running `Command { std: "docker" "start" "-a" "ec388406ffb796d2d73fe18cfe23e485c43e8449c3d2265aae0d4e4612245095", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Checking unicode-segmentation v1.1.0 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking hamming v0.1.3 [INFO] [stderr] Checking byteorder v1.0.0 [INFO] [stderr] Checking hex v0.2.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking xor-utils v0.6.0 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking rand v0.3.18 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking number_prefix v0.2.7 [INFO] [stderr] Checking textwrap v0.6.0 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Checking clap v2.25.0 [INFO] [stderr] Checking tempdir v0.3.5 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking filesystem v0.4.2 [INFO] [stderr] Checking parking_lot v0.4.8 [INFO] [stderr] Checking rsfs v0.4.1 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking xor v1.4.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `SeekFrom`, `Seek` [INFO] [stdout] --> src/main.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::{Write, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 116 | let mut output : Box = if matches.is_present("output") { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:131:33 [INFO] [stdout] | [INFO] [stdout] 131 | let mut in_reader : Box = if matches.is_present("input") { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:146:32 [INFO] [stdout] | [INFO] [stdout] 146 | fn encrypt_reader(input : &mut Read, key : &Vec, output : &mut Write) { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:146:68 [INFO] [stdout] | [INFO] [stdout] 146 | fn encrypt_reader(input : &mut Read, key : &Vec, output : &mut Write) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SeekFrom`, `Seek` [INFO] [stdout] --> src/main.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::{Write, Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 116 | let mut output : Box = if matches.is_present("output") { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:131:33 [INFO] [stdout] | [INFO] [stdout] 131 | let mut in_reader : Box = if matches.is_present("input") { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:146:32 [INFO] [stdout] | [INFO] [stdout] 146 | fn encrypt_reader(input : &mut Read, key : &Vec, output : &mut Write) { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:146:68 [INFO] [stdout] | [INFO] [stdout] 146 | fn encrypt_reader(input : &mut Read, key : &Vec, output : &mut Write) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Permissions` [INFO] [stdout] --> src/main.rs:484:25 [INFO] [stdout] | [INFO] [stdout] 484 | use rsfs::mem::{FS, Permissions}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rsfs::unix_ext::PermissionsExt` [INFO] [stdout] --> src/main.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 485 | use rsfs::unix_ext::PermissionsExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:486:27 [INFO] [stdout] | [INFO] [stdout] 486 | use std::io::{Cursor, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/main.rs:338:22 [INFO] [stdout] | [INFO] [stdout] 338 | fn get_key_bytes<'a>(matches: &'a ArgMatches<'a>) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | let mut key_bytes : Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/main.rs:338:22 [INFO] [stdout] | [INFO] [stdout] 338 | fn get_key_bytes<'a>(matches: &'a ArgMatches<'a>) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | let mut key_bytes : Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `debug_path` [INFO] [stdout] --> src/main.rs:497:8 [INFO] [stdout] | [INFO] [stdout] 497 | fn debug_path>(fs: &T, p: &P) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.10s [INFO] running `Command { std: "docker" "inspect" "ec388406ffb796d2d73fe18cfe23e485c43e8449c3d2265aae0d4e4612245095", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec388406ffb796d2d73fe18cfe23e485c43e8449c3d2265aae0d4e4612245095", kill_on_drop: false }` [INFO] [stdout] ec388406ffb796d2d73fe18cfe23e485c43e8449c3d2265aae0d4e4612245095