[INFO] cloning repository https://github.com/linkfy/LGB [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/linkfy/LGB" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinkfy%2FLGB", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinkfy%2FLGB'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] caeb28f2e5ee59dd6e691a12df4854eb9f9cf02c [INFO] documenting linkfy/LGB against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinkfy%2FLGB" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/linkfy/LGB on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/linkfy/LGB [INFO] finished tweaking git repo https://github.com/linkfy/LGB [INFO] tweaked toml for git repo https://github.com/linkfy/LGB written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/linkfy/LGB already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6c57daab64f24ea1d86ffc017ef9c2cd07448a4e35759c8d3320f7214b441929 [INFO] running `Command { std: "docker" "start" "-a" "6c57daab64f24ea1d86ffc017ef9c2cd07448a4e35759c8d3320f7214b441929", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c57daab64f24ea1d86ffc017ef9c2cd07448a4e35759c8d3320f7214b441929", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c57daab64f24ea1d86ffc017ef9c2cd07448a4e35759c8d3320f7214b441929", kill_on_drop: false }` [INFO] [stdout] 6c57daab64f24ea1d86ffc017ef9c2cd07448a4e35759c8d3320f7214b441929 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "RUSTDOCFLAGS=--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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d0abe236e5e8cec1b7b4df11c98675112abad06f0cd3af3e271e0712bfb12a99 [INFO] running `Command { std: "docker" "start" "-a" "d0abe236e5e8cec1b7b4df11c98675112abad06f0cd3af3e271e0712bfb12a99", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking wayland-sys v0.24.1 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking json v0.12.1 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling minifb v0.15.3 [INFO] [stderr] Compiling wayland-scanner v0.24.1 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking nix v0.15.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Compiling wayland-client v0.24.1 [INFO] [stderr] Compiling wayland-protocols v0.24.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking wayland-commons v0.24.1 [INFO] [stderr] Documenting LGB v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/registers.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | let result = (register_f & bit); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 46 - let result = (register_f & bit); [INFO] [stdout] 46 + let result = register_f & bit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/registers.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | if(result != 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - if(result != 0) { [INFO] [stdout] 55 + if result != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/cpu.rs:143:11 [INFO] [stdout] | [INFO] [stdout] 143 | if(result_operation == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 143 - if(result_operation == 0) { [INFO] [stdout] 143 + if result_operation == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/rom.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | if(file.metadata().unwrap().len() >= 32768) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - if(file.metadata().unwrap().len() >= 32768) { [INFO] [stdout] 27 + if file.metadata().unwrap().len() >= 32768 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rom.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | 0x01 ... 0x03 => {mbc = Mbc::Mbc1}, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rom.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | 0x05 ... 0x06 => {mbc = Mbc::Mbc2}, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rom.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | 0x0F ... 0x13 => {mbc = Mbc::Mbc3}, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rom.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | 0x15 ... 0x17 => {mbc = Mbc::Mbc4}, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/rom.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | 0x19 ... 0x1E => {mbc = Mbc::Mbc5}, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/memory_bus.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | 0x0000...0x7FFF => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/memory_bus.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | if(self.boot_mode) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - if(self.boot_mode) { [INFO] [stdout] 57 + if self.boot_mode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.50s [INFO] running `Command { std: "docker" "inspect" "d0abe236e5e8cec1b7b4df11c98675112abad06f0cd3af3e271e0712bfb12a99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0abe236e5e8cec1b7b4df11c98675112abad06f0cd3af3e271e0712bfb12a99", kill_on_drop: false }` [INFO] [stdout] d0abe236e5e8cec1b7b4df11c98675112abad06f0cd3af3e271e0712bfb12a99