[INFO] cloning repository https://github.com/mbergenlid/rustiness [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mbergenlid/rustiness" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbergenlid%2Frustiness", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbergenlid%2Frustiness'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 573b62868c58620da0c934c7274a2a3aff267082 [INFO] checking mbergenlid/rustiness against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbergenlid%2Frustiness" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mbergenlid/rustiness on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mbergenlid/rustiness [INFO] finished tweaking git repo https://github.com/mbergenlid/rustiness [INFO] tweaked toml for git repo https://github.com/mbergenlid/rustiness written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/mbergenlid/rustiness already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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 deflate v0.7.14 [INFO] [stderr] Downloaded histogram v0.6.6 [INFO] [stderr] Downloaded sdl2 v0.28.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 273caba970ca3c63aac2504f18cd4c59ea62b3ce4a8e8ac705e2ca530b6f49a0 [INFO] running `Command { std: "docker" "start" "-a" "273caba970ca3c63aac2504f18cd4c59ea62b3ce4a8e8ac705e2ca530b6f49a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "273caba970ca3c63aac2504f18cd4c59ea62b3ce4a8e8ac705e2ca530b6f49a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "273caba970ca3c63aac2504f18cd4c59ea62b3ce4a8e8ac705e2ca530b6f49a0", kill_on_drop: false }` [INFO] [stdout] 273caba970ca3c63aac2504f18cd4c59ea62b3ce4a8e8ac705e2ca530b6f49a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 381db8503cfd8f94b8bfcb88ef75433463f3255202de833e32e34b4d0c3d482c [INFO] running `Command { std: "docker" "start" "-a" "381db8503cfd8f94b8bfcb88ef75433463f3255202de833e32e34b4d0c3d482c", kill_on_drop: false }` [INFO] [stderr] Checking num-traits v0.1.39 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking scopeguard v0.3.2 [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Compiling rayon-core v1.2.1 [INFO] [stderr] Compiling sdl2-sys v0.27.3 [INFO] [stderr] Checking futures v0.1.14 [INFO] [stderr] Checking byteorder v1.1.0 [INFO] [stderr] Checking adler32 v1.0.0 [INFO] [stderr] Compiling integration v0.1.0 (/opt/rustwide/workdir/integration) [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking inflate v0.2.0 [INFO] [stderr] Checking getopts v0.2.14 [INFO] [stderr] Checking histogram v0.6.6 [INFO] [stderr] Checking num_cpus v1.6.2 [INFO] [stderr] Checking nes v0.1.0 (/opt/rustwide/workdir/nes) [INFO] [stderr] Checking gif v0.9.2 [INFO] [stdout] error[E0503]: cannot use `state` because it was mutably borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/getopts-0.2.14/src/lib.rs:1008:33 [INFO] [stdout] | [INFO] [stdout] 955 | let mut machine = |cont: &mut bool, (i, c): (usize, char)| { [INFO] [stdout] | ---------------------------------------- borrow of `state` occurs here [INFO] [stdout] ... [INFO] [stdout] 959 | state = match (state, whitespace, limit) { [INFO] [stdout] | ----- borrow occurs due to use of `state` in closure [INFO] [stdout] ... [INFO] [stdout] 1008 | while cont && match state { B | C => true, A => false } { [INFO] [stdout] | ^ use of borrowed `state` [INFO] [stdout] 1009 | machine(&mut cont, (fake_i, ' ')); [INFO] [stdout] | ------- borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0503`. [INFO] [stdout] [INFO] [stderr] error: could not compile `getopts` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> integration/build.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | panic!(format!( [INFO] [stdout] | ________________^ [INFO] [stdout] 16 | | "Failed to install cc65 dependency\nstatus: {}", [INFO] [stdout] 17 | | install [INFO] [stdout] 18 | | )); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 15 | panic!( [INFO] [stdout] 16 | "Failed to install cc65 dependency\nstatus: {}", [INFO] [stdout] 17 | install [INFO] [stdout] 18 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> integration/build.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 55 | | "Failed to assemble {}\nstatu: {}\nstdout: {}\nstderr: {}", [INFO] [stdout] 56 | | file_name, [INFO] [stdout] 57 | | assemble.status, [INFO] [stdout] 58 | | String::from_utf8_lossy(&assemble.stdout), [INFO] [stdout] 59 | | String::from_utf8_lossy(&assemble.stderr) [INFO] [stdout] 60 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 54 | panic!( [INFO] [stdout] 55 | "Failed to assemble {}\nstatu: {}\nstdout: {}\nstderr: {}", [INFO] [stdout] 56 | file_name, [INFO] [stdout] 57 | assemble.status, [INFO] [stdout] 58 | String::from_utf8_lossy(&assemble.stdout), [INFO] [stdout] 59 | String::from_utf8_lossy(&assemble.stderr) [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> integration/build.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 70 | | "Failed to link file {}\nStdout: {}\nstderr: {}", [INFO] [stdout] 71 | | file_name, [INFO] [stdout] 72 | | String::from_utf8_lossy(&linking.stdout), [INFO] [stdout] 73 | | String::from_utf8_lossy(&linking.stderr) [INFO] [stdout] 74 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 69 | panic!( [INFO] [stdout] 70 | "Failed to link file {}\nStdout: {}\nstderr: {}", [INFO] [stdout] 71 | file_name, [INFO] [stdout] 72 | String::from_utf8_lossy(&linking.stdout), [INFO] [stdout] 73 | String::from_utf8_lossy(&linking.stderr) [INFO] [stdout] 74 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> nes/src/memory/memory.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | fn read(&self, &dyn Memory) -> u8; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &dyn Memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> nes/src/memory/memory.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | fn write(&mut self, &mut dyn Memory, value: u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut dyn Memory` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> nes/src/sound/sound.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | fn play(&self, &[i16]); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[i16]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found struct `TestRegister` [INFO] [stdout] --> nes/src/memory/cpu_memory.rs:98:44 [INFO] [stdout] | [INFO] [stdout] 98 | impl MemoryMappedIO for Rc> { [INFO] [stdout] | ^^^^^^^^^^^^ not a trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> nes/src/memory/memory.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | fn read(&self, &dyn Memory) -> u8; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &dyn Memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> nes/src/memory/memory.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | fn write(&mut self, &mut dyn Memory, value: u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut dyn Memory` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> nes/src/borrow/mutableref.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | let mut_ref_box: MutableRef = MutableRef::Box(Box::new(5)); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn SomeTrait` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> nes/src/borrow/mutableref.rs:52:42 [INFO] [stdout] | [INFO] [stdout] 52 | let mut_ref_borrowed: MutableRef = MutableRef::Borrowed(v); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn SomeTrait` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> nes/src/borrow/mutableref.rs:61:40 [INFO] [stdout] | [INFO] [stdout] 61 | let mut vector: Vec> = [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn SomeTrait` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> nes/src/cpu/cpu_tests.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | memory: Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Memory` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> nes/src/cpu/cpu_tests.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | fn new(memory: Box) -> MemorySpy { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Memory` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> nes/src/cpu/cpu_tests.rs:124:27 [INFO] [stdout] | [INFO] [stdout] 124 | fn set_up(memory: Box) -> (u8, MemorySpy) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Memory` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> nes/src/sound/sound.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | fn play(&self, &[i16]); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[i16]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0404`. [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "381db8503cfd8f94b8bfcb88ef75433463f3255202de833e32e34b4d0c3d482c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "381db8503cfd8f94b8bfcb88ef75433463f3255202de833e32e34b4d0c3d482c", kill_on_drop: false }` [INFO] [stdout] 381db8503cfd8f94b8bfcb88ef75433463f3255202de833e32e34b4d0c3d482c