[INFO] cloning repository https://github.com/TimeTravelingKnight/ExampleOfFunc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TimeTravelingKnight/ExampleOfFunc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimeTravelingKnight%2FExampleOfFunc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimeTravelingKnight%2FExampleOfFunc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c179969ff614b1d6b3e4d7855d2a057ba224d42 [INFO] checking TimeTravelingKnight/ExampleOfFunc against master#9c3064e131f4939cc95a29bb11413c49bbda1491 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimeTravelingKnight%2FExampleOfFunc" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/TimeTravelingKnight/ExampleOfFunc [INFO] finished tweaking git repo https://github.com/TimeTravelingKnight/ExampleOfFunc [INFO] tweaked toml for git repo https://github.com/TimeTravelingKnight/ExampleOfFunc written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TimeTravelingKnight/ExampleOfFunc on toolchain 9c3064e131f4939cc95a29bb11413c49bbda1491 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TimeTravelingKnight/ExampleOfFunc already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23f2744db39e2a652b8adfb0064c22e053d96ebcb3eb4a56451f255e36ae9193 [INFO] running `Command { std: "docker" "start" "-a" "23f2744db39e2a652b8adfb0064c22e053d96ebcb3eb4a56451f255e36ae9193", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23f2744db39e2a652b8adfb0064c22e053d96ebcb3eb4a56451f255e36ae9193", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23f2744db39e2a652b8adfb0064c22e053d96ebcb3eb4a56451f255e36ae9193", kill_on_drop: false }` [INFO] [stdout] 23f2744db39e2a652b8adfb0064c22e053d96ebcb3eb4a56451f255e36ae9193 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8eeef9ca6e9d85ac884043da4429cce05e0af66aee077b563e6dac4dc03d482b [INFO] running `Command { std: "docker" "start" "-a" "8eeef9ca6e9d85ac884043da4429cce05e0af66aee077b563e6dac4dc03d482b", kill_on_drop: false }` [INFO] [stderr] Checking make2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `MutexValue` [INFO] [stdout] --> src/helpermacros.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | macro_rules! MutexValue{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `grab_u32` [INFO] [stdout] --> src/helpermacros.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | macro_rules! grab_u32{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `write_u32` [INFO] [stdout] --> src/helpermacros.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | macro_rules! write_u32{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `write_u8` [INFO] [stdout] --> src/helpermacros.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | macro_rules! write_u8{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `read_u8` [INFO] [stdout] --> src/helpermacros.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | macro_rules! read_u8{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MutexValue` [INFO] [stdout] --> src/helpermacros.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | pub(crate) use MutexValue; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `MutexValue` [INFO] [stdout] --> src/helpermacros.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | macro_rules! MutexValue{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grab_u32` [INFO] [stdout] --> src/helpermacros.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) use grab_u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write_u32` [INFO] [stdout] --> src/helpermacros.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) use write_u32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write_u8` [INFO] [stdout] --> src/helpermacros.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | pub(crate) use write_u8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_u8` [INFO] [stdout] --> src/helpermacros.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) use read_u8; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | if (game==9) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - if (game==9) { [INFO] [stdout] 38 + if game==9 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `grab_u32` [INFO] [stdout] --> src/helpermacros.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | macro_rules! grab_u32{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `write_u32` [INFO] [stdout] --> src/helpermacros.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | macro_rules! write_u32{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `write_u8` [INFO] [stdout] --> src/helpermacros.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | macro_rules! write_u8{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `read_u8` [INFO] [stdout] --> src/helpermacros.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | macro_rules! read_u8{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MutexValue` [INFO] [stdout] --> src/helpermacros.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | pub(crate) use MutexValue; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grab_u32` [INFO] [stdout] --> src/helpermacros.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) use grab_u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write_u32` [INFO] [stdout] --> src/helpermacros.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | pub(crate) use write_u32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write_u8` [INFO] [stdout] --> src/helpermacros.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | pub(crate) use write_u8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_u8` [INFO] [stdout] --> src/helpermacros.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) use read_u8; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | if (game==9) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - if (game==9) { [INFO] [stdout] 38 + if game==9 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GBAState` is more private than the item `on_game_load` [INFO] [stdout] --> src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub extern "C" fn on_game_load(game:u32, gba_state:*mut GBAState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `on_game_load` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `GBAState` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct GBAState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cpuFlags` should have a snake case name [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | cpuFlags:u32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cpu_flags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `flagsImplicitUpdate` should have a snake case name [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | flagsImplicitUpdate:u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `flags_implicit_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GBAState` is more private than the item `on_game_load` [INFO] [stdout] --> src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub extern "C" fn on_game_load(game:u32, gba_state:*mut GBAState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `on_game_load` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `GBAState` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct GBAState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cpuFlags` should have a snake case name [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | cpuFlags:u32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cpu_flags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `flagsImplicitUpdate` should have a snake case name [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | flagsImplicitUpdate:u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `flags_implicit_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] running `Command { std: "docker" "inspect" "8eeef9ca6e9d85ac884043da4429cce05e0af66aee077b563e6dac4dc03d482b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eeef9ca6e9d85ac884043da4429cce05e0af66aee077b563e6dac4dc03d482b", kill_on_drop: false }` [INFO] [stdout] 8eeef9ca6e9d85ac884043da4429cce05e0af66aee077b563e6dac4dc03d482b