[INFO] cloning repository https://github.com/JohnHMoses/rBoy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JohnHMoses/rBoy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnHMoses%2FrBoy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnHMoses%2FrBoy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 930180c1b77773234c5caf153c9757860758263f [INFO] testing JohnHMoses/rBoy against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnHMoses%2FrBoy" "/workspace/builds/worker-70/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-70/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JohnHMoses/rBoy on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JohnHMoses/rBoy [INFO] finished tweaking git repo https://github.com/JohnHMoses/rBoy [INFO] tweaked toml for git repo https://github.com/JohnHMoses/rBoy written to /workspace/builds/worker-70/source/Cargo.toml [INFO] crate git repo https://github.com/JohnHMoses/rBoy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2dec105ee0face0fb531217abc2f1facbca528304f09785556bd7080340c2dd7 [INFO] running `Command { std: "docker" "start" "-a" "2dec105ee0face0fb531217abc2f1facbca528304f09785556bd7080340c2dd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2dec105ee0face0fb531217abc2f1facbca528304f09785556bd7080340c2dd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dec105ee0face0fb531217abc2f1facbca528304f09785556bd7080340c2dd7", kill_on_drop: false }` [INFO] [stdout] 2dec105ee0face0fb531217abc2f1facbca528304f09785556bd7080340c2dd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 894289b011d9c9e9a70a4f142e8cb73d7da9bdb1771ce3925d9e431e4a28d59a [INFO] running `Command { std: "docker" "start" "-a" "894289b011d9c9e9a70a4f142e8cb73d7da9bdb1771ce3925d9e431e4a28d59a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::ByteAddressable` [INFO] [stdout] --> src/memory/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::ByteAddressable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ByteReference` [INFO] [stdout] --> src/memory/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::ByteReference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Memory` [INFO] [stdout] --> src/memory/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::Memory; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::WordAddressable` [INFO] [stdout] --> src/memory/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::WordAddressable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::WordReference` [INFO] [stdout] --> src/memory/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::WordReference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | lower: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - lower: Box, [INFO] [stdout] 37 + lower: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | upper: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - upper: Box, [INFO] [stdout] 38 + upper: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] 42 + fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:42:57 [INFO] [stdout] | [INFO] [stdout] 42 | fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] 42 + fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:84:60 [INFO] [stdout] | [INFO] [stdout] 84 | fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] 84 + fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:84:87 [INFO] [stdout] | [INFO] [stdout] 84 | fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] 84 + fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/memory/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn new(value: &'a mut u8) -> ByteReference<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/memory/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Memory` [INFO] [stdout] --> src/memory/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct Memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/memory/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new() -> Memory { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ref` [INFO] [stdout] --> src/memory/mod.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_ref(&'a mut self, address: u16) -> WordReference { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_byte_refs` [INFO] [stdout] --> src/memory/mod.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ByteAddressable` [INFO] [stdout] --> src/memory/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::ByteAddressable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ByteReference` [INFO] [stdout] --> src/memory/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::ByteReference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Memory` [INFO] [stdout] --> src/memory/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::Memory; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::WordAddressable` [INFO] [stdout] --> src/memory/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::WordAddressable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::WordReference` [INFO] [stdout] --> src/memory/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::WordReference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | lower: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - lower: Box, [INFO] [stdout] 37 + lower: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | upper: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - upper: Box, [INFO] [stdout] 38 + upper: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] 42 + fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:42:57 [INFO] [stdout] | [INFO] [stdout] 42 | fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] 42 + fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:84:60 [INFO] [stdout] | [INFO] [stdout] 84 | fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] 84 + fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:84:87 [INFO] [stdout] | [INFO] [stdout] 84 | fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] 84 + fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/memory/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn new(value: &'a mut u8) -> ByteReference<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/memory/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Memory` [INFO] [stdout] --> src/memory/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct Memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/memory/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new() -> Memory { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ref` [INFO] [stdout] --> src/memory/mod.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_ref(&'a mut self, address: u16) -> WordReference { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_byte_refs` [INFO] [stdout] --> src/memory/mod.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.75s [INFO] running `Command { std: "docker" "inspect" "894289b011d9c9e9a70a4f142e8cb73d7da9bdb1771ce3925d9e431e4a28d59a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "894289b011d9c9e9a70a4f142e8cb73d7da9bdb1771ce3925d9e431e4a28d59a", kill_on_drop: false }` [INFO] [stdout] 894289b011d9c9e9a70a4f142e8cb73d7da9bdb1771ce3925d9e431e4a28d59a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cec9339509478fc43b6f9785eebde1fea72d64506a19d7c65de3f398730be498 [INFO] running `Command { std: "docker" "start" "-a" "cec9339509478fc43b6f9785eebde1fea72d64506a19d7c65de3f398730be498", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::ByteAddressable` [INFO] [stdout] --> src/memory/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::ByteAddressable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ByteReference` [INFO] [stdout] --> src/memory/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::ByteReference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Memory` [INFO] [stdout] --> src/memory/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::Memory; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::WordAddressable` [INFO] [stdout] --> src/memory/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::WordAddressable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::WordReference` [INFO] [stdout] --> src/memory/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::WordReference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | lower: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - lower: Box, [INFO] [stdout] 37 + lower: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | upper: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - upper: Box, [INFO] [stdout] 38 + upper: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] 42 + fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:42:57 [INFO] [stdout] | [INFO] [stdout] 42 | fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] 42 + fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:84:60 [INFO] [stdout] | [INFO] [stdout] 84 | fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] 84 + fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:84:87 [INFO] [stdout] | [INFO] [stdout] 84 | fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] 84 + fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/memory/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn new(value: &'a mut u8) -> ByteReference<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/memory/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Memory` [INFO] [stdout] --> src/memory/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct Memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/memory/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new() -> Memory { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ref` [INFO] [stdout] --> src/memory/mod.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_ref(&'a mut self, address: u16) -> WordReference { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_byte_refs` [INFO] [stdout] --> src/memory/mod.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | lower: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - lower: Box, [INFO] [stdout] 37 + lower: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | upper: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - upper: Box, [INFO] [stdout] 38 + upper: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] 42 + fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:42:57 [INFO] [stdout] | [INFO] [stdout] 42 | fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] 42 + fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:84:60 [INFO] [stdout] | [INFO] [stdout] 84 | fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] 84 + fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:84:87 [INFO] [stdout] | [INFO] [stdout] 84 | fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] 84 + fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | lower: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - lower: Box, [INFO] [stdout] 37 + lower: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | upper: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - upper: Box, [INFO] [stdout] 38 + upper: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] 42 + fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:42:57 [INFO] [stdout] | [INFO] [stdout] 42 | fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] 42 + fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:84:60 [INFO] [stdout] | [INFO] [stdout] 84 | fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] 84 + fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/memory/mod.rs:84:87 [INFO] [stdout] | [INFO] [stdout] 84 | fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] 84 + fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.27s [INFO] running `Command { std: "docker" "inspect" "cec9339509478fc43b6f9785eebde1fea72d64506a19d7c65de3f398730be498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cec9339509478fc43b6f9785eebde1fea72d64506a19d7c65de3f398730be498", kill_on_drop: false }` [INFO] [stdout] cec9339509478fc43b6f9785eebde1fea72d64506a19d7c65de3f398730be498 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-70/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bb76352c6371fd114e30702bcc59487c9b0a67467c8563c8ab751031fd65baeb [INFO] running `Command { std: "docker" "start" "-a" "bb76352c6371fd114e30702bcc59487c9b0a67467c8563c8ab751031fd65baeb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `super::ByteAddressable` [INFO] [stdout] [INFO] [stderr] --> src/memory/tests.rs:1:5 [INFO] [stdout] running 7 tests [INFO] [stderr] | [INFO] [stdout] test memory::tests::byte_reference_can_read_value ... ok [INFO] [stderr] 1 | use super::ByteAddressable; [INFO] [stdout] test memory::tests::byte_reference_can_write_value ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test memory::tests::word_reference_can_read_value ... ok [INFO] [stderr] | [INFO] [stdout] test memory::tests::word_reference_can_write_value ... ok [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] test memory::tests::memory_can_make_read_write_references ... ok [INFO] [stderr] [INFO] [stdout] test tests::hello_world ... ok [INFO] [stderr] warning: unused import: `super::ByteReference` [INFO] [stdout] test memory::tests::memory_refs_can_overlap ... ok [INFO] [stderr] --> src/memory/tests.rs:2:5 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 2 | use super::ByteReference; [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] running 6 tests [INFO] [stderr] warning: unused import: `super::Memory` [INFO] [stderr] --> src/memory/tests.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use super::Memory; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::WordAddressable` [INFO] [stderr] --> src/memory/tests.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use super::WordAddressable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::WordReference` [INFO] [stderr] --> src/memory/tests.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use super::WordReference; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/memory/mod.rs:37:16 [INFO] [stderr] | [INFO] [stderr] 37 | lower: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 37 - lower: Box, [INFO] [stderr] 37 + lower: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/memory/mod.rs:38:16 [INFO] [stderr] | [INFO] [stderr] 38 | upper: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 38 - upper: Box, [INFO] [stderr] 38 + upper: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/memory/mod.rs:42:23 [INFO] [stderr] | [INFO] [stderr] 42 | fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stdout] test memory::tests::byte_reference_can_read_value ... ok [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] test memory::tests::byte_reference_can_write_value ... ok [INFO] [stderr] = note: for more information, see [INFO] [stdout] test memory::tests::memory_can_make_read_write_references ... ok [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 42 - fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stderr] 42 + fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/memory/mod.rs:42:57 [INFO] [stderr] | [INFO] [stderr] 42 | fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 42 - fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stderr] 42 + fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/memory/mod.rs:84:60 [INFO] [stderr] | [INFO] [stderr] 84 | fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 84 - fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stderr] 84 + fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/memory/mod.rs:84:87 [INFO] [stderr] | [INFO] [stderr] 84 | fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 84 - fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stderr] 84 + fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/memory/mod.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | fn new(value: &'a mut u8) -> ByteReference<'a> { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/memory/mod.rs:42:8 [INFO] [stderr] | [INFO] [stderr] 42 | fn new(lower: Box, upper: Box) -> WordReference<'a> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Memory` [INFO] [stderr] --> src/memory/mod.rs:68:8 [INFO] [stderr] | [INFO] [stderr] 68 | struct Memory { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/memory/mod.rs:73:12 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn new() -> Memory { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_ref` [INFO] [stderr] --> src/memory/mod.rs:77:12 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn get_ref(&'a mut self, address: u16) -> WordReference { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_byte_refs` [INFO] [stderr] --> src/memory/mod.rs:84:8 [INFO] [stderr] | [INFO] [stderr] 84 | fn get_byte_refs(&'a mut self, address: usize) -> (Box, Box) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rboy` (lib) generated 17 warnings [INFO] [stderr] warning: `rboy` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] warning: `rboy` (bin "rboy" test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 59.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rboy-1508edbc56b378dd) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rboy-779a40050be6eaf0) [INFO] [stdout] test memory::tests::word_reference_can_read_value ... ok [INFO] [stdout] test memory::tests::memory_refs_can_overlap ... ok [INFO] [stdout] test memory::tests::word_reference_can_write_value ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rboy [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bb76352c6371fd114e30702bcc59487c9b0a67467c8563c8ab751031fd65baeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb76352c6371fd114e30702bcc59487c9b0a67467c8563c8ab751031fd65baeb", kill_on_drop: false }` [INFO] [stdout] bb76352c6371fd114e30702bcc59487c9b0a67467c8563c8ab751031fd65baeb