[INFO] fetching crate libxm 1.1.1... [INFO] checking libxm-1.1.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate libxm 1.1.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate libxm 1.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate libxm 1.1.1 [INFO] tweaked toml for crates.io crate libxm 1.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libxm 1.1.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate libxm 1.1.1 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b1393227cadea7cef4eb8269aa0d98b50459950e0b4d7f3a1dffe95d62c1b27 [INFO] running `Command { std: "docker" "start" "-a" "3b1393227cadea7cef4eb8269aa0d98b50459950e0b4d7f3a1dffe95d62c1b27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b1393227cadea7cef4eb8269aa0d98b50459950e0b4d7f3a1dffe95d62c1b27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b1393227cadea7cef4eb8269aa0d98b50459950e0b4d7f3a1dffe95d62c1b27", kill_on_drop: false }` [INFO] [stdout] 3b1393227cadea7cef4eb8269aa0d98b50459950e0b4d7f3a1dffe95d62c1b27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6255ed17ad07f2aadaf27702c2ebfa1487c51658b49036e318c574d0ec664d8 [INFO] running `Command { std: "docker" "start" "-a" "e6255ed17ad07f2aadaf27702c2ebfa1487c51658b49036e318c574d0ec664d8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling sdl2 v0.37.0 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling sdl2-sys v0.37.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling libxm v1.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c: In function 'xm_create_context_from_libxmize': [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:108:85: warning: unused parameter 'rate' [-Wunused-parameter] [INFO] [stderr] warning: libxm@1.1.1: 108 | void xm_create_context_from_libxmize(xm_context_t** ctxp, char* libxmized, uint32_t rate) { [INFO] [stderr] warning: libxm@1.1.1: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c: In function 'xm_mute_channel': [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:17:57: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] [INFO] [stderr] warning: libxm@1.1.1: 17 | DEBUG("invalid channel %d", (c)); \ [INFO] [stderr] warning: libxm@1.1.1: | ^ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:170:9: note: in expansion of macro 'CHECK_CHANNEL' [INFO] [stderr] warning: libxm@1.1.1: 170 | CHECK_CHANNEL(ctx, channel); [INFO] [stderr] warning: libxm@1.1.1: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c: In function 'xm_mute_instrument': [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:22:60: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] [INFO] [stderr] warning: libxm@1.1.1: 22 | DEBUG("invalid instrument %d", (i)); \ [INFO] [stderr] warning: libxm@1.1.1: | ^ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:177:9: note: in expansion of macro 'CHECK_INSTRUMENT' [INFO] [stderr] warning: libxm@1.1.1: 177 | CHECK_INSTRUMENT(ctx, instr); [INFO] [stderr] warning: libxm@1.1.1: | ^~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c: In function 'xm_get_number_of_samples': [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:22:60: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] [INFO] [stderr] warning: libxm@1.1.1: 22 | DEBUG("invalid instrument %d", (i)); \ [INFO] [stderr] warning: libxm@1.1.1: | ^ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:228:9: note: in expansion of macro 'CHECK_INSTRUMENT' [INFO] [stderr] warning: libxm@1.1.1: 228 | CHECK_INSTRUMENT(ctx, instrument); [INFO] [stderr] warning: libxm@1.1.1: | ^~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c: In function 'xm_get_sample_waveform': [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:22:60: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] [INFO] [stderr] warning: libxm@1.1.1: 22 | DEBUG("invalid instrument %d", (i)); \ [INFO] [stderr] warning: libxm@1.1.1: | ^ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:26:17: note: in expansion of macro 'CHECK_INSTRUMENT' [INFO] [stderr] warning: libxm@1.1.1: 26 | CHECK_INSTRUMENT((ctx), (i)); \ [INFO] [stderr] warning: libxm@1.1.1: | ^~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:233:9: note: in expansion of macro 'CHECK_SAMPLE' [INFO] [stderr] warning: libxm@1.1.1: 233 | CHECK_SAMPLE(ctx, i, s); [INFO] [stderr] warning: libxm@1.1.1: | ^~~~~~~~~~~~ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:28:79: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] [INFO] [stderr] warning: libxm@1.1.1: 28 | DEBUG("invalid sample %d for instrument %d", (s), (i)); \ [INFO] [stderr] warning: libxm@1.1.1: | ^ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:233:9: note: in expansion of macro 'CHECK_SAMPLE' [INFO] [stderr] warning: libxm@1.1.1: 233 | CHECK_SAMPLE(ctx, i, s); [INFO] [stderr] warning: libxm@1.1.1: | ^~~~~~~~~~~~ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c: In function 'xm_get_latest_trigger_of_instrument': [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:22:60: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] [INFO] [stderr] warning: libxm@1.1.1: 22 | DEBUG("invalid instrument %d", (i)); \ [INFO] [stderr] warning: libxm@1.1.1: | ^ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:254:9: note: in expansion of macro 'CHECK_INSTRUMENT' [INFO] [stderr] warning: libxm@1.1.1: 254 | CHECK_INSTRUMENT(ctx, instr); [INFO] [stderr] warning: libxm@1.1.1: | ^~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c: In function 'xm_get_latest_trigger_of_sample': [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:22:60: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] [INFO] [stderr] warning: libxm@1.1.1: 22 | DEBUG("invalid instrument %d", (i)); \ [INFO] [stderr] warning: libxm@1.1.1: | ^ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:26:17: note: in expansion of macro 'CHECK_INSTRUMENT' [INFO] [stderr] warning: libxm@1.1.1: 26 | CHECK_INSTRUMENT((ctx), (i)); \ [INFO] [stderr] warning: libxm@1.1.1: | ^~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:259:9: note: in expansion of macro 'CHECK_SAMPLE' [INFO] [stderr] warning: libxm@1.1.1: 259 | CHECK_SAMPLE(ctx, instr, sample); [INFO] [stderr] warning: libxm@1.1.1: | ^~~~~~~~~~~~ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:28:79: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] [INFO] [stderr] warning: libxm@1.1.1: 28 | DEBUG("invalid sample %d for instrument %d", (s), (i)); \ [INFO] [stderr] warning: libxm@1.1.1: | ^ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:259:9: note: in expansion of macro 'CHECK_SAMPLE' [INFO] [stderr] warning: libxm@1.1.1: 259 | CHECK_SAMPLE(ctx, instr, sample); [INFO] [stderr] warning: libxm@1.1.1: | ^~~~~~~~~~~~ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c: In function 'xm_get_latest_trigger_of_channel': [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:17:57: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] [INFO] [stderr] warning: libxm@1.1.1: 17 | DEBUG("invalid channel %d", (c)); \ [INFO] [stderr] warning: libxm@1.1.1: | ^ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:264:9: note: in expansion of macro 'CHECK_CHANNEL' [INFO] [stderr] warning: libxm@1.1.1: 264 | CHECK_CHANNEL(ctx, chn); [INFO] [stderr] warning: libxm@1.1.1: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c: In function 'xm_is_channel_active': [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:17:57: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] [INFO] [stderr] warning: libxm@1.1.1: 17 | DEBUG("invalid channel %d", (c)); \ [INFO] [stderr] warning: libxm@1.1.1: | ^ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:269:9: note: in expansion of macro 'CHECK_CHANNEL' [INFO] [stderr] warning: libxm@1.1.1: 269 | CHECK_CHANNEL(ctx, chn); [INFO] [stderr] warning: libxm@1.1.1: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c: In function 'xm_get_frequency_of_channel': [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:17:57: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] [INFO] [stderr] warning: libxm@1.1.1: 17 | DEBUG("invalid channel %d", (c)); \ [INFO] [stderr] warning: libxm@1.1.1: | ^ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:275:9: note: in expansion of macro 'CHECK_CHANNEL' [INFO] [stderr] warning: libxm@1.1.1: 275 | CHECK_CHANNEL(ctx, chn); [INFO] [stderr] warning: libxm@1.1.1: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c: In function 'xm_get_volume_of_channel': [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:17:57: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] [INFO] [stderr] warning: libxm@1.1.1: 17 | DEBUG("invalid channel %d", (c)); \ [INFO] [stderr] warning: libxm@1.1.1: | ^ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:280:9: note: in expansion of macro 'CHECK_CHANNEL' [INFO] [stderr] warning: libxm@1.1.1: 280 | CHECK_CHANNEL(ctx, chn); [INFO] [stderr] warning: libxm@1.1.1: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c: In function 'xm_get_panning_of_channel': [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:17:57: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] [INFO] [stderr] warning: libxm@1.1.1: 17 | DEBUG("invalid channel %d", (c)); \ [INFO] [stderr] warning: libxm@1.1.1: | ^ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:285:9: note: in expansion of macro 'CHECK_CHANNEL' [INFO] [stderr] warning: libxm@1.1.1: 285 | CHECK_CHANNEL(ctx, chn); [INFO] [stderr] warning: libxm@1.1.1: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c: In function 'xm_get_instrument_of_channel': [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:17:57: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] [INFO] [stderr] warning: libxm@1.1.1: 17 | DEBUG("invalid channel %d", (c)); \ [INFO] [stderr] warning: libxm@1.1.1: | ^ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/context.c:290:9: note: in expansion of macro 'CHECK_CHANNEL' [INFO] [stderr] warning: libxm@1.1.1: 290 | CHECK_CHANNEL(ctx, chn); [INFO] [stderr] warning: libxm@1.1.1: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/load.c: In function 'xm_check_sanity_postload': [INFO] [stderr] warning: libxm@1.1.1: libxm/src/load.c:64:44: warning: unused parameter 'ctx' [-Wunused-parameter] [INFO] [stderr] warning: libxm@1.1.1: 64 | int xm_check_sanity_postload(xm_context_t* ctx) { [INFO] [stderr] warning: libxm@1.1.1: | ~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/play.c: In function 'xm_tremolo': [INFO] [stderr] warning: libxm@1.1.1: libxm/src/play.c:189:38: warning: unused parameter 'ctx' [-Wunused-parameter] [INFO] [stderr] warning: libxm@1.1.1: 189 | static void xm_tremolo(xm_context_t* ctx, xm_channel_context_t* ch, uint8_t param, uint16_t pos) { [INFO] [stderr] warning: libxm@1.1.1: | ~~~~~~~~~~~~~~^~~ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/play.c: In function 'xm_handle_note_and_instrument': [INFO] [stderr] warning: libxm@1.1.1: libxm/src/play.c:480:19: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: libxm@1.1.1: 480 | if(s->volume_column > 0x50) break; [INFO] [stderr] warning: libxm@1.1.1: | ^ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/play.c:481:9: note: here [INFO] [stderr] warning: libxm@1.1.1: 481 | case 0x1: [INFO] [stderr] warning: libxm@1.1.1: | ^~~~ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/play.c: In function 'xm_tick': [INFO] [stderr] warning: libxm@1.1.1: libxm/src/play.c:1055:43: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: libxm@1.1.1: 1055 | if(ctx->current_tick == 1) { [INFO] [stderr] warning: libxm@1.1.1: | ^ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/play.c:1062:33: note: here [INFO] [stderr] warning: libxm@1.1.1: 1062 | case 1: /* 0 -> 0 -> y -> x -> … */ [INFO] [stderr] warning: libxm@1.1.1: | ^~~~ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/play.c:1063:43: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: libxm@1.1.1: 1063 | if(ctx->current_tick == 0) { [INFO] [stderr] warning: libxm@1.1.1: | ^ [INFO] [stderr] warning: libxm@1.1.1: libxm/src/play.c:1070:33: note: here [INFO] [stderr] warning: libxm@1.1.1: 1070 | case 0: /* 0 -> y -> x -> … */ [INFO] [stderr] warning: libxm@1.1.1: | ^~~~ [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.81s [INFO] running `Command { std: "docker" "inspect" "e6255ed17ad07f2aadaf27702c2ebfa1487c51658b49036e318c574d0ec664d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6255ed17ad07f2aadaf27702c2ebfa1487c51658b49036e318c574d0ec664d8", kill_on_drop: false }` [INFO] [stdout] e6255ed17ad07f2aadaf27702c2ebfa1487c51658b49036e318c574d0ec664d8