[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 master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbergenlid%2Frustiness" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mbergenlid/rustiness on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "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-5/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" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdb3983825912fdc44d7146d91d6eba0023dec58378d79af75e5a716cc31cfbd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cdb3983825912fdc44d7146d91d6eba0023dec58378d79af75e5a716cc31cfbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdb3983825912fdc44d7146d91d6eba0023dec58378d79af75e5a716cc31cfbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdb3983825912fdc44d7146d91d6eba0023dec58378d79af75e5a716cc31cfbd", kill_on_drop: false }` [INFO] [stdout] cdb3983825912fdc44d7146d91d6eba0023dec58378d79af75e5a716cc31cfbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25a02e59ec411fce0b779231045691f3ac8ee84714f10ba0696cc75ba4bb92c8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "25a02e59ec411fce0b779231045691f3ac8ee84714f10ba0696cc75ba4bb92c8", kill_on_drop: false }` [INFO] [stderr] Checking scopeguard v0.3.2 [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Compiling sdl2-sys v0.27.3 [INFO] [stderr] Compiling rayon-core v1.2.1 [INFO] [stderr] Checking futures v0.1.14 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling integration v0.1.0 (/opt/rustwide/workdir/integration) [INFO] [stderr] Checking getopts v0.2.14 [INFO] [stderr] Checking histogram v0.6.6 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking deflate v0.7.14 [INFO] [stderr] Checking nes v0.1.0 (/opt/rustwide/workdir/nes) [INFO] [stderr] Checking num-rational v0.1.39 [INFO] [stderr] Checking num v0.1.39 [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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking coco v0.1.1 [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] 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: 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] [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] [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] [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] [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] [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] [INFO] [stdout] error: aborting due to previous error; 6 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "25a02e59ec411fce0b779231045691f3ac8ee84714f10ba0696cc75ba4bb92c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25a02e59ec411fce0b779231045691f3ac8ee84714f10ba0696cc75ba4bb92c8", kill_on_drop: false }` [INFO] [stdout] 25a02e59ec411fce0b779231045691f3ac8ee84714f10ba0696cc75ba4bb92c8