[INFO] fetching crate slothlang 1.4.0...
[INFO] checking slothlang-1.4.0 against 1.95.0 for pr-155915
[INFO] extracting crate slothlang 1.4.0 into /workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate slothlang 1.4.0 on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded text_io v0.1.12
[INFO] [stderr]   Downloaded proc-macro2 v1.0.54
[INFO] [stderr]   Downloaded regex v1.7.3
[INFO] [stderr]   Downloaded sdl2 v0.35.2
[INFO] [stderr]   Downloaded sdl2-sys v0.35.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 696143be688845b17580b645b1348ba0557bc1c0d0ca936b40002e86ec835f5c
[INFO] running `Command { std: "docker" "start" "-a" "696143be688845b17580b645b1348ba0557bc1c0d0ca936b40002e86ec835f5c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "696143be688845b17580b645b1348ba0557bc1c0d0ca936b40002e86ec835f5c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "696143be688845b17580b645b1348ba0557bc1c0d0ca936b40002e86ec835f5c", kill_on_drop: false }`
[INFO] [stdout] 696143be688845b17580b645b1348ba0557bc1c0d0ca936b40002e86ec835f5c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2bab9aeaaa00c0b91c4c2e97defda8af356d5803ffb990c3549451663803c870
[INFO] running `Command { std: "docker" "start" "-a" "2bab9aeaaa00c0b91c4c2e97defda8af356d5803ffb990c3549451663803c870", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.140
[INFO] [stderr]    Compiling proc-macro2 v1.0.54
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling unicode-ident v1.0.8
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking os_str_bytes v6.5.0
[INFO] [stderr]    Compiling sdl2 v0.35.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling sdl2-sys v0.35.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking termcolor v1.2.0
[INFO] [stderr]     Checking textwrap v0.16.0
[INFO] [stderr]     Checking once_cell v1.17.1
[INFO] [stderr]     Checking indexmap v1.9.3
[INFO] [stderr]     Checking text_io v0.1.12
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking aho-corasick v0.7.20
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking regex v1.7.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling clap_derive v3.2.18
[INFO] [stderr]     Checking clap v3.2.23
[INFO] [stderr]     Checking 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<Type>;
[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<dyn ObjectBlueprint>` does not implement `Clone`, so calling `clone` on `&Box<dyn ObjectBlueprint>` 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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[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<Type>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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<dyn ObjectBlueprint>` does not implement `Clone`, so calling `clone` on `&Box<dyn ObjectBlueprint>` 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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.66s
[INFO] running `Command { std: "docker" "inspect" "2bab9aeaaa00c0b91c4c2e97defda8af356d5803ffb990c3549451663803c870", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2bab9aeaaa00c0b91c4c2e97defda8af356d5803ffb990c3549451663803c870", kill_on_drop: false }`
[INFO] [stdout] 2bab9aeaaa00c0b91c4c2e97defda8af356d5803ffb990c3549451663803c870
