[INFO] cloning repository https://github.com/robarnold/cryptopals [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robarnold/cryptopals" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobarnold%2Fcryptopals", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobarnold%2Fcryptopals'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d23941d2c29eba997560974dbdcfcffb0b02a2ef [INFO] testing robarnold/cryptopals against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobarnold%2Fcryptopals" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robarnold/cryptopals on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/robarnold/cryptopals [INFO] finished tweaking git repo https://github.com/robarnold/cryptopals [INFO] tweaked toml for git repo https://github.com/robarnold/cryptopals written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/robarnold/cryptopals already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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 regex-syntax v0.6.0 [INFO] [stderr] Downloaded regex v1.0.0 [INFO] [stderr] Downloaded rand_core v0.2.0 [INFO] [stderr] Downloaded rand v0.5.0 [INFO] [stderr] Downloaded quickcheck v0.6.2 [INFO] [stderr] Downloaded log v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a77754f43d58c0c8c71db4da4b27a3be8fa3daa6cf926351f17880a29d35336b [INFO] running `Command { std: "docker" "start" "-a" "a77754f43d58c0c8c71db4da4b27a3be8fa3daa6cf926351f17880a29d35336b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a77754f43d58c0c8c71db4da4b27a3be8fa3daa6cf926351f17880a29d35336b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a77754f43d58c0c8c71db4da4b27a3be8fa3daa6cf926351f17880a29d35336b", kill_on_drop: false }` [INFO] [stdout] a77754f43d58c0c8c71db4da4b27a3be8fa3daa6cf926351f17880a29d35336b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd812e0bd8b75f1d0fec0207d2cf25ee109c064a55d3e55df46080f9aa11a1b5 [INFO] running `Command { std: "docker" "start" "-a" "dd812e0bd8b75f1d0fec0207d2cf25ee109c064a55d3e55df46080f9aa11a1b5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling lazy_static v1.0.1 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling rand_core v0.2.0 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling rand v0.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling cryptopals v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:406:18 [INFO] [stdout] | [INFO] [stdout] 406 | transform: &(Fn(&[u8; 16]) -> [u8; 16] + Sync), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8; 16]) -> [u8; 16] + Sync` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:418:57 [INFO] [stdout] | [INFO] [stdout] 418 | fn transform(&mut self, chunk: &[u8; 16], transform: &Fn(&[u8; 16]) -> [u8; 16]) -> [u8; 16] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8; 16]) -> [u8; 16]` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:442:18 [INFO] [stdout] | [INFO] [stdout] 442 | transform: &(Fn(&[u8; 16]) -> [u8; 16] + Sync), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8; 16]) -> [u8; 16] + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:456:18 [INFO] [stdout] | [INFO] [stdout] 456 | transform: &(Fn(&[u8; 16]) -> [u8; 16] + Sync), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8; 16]) -> [u8; 16] + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | let mut cipher_mode_impl: Box = match cipher_mode { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CipherModeImpl` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/oracle.rs:20:50 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn determine_block_size_and_input_offset(o: &Oracle) -> (usize, usize) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Oracle` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/oracle.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn determine_block_size(o: &Oracle) -> usize { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Oracle` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/oracle.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn is_using_ecb(o: &Oracle) -> bool { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Oracle` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn gen_random_bytes(rng: &mut rand::RngCore, length: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn rand::RngCore` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/s2c13.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.83s [INFO] running `Command { std: "docker" "inspect" "dd812e0bd8b75f1d0fec0207d2cf25ee109c064a55d3e55df46080f9aa11a1b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd812e0bd8b75f1d0fec0207d2cf25ee109c064a55d3e55df46080f9aa11a1b5", kill_on_drop: false }` [INFO] [stdout] dd812e0bd8b75f1d0fec0207d2cf25ee109c064a55d3e55df46080f9aa11a1b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b49b3b777a401aff76d0a21c3b503ae974ae08538401882667f36fe5b08fe0a [INFO] running `Command { std: "docker" "start" "-a" "1b49b3b777a401aff76d0a21c3b503ae974ae08538401882667f36fe5b08fe0a", kill_on_drop: false }` [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling regex v1.0.0 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling termcolor v0.3.6 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling atty v0.2.10 [INFO] [stderr] Compiling log v0.4.2 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:406:18 [INFO] [stdout] | [INFO] [stdout] 406 | transform: &(Fn(&[u8; 16]) -> [u8; 16] + Sync), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8; 16]) -> [u8; 16] + Sync` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:418:57 [INFO] [stdout] | [INFO] [stdout] 418 | fn transform(&mut self, chunk: &[u8; 16], transform: &Fn(&[u8; 16]) -> [u8; 16]) -> [u8; 16] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8; 16]) -> [u8; 16]` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:442:18 [INFO] [stdout] | [INFO] [stdout] 442 | transform: &(Fn(&[u8; 16]) -> [u8; 16] + Sync), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8; 16]) -> [u8; 16] + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:456:18 [INFO] [stdout] | [INFO] [stdout] 456 | transform: &(Fn(&[u8; 16]) -> [u8; 16] + Sync), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8; 16]) -> [u8; 16] + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | let mut cipher_mode_impl: Box = match cipher_mode { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CipherModeImpl` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/oracle.rs:20:50 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn determine_block_size_and_input_offset(o: &Oracle) -> (usize, usize) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Oracle` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/oracle.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn determine_block_size(o: &Oracle) -> usize { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Oracle` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/oracle.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn is_using_ecb(o: &Oracle) -> bool { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Oracle` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn gen_random_bytes(rng: &mut rand::RngCore, length: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn rand::RngCore` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/s2c13.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling regex-syntax v0.6.0 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling env_logger v0.5.10 [INFO] [stderr] Compiling quickcheck v0.6.2 [INFO] [stderr] Compiling cryptopals v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:406:18 [INFO] [stdout] | [INFO] [stdout] 406 | transform: &(Fn(&[u8; 16]) -> [u8; 16] + Sync), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8; 16]) -> [u8; 16] + Sync` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:418:57 [INFO] [stdout] | [INFO] [stdout] 418 | fn transform(&mut self, chunk: &[u8; 16], transform: &Fn(&[u8; 16]) -> [u8; 16]) -> [u8; 16] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8; 16]) -> [u8; 16]` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:442:18 [INFO] [stdout] | [INFO] [stdout] 442 | transform: &(Fn(&[u8; 16]) -> [u8; 16] + Sync), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8; 16]) -> [u8; 16] + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:456:18 [INFO] [stdout] | [INFO] [stdout] 456 | transform: &(Fn(&[u8; 16]) -> [u8; 16] + Sync), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8; 16]) -> [u8; 16] + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | let mut cipher_mode_impl: Box = match cipher_mode { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CipherModeImpl` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/oracle.rs:20:50 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn determine_block_size_and_input_offset(o: &Oracle) -> (usize, usize) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Oracle` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/oracle.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn determine_block_size(o: &Oracle) -> usize { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Oracle` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/oracle.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn is_using_ecb(o: &Oracle) -> bool { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Oracle` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn gen_random_bytes(rng: &mut rand::RngCore, length: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn rand::RngCore` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/s2c13.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 15.27s [INFO] running `Command { std: "docker" "inspect" "1b49b3b777a401aff76d0a21c3b503ae974ae08538401882667f36fe5b08fe0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b49b3b777a401aff76d0a21c3b503ae974ae08538401882667f36fe5b08fe0a", kill_on_drop: false }` [INFO] [stdout] 1b49b3b777a401aff76d0a21c3b503ae974ae08538401882667f36fe5b08fe0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9ef3e3e8ad377149be62367c0f918713270d2c7a85a2f7f46e94c6d4e45a82cc [INFO] running `Command { std: "docker" "start" "-a" "9ef3e3e8ad377149be62367c0f918713270d2c7a85a2f7f46e94c6d4e45a82cc", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] running 40 tests [INFO] [stderr] --> src/aes.rs:406:18 [INFO] [stderr] | [INFO] [stderr] 406 | transform: &(Fn(&[u8; 16]) -> [u8; 16] + Sync), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8; 16]) -> [u8; 16] + Sync` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/aes.rs:418:57 [INFO] [stderr] | [INFO] [stderr] 418 | fn transform(&mut self, chunk: &[u8; 16], transform: &Fn(&[u8; 16]) -> [u8; 16]) -> [u8; 16] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8; 16]) -> [u8; 16]` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/aes.rs:442:18 [INFO] [stderr] | [INFO] [stderr] 442 | transform: &(Fn(&[u8; 16]) -> [u8; 16] + Sync), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8; 16]) -> [u8; 16] + Sync` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/aes.rs:456:18 [INFO] [stderr] | [INFO] [stderr] 456 | transform: &(Fn(&[u8; 16]) -> [u8; 16] + Sync), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8; 16]) -> [u8; 16] + Sync` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/aes.rs:472:33 [INFO] [stderr] | [INFO] [stderr] 472 | let mut cipher_mode_impl: Box = match cipher_mode { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CipherModeImpl` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/oracle.rs:20:50 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn determine_block_size_and_input_offset(o: &Oracle) -> (usize, usize) { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Oracle` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/oracle.rs:43:33 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn determine_block_size(o: &Oracle) -> usize { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Oracle` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/oracle.rs:47:25 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn is_using_ecb(o: &Oracle) -> bool { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Oracle` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util.rs:39:35 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn gen_random_bytes(rng: &mut rand::RngCore, length: usize) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn rand::RngCore` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/s2c13.rs:46:4 [INFO] [stderr] | [INFO] [stderr] 46 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 10 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/aes.rs:406:18 [INFO] [stderr] | [INFO] [stderr] 406 | transform: &(Fn(&[u8; 16]) -> [u8; 16] + Sync), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8; 16]) -> [u8; 16] + Sync` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/aes.rs:418:57 [INFO] [stderr] | [INFO] [stderr] 418 | fn transform(&mut self, chunk: &[u8; 16], transform: &Fn(&[u8; 16]) -> [u8; 16]) -> [u8; 16] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8; 16]) -> [u8; 16]` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/aes.rs:442:18 [INFO] [stderr] | [INFO] [stderr] 442 | transform: &(Fn(&[u8; 16]) -> [u8; 16] + Sync), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8; 16]) -> [u8; 16] + Sync` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/aes.rs:456:18 [INFO] [stderr] | [INFO] [stderr] 456 | transform: &(Fn(&[u8; 16]) -> [u8; 16] + Sync), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8; 16]) -> [u8; 16] + Sync` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/aes.rs:472:33 [INFO] [stderr] | [INFO] [stderr] 472 | let mut cipher_mode_impl: Box = match cipher_mode { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CipherModeImpl` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/oracle.rs:20:50 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn determine_block_size_and_input_offset(o: &Oracle) -> (usize, usize) { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Oracle` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/oracle.rs:43:33 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn determine_block_size(o: &Oracle) -> usize { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Oracle` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/oracle.rs:47:25 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn is_using_ecb(o: &Oracle) -> bool { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Oracle` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util.rs:39:35 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn gen_random_bytes(rng: &mut rand::RngCore, length: usize) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn rand::RngCore` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/s2c13.rs:46:4 [INFO] [stderr] | [INFO] [stderr] 46 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cryptopals-d855d98892ba03d1) [INFO] [stdout] test aes::test_shift_rows ... ok [INFO] [stdout] test analysis::s1c6_example ... ok [INFO] [stdout] test b64::encode_three_letters ... ok [INFO] [stdout] test b64::encode_two_letters ... ok [INFO] [stdout] test pkcs7::pad_aligned_input ... ok [INFO] [stdout] test b64::decode_two_letters ... ok [INFO] [stdout] test b64::decode_one_letter ... ok [INFO] [stdout] test aes::ecb_once_16 ... ok [INFO] [stdout] test aes::expand_key_16 ... ok [INFO] [stdout] test aes::ecb_once_24 ... ok [INFO] [stdout] test aes::ecb_once_32 ... ok [INFO] [stdout] test b64::encode_one_letter ... ok [INFO] [stdout] test s1c1::challenge ... ok [INFO] [stdout] test s1c2::challenge ... ok [INFO] [stdout] test b64::decode_three_letters ... ok [INFO] [stdout] test s1c5::challenge ... ok [INFO] [stdout] test aes::expand_key_32 ... ok [INFO] [stdout] test s1c3::challenge ... ok [INFO] [stdout] test aes::test_inv_shift_rows ... ok [INFO] [stdout] test s2c13::test_gen_query_string ... ok [INFO] [stdout] test s2c13::test_parse_query_string ... ok [INFO] [stdout] test pkcs7::pad_unaligned_input ... ok [INFO] [stdout] test aes::test_mix_column ... ok [INFO] [stdout] test aes::expand_key_24 ... ok [INFO] [stdout] test s2c9::challenge ... ok [INFO] [stdout] test s2c16::challenge ... ok [INFO] [stdout] test aes::test_shift_rows_ident ... ok [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/cryptopals-d855d98892ba03d1` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `Command { std: "docker" "inspect" "9ef3e3e8ad377149be62367c0f918713270d2c7a85a2f7f46e94c6d4e45a82cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ef3e3e8ad377149be62367c0f918713270d2c7a85a2f7f46e94c6d4e45a82cc", kill_on_drop: false }` [INFO] [stdout] 9ef3e3e8ad377149be62367c0f918713270d2c7a85a2f7f46e94c6d4e45a82cc