[INFO] fetching crate slothlang 1.4.0... [INFO] testing slothlang-1.4.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate slothlang 1.4.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate slothlang 1.4.0 [INFO] finished tweaking crates.io crate slothlang 1.4.0 [INFO] tweaked toml for crates.io crate slothlang 1.4.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate slothlang 1.4.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate slothlang 1.4.0 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fd8be574fb2fb9ac8ddc122791fe7cc2bf4ec52e78db38583f2c0f424843d27 [INFO] running `Command { std: "docker" "start" "-a" "7fd8be574fb2fb9ac8ddc122791fe7cc2bf4ec52e78db38583f2c0f424843d27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fd8be574fb2fb9ac8ddc122791fe7cc2bf4ec52e78db38583f2c0f424843d27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fd8be574fb2fb9ac8ddc122791fe7cc2bf4ec52e78db38583f2c0f424843d27", kill_on_drop: false }` [INFO] [stdout] 7fd8be574fb2fb9ac8ddc122791fe7cc2bf4ec52e78db38583f2c0f424843d27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f046fe145b5bcdc5a89cfd13fbdea1008a62ef5cabf453752da666eb08678d2 [INFO] running `Command { std: "docker" "start" "-a" "6f046fe145b5bcdc5a89cfd13fbdea1008a62ef5cabf453752da666eb08678d2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling proc-macro2 v1.0.54 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling os_str_bytes v6.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling text_io v0.1.12 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.7.3 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Compiling slothlang v1.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/lexer/tokenstream.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TokenStream { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 7 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenStream` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_owner_type` is never used [INFO] [stdout] --> src/sloth/function.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait SlothFunction: Debug { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 48 | /// Return the type owning this function, or None if this is not a method [INFO] [stdout] 49 | fn get_owner_type(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:231:1: 231:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs" }) } [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/sloth/program.rs:253:74 [INFO] [stdout] | [INFO] [stdout] 253 | if sign.name == signature.name {matching_def.push(def.clone())} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Box` does not implement `Clone`, so calling `clone` on `&Box` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 253 - if sign.name == signature.name {matching_def.push(def.clone())} [INFO] [stdout] 253 + if sign.name == signature.name {matching_def.push(def)} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/builtins/media.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | if SDL_CONTEXT.is_none() {SDL_CONTEXT = Some(sdl2::init()?)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/builtins/media.rs:163:35 [INFO] [stdout] | [INFO] [stdout] 163 | let video_subsystem = SDL_CONTEXT.clone().unwrap().video()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/builtins/media.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | if SDL_CONTEXT.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/builtins/media.rs:371:18 [INFO] [stdout] | [INFO] [stdout] 371 | let ep = SDL_CONTEXT.as_ref().unwrap().event_pump(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.64s [INFO] running `Command { std: "docker" "inspect" "6f046fe145b5bcdc5a89cfd13fbdea1008a62ef5cabf453752da666eb08678d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f046fe145b5bcdc5a89cfd13fbdea1008a62ef5cabf453752da666eb08678d2", kill_on_drop: false }` [INFO] [stdout] 6f046fe145b5bcdc5a89cfd13fbdea1008a62ef5cabf453752da666eb08678d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b406301543c5eb30aff7d2926c7a13796374428b909e19442ebf5702360e3037 [INFO] running `Command { std: "docker" "start" "-a" "b406301543c5eb30aff7d2926c7a13796374428b909e19442ebf5702360e3037", kill_on_drop: false }` [INFO] [stderr] Compiling slothlang v1.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/lexer/tokenstream.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TokenStream { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 7 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenStream` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_owner_type` is never used [INFO] [stdout] --> src/sloth/function.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait SlothFunction: Debug { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 48 | /// Return the type owning this function, or None if this is not a method [INFO] [stdout] 49 | fn get_owner_type(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/sloth/program.rs:253:74 [INFO] [stdout] | [INFO] [stdout] 253 | if sign.name == signature.name {matching_def.push(def.clone())} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Box` does not implement `Clone`, so calling `clone` on `&Box` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 253 - if sign.name == signature.name {matching_def.push(def.clone())} [INFO] [stdout] 253 + if sign.name == signature.name {matching_def.push(def)} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:231:1: 231:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs" }) } [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/builtins/media.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | if SDL_CONTEXT.is_none() {SDL_CONTEXT = Some(sdl2::init()?)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/builtins/media.rs:163:35 [INFO] [stdout] | [INFO] [stdout] 163 | let video_subsystem = SDL_CONTEXT.clone().unwrap().video()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/builtins/media.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | if SDL_CONTEXT.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/builtins/media.rs:371:18 [INFO] [stdout] | [INFO] [stdout] 371 | let ep = SDL_CONTEXT.as_ref().unwrap().event_pump(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.31s [INFO] running `Command { std: "docker" "inspect" "b406301543c5eb30aff7d2926c7a13796374428b909e19442ebf5702360e3037", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b406301543c5eb30aff7d2926c7a13796374428b909e19442ebf5702360e3037", kill_on_drop: false }` [INFO] [stdout] b406301543c5eb30aff7d2926c7a13796374428b909e19442ebf5702360e3037 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c072a3f31db5d8070f8862ef33bc10364ace5390671444f16577f1f9e98a5a89 [INFO] running `Command { std: "docker" "start" "-a" "c072a3f31db5d8070f8862ef33bc10364ace5390671444f16577f1f9e98a5a89", kill_on_drop: false }` [INFO] [stderr] warning: field `filename` is never read [INFO] [stderr] --> src/lexer/tokenstream.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct TokenStream { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 7 | pub filename: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TokenStream` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `get_owner_type` is never used [INFO] [stderr] --> src/sloth/function.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 47 | pub trait SlothFunction: Debug { [INFO] [stderr] | ------------- method in this trait [INFO] [stderr] 48 | /// Return the type owning this function, or None if this is not a method [INFO] [stderr] 49 | fn get_owner_type(&self) -> Option; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:231:1: 231:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs" }) } [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/sloth/program.rs:253:74 [INFO] [stderr] | [INFO] [stderr] 253 | if sign.name == signature.name {matching_def.push(def.clone())} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `Box` does not implement `Clone`, so calling `clone` on `&Box` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 253 - if sign.name == signature.name {matching_def.push(def.clone())} [INFO] [stderr] 253 + if sign.name == signature.name {matching_def.push(def)} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/builtins/media.rs:162:16 [INFO] [stderr] | [INFO] [stderr] 162 | if SDL_CONTEXT.is_none() {SDL_CONTEXT = Some(sdl2::init()?)} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/builtins/media.rs:163:35 [INFO] [stderr] | [INFO] [stderr] 163 | let video_subsystem = SDL_CONTEXT.clone().unwrap().video()?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/builtins/media.rs:364:12 [INFO] [stderr] | [INFO] [stderr] 364 | if SDL_CONTEXT.is_none() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/builtins/media.rs:371:18 [INFO] [stderr] | [INFO] [stderr] 371 | let ep = SDL_CONTEXT.as_ref().unwrap().event_pump(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: `slothlang` (bin "slothlang" test) generated 7 warnings (run `cargo fix --bin "slothlang" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/slothlang-5f34585fd16f429a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c072a3f31db5d8070f8862ef33bc10364ace5390671444f16577f1f9e98a5a89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c072a3f31db5d8070f8862ef33bc10364ace5390671444f16577f1f9e98a5a89", kill_on_drop: false }` [INFO] [stdout] c072a3f31db5d8070f8862ef33bc10364ace5390671444f16577f1f9e98a5a89