[INFO] cloning repository https://github.com/t-mw/space-opera [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/t-mw/space-opera" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft-mw%2Fspace-opera", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft-mw%2Fspace-opera'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f18ee95d4c0dacbda007d317a4af37579447cac7 [INFO] checking t-mw/space-opera against master#09a371361240e42b0d69438fd1179efcf212e576 for pr-157814-crater-rollup [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft-mw%2Fspace-opera" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/t-mw/space-opera [INFO] finished tweaking git repo https://github.com/t-mw/space-opera [INFO] tweaked toml for git repo https://github.com/t-mw/space-opera written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/t-mw/space-opera on toolchain 09a371361240e42b0d69438fd1179efcf212e576 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/t-mw/space-opera 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" "+09a371361240e42b0d69438fd1179efcf212e576" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `ld42` (manifest) generated 1 warning [INFO] [stderr] Updating git repository `https://github.com/t-mw/raylib-rs.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v1.0.3 [INFO] [stderr] Downloaded version_check v0.1.4 [INFO] [stderr] Downloaded aho-corasick v0.6.6 [INFO] [stderr] Downloaded rand_core v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7cf07dcec6eec8f91d8fcff9552b5c74122c05467aaf1800be6da9d6f61e2ab2" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 59e5b5dccbba3579708b4c9c7fe86dbdfdb6540e3458ded914853bd621266ba3 [INFO] running `Command { std: "docker" "start" "59e5b5dccbba3579708b4c9c7fe86dbdfdb6540e3458ded914853bd621266ba3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "59e5b5dccbba3579708b4c9c7fe86dbdfdb6540e3458ded914853bd621266ba3" "/opt/rustwide/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59e5b5dccbba3579708b4c9c7fe86dbdfdb6540e3458ded914853bd621266ba3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "59e5b5dccbba3579708b4c9c7fe86dbdfdb6540e3458ded914853bd621266ba3" "/opt/rustwide/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `ld42` (manifest) generated 1 warning [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling raylib-rs v0.1.0 (https://github.com/t-mw/raylib-rs.git#b3855aeb) [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Compiling ld42 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> build.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking aho-corasick v0.6.6 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/ceptre.rs:661:5 [INFO] [stdout] | [INFO] [stdout] 661 | rng: &mut R, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/main.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | let dt = (time2 - time1) as f32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> src/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct LevelSounds { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 98 | level: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `beat_pos_for_sound` is never used [INFO] [stdout] --> src/main.rs:598:4 [INFO] [stdout] | [INFO] [stdout] 598 | fn beat_pos_for_sound(sound: &ray::Music) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ceptre.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 122 | impl Rule { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 123 | fn new(inputs: Vec, outputs: Vec) -> Rule { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/ceptre.rs:336:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl Context { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 336 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_variables` is never used [INFO] [stdout] --> src/ceptre.rs:1066:4 [INFO] [stdout] | [INFO] [stdout] 1066 | fn match_variables(input_tokens: &Phrase, pred_tokens: &Phrase) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_prime` is never used [INFO] [stdout] --> src/ceptre.rs:1210:4 [INFO] [stdout] | [INFO] [stdout] 1210 | fn random_prime(rng: &mut R) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IterRand` is never used [INFO] [stdout] --> src/ceptre.rs:1254:7 [INFO] [stdout] | [INFO] [stdout] 1254 | trait IterRand { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IterRandState` is never constructed [INFO] [stdout] --> src/ceptre.rs:1302:8 [INFO] [stdout] | [INFO] [stdout] 1302 | struct IterRandState<'a, T: 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_phrase` is never used [INFO] [stdout] --> src/ceptre.rs:1310:4 [INFO] [stdout] | [INFO] [stdout] 1310 | fn build_phrase(phrase: &Phrase, string_cache: &StringCache) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_state` is never used [INFO] [stdout] --> src/ceptre.rs:1328:4 [INFO] [stdout] | [INFO] [stdout] 1328 | fn print_state(state: &Vec, string_cache: &StringCache) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rule_to_string` is never used [INFO] [stdout] --> src/ceptre.rs:1338:4 [INFO] [stdout] | [INFO] [stdout] 1338 | fn rule_to_string(rule: &Rule, string_cache: &StringCache) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:220:26 [INFO] [stdout] | [INFO] [stdout] 220 | let state = unsafe { STATE.as_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ceptre.rs:1257:26 [INFO] [stdout] | [INFO] [stdout] 1257 | fn iter_rand(&self, rng: &mut R) -> IterRandState; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1257 | fn iter_rand(&self, rng: &mut R) -> IterRandState<'_, Self::Item>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ceptre.rs:1263:26 [INFO] [stdout] | [INFO] [stdout] 1263 | fn iter_rand(&self, rng: &mut R) -> IterRandState { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1263 | fn iter_rand(&self, rng: &mut R) -> IterRandState<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/ceptre.rs:661:5 [INFO] [stdout] | [INFO] [stdout] 661 | rng: &mut R, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/main.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | let dt = (time2 - time1) as f32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> src/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct LevelSounds { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 98 | level: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `beat_pos_for_sound` is never used [INFO] [stdout] --> src/main.rs:598:4 [INFO] [stdout] | [INFO] [stdout] 598 | fn beat_pos_for_sound(sound: &ray::Music) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ceptre.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 122 | impl Rule { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 123 | fn new(inputs: Vec, outputs: Vec) -> Rule { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/ceptre.rs:336:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl Context { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 336 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_variables` is never used [INFO] [stdout] --> src/ceptre.rs:1066:4 [INFO] [stdout] | [INFO] [stdout] 1066 | fn match_variables(input_tokens: &Phrase, pred_tokens: &Phrase) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_prime` is never used [INFO] [stdout] --> src/ceptre.rs:1210:4 [INFO] [stdout] | [INFO] [stdout] 1210 | fn random_prime(rng: &mut R) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IterRand` is never used [INFO] [stdout] --> src/ceptre.rs:1254:7 [INFO] [stdout] | [INFO] [stdout] 1254 | trait IterRand { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IterRandState` is never constructed [INFO] [stdout] --> src/ceptre.rs:1302:8 [INFO] [stdout] | [INFO] [stdout] 1302 | struct IterRandState<'a, T: 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_phrase` is never used [INFO] [stdout] --> src/ceptre.rs:1310:4 [INFO] [stdout] | [INFO] [stdout] 1310 | fn build_phrase(phrase: &Phrase, string_cache: &StringCache) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_state` is never used [INFO] [stdout] --> src/ceptre.rs:1328:4 [INFO] [stdout] | [INFO] [stdout] 1328 | fn print_state(state: &Vec, string_cache: &StringCache) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rule_to_string` is never used [INFO] [stdout] --> src/ceptre.rs:1338:4 [INFO] [stdout] | [INFO] [stdout] 1338 | fn rule_to_string(rule: &Rule, string_cache: &StringCache) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:220:26 [INFO] [stdout] | [INFO] [stdout] 220 | let state = unsafe { STATE.as_mut().unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ceptre.rs:1257:26 [INFO] [stdout] | [INFO] [stdout] 1257 | fn iter_rand(&self, rng: &mut R) -> IterRandState; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1257 | fn iter_rand(&self, rng: &mut R) -> IterRandState<'_, Self::Item>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ceptre.rs:1263:26 [INFO] [stdout] | [INFO] [stdout] 1263 | fn iter_rand(&self, rng: &mut R) -> IterRandState { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1263 | fn iter_rand(&self, rng: &mut R) -> IterRandState<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.52s [INFO] running `Command { std: "docker" "inspect" "59e5b5dccbba3579708b4c9c7fe86dbdfdb6540e3458ded914853bd621266ba3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59e5b5dccbba3579708b4c9c7fe86dbdfdb6540e3458ded914853bd621266ba3", kill_on_drop: false }` [INFO] [stdout] 59e5b5dccbba3579708b4c9c7fe86dbdfdb6540e3458ded914853bd621266ba3