[INFO] cloning repository https://github.com/thefzsalam/gtk-rs-list-box-model [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thefzsalam/gtk-rs-list-box-model" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthefzsalam%2Fgtk-rs-list-box-model", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthefzsalam%2Fgtk-rs-list-box-model'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5544164a441c083c96c26a78db0d1b03cfdf2b60 [INFO] checking thefzsalam/gtk-rs-list-box-model against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthefzsalam%2Fgtk-rs-list-box-model" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thefzsalam/gtk-rs-list-box-model [INFO] finished tweaking git repo https://github.com/thefzsalam/gtk-rs-list-box-model [INFO] tweaked toml for git repo https://github.com/thefzsalam/gtk-rs-list-box-model written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thefzsalam/gtk-rs-list-box-model on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thefzsalam/gtk-rs-list-box-model 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 270b81c1150a897861e3ae8ec26aaba336ccb4f9e95943b05dac2bcddf8c6ae1 [INFO] running `Command { std: "docker" "start" "-a" "270b81c1150a897861e3ae8ec26aaba336ccb4f9e95943b05dac2bcddf8c6ae1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "270b81c1150a897861e3ae8ec26aaba336ccb4f9e95943b05dac2bcddf8c6ae1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "270b81c1150a897861e3ae8ec26aaba336ccb4f9e95943b05dac2bcddf8c6ae1", kill_on_drop: false }` [INFO] [stdout] 270b81c1150a897861e3ae8ec26aaba336ccb4f9e95943b05dac2bcddf8c6ae1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4dcf703965b956104bf8a05ed7d6cfb1471a455b5e437ae2cf18b009c42533cc [INFO] running `Command { std: "docker" "start" "-a" "4dcf703965b956104bf8a05ed7d6cfb1471a455b5e437ae2cf18b009c42533cc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Checking libc v0.2.41 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Compiling gio v0.4.0 [INFO] [stderr] Compiling gdk-pixbuf v0.4.0 [INFO] [stderr] Compiling cairo-rs v0.4.1 [INFO] [stderr] Checking c_vec v1.3.0 [INFO] [stderr] Compiling gdk v0.8.0 [INFO] [stderr] Compiling gtk v0.4.1 [INFO] [stderr] Compiling glib-sys v0.6.0 [INFO] [stderr] Compiling gobject-sys v0.6.0 [INFO] [stderr] Compiling gio-sys v0.6.0 [INFO] [stderr] Compiling cairo-sys-rs v0.6.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.6.0 [INFO] [stderr] Compiling pango-sys v0.6.0 [INFO] [stderr] Compiling gdk-sys v0.6.0 [INFO] [stderr] Compiling atk-sys v0.6.0 [INFO] [stderr] Compiling gtk-sys v0.6.0 [INFO] [stderr] Checking glib v0.5.0 [INFO] [stderr] Checking pango v0.4.0 [INFO] [stderr] Checking gtk-rs-list-box-model v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `gtk-rs-list-box-model` (lib test) due to 1 previous error; 5 warnings emitted [INFO] [stdout] warning: field `obj_count` is never read [INFO] [stdout] --> src/list_model_gobject.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 248 | struct StringListItem { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 249 | obj_count: RefCountTestDouble, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringListItem` 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/gobject_ptr_wrapper.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn to_glib_full(self) -> *mut T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | impl Deref for GObjectPtrWrapper { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 41 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/container_gobject.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | let types_cache = TYPES_CACHE.as_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: `#[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/container_gobject.rs:109:67 [INFO] [stdout] | [INFO] [stdout] 109 | let type_name = String::from("RustContainerGObject")+&TYPE_INDEX.to_string(); [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 mutable reference to mutable static [INFO] [stdout] --> src/list_model_gobject.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | let types_cache = TYPES_CACHE.as_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/list_model_gobject.rs:93:67 [INFO] [stdout] | [INFO] [stdout] 93 | let type_name = String::from("RustListModelGObject")+&TYPE_INDEX.to_string(); [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: struct `RefCountTestDouble` is never constructed [INFO] [stdout] --> src/test_helpers.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct RefCountTestDouble { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/gobject_ptr_wrapper.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn to_glib_full(self) -> *mut T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | impl Deref for GObjectPtrWrapper { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 41 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/container_gobject.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | let types_cache = TYPES_CACHE.as_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: `#[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/container_gobject.rs:109:67 [INFO] [stdout] | [INFO] [stdout] 109 | let type_name = String::from("RustContainerGObject")+&TYPE_INDEX.to_string(); [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 mutable reference to mutable static [INFO] [stdout] --> src/list_model_gobject.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | let types_cache = TYPES_CACHE.as_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/list_model_gobject.rs:93:67 [INFO] [stdout] | [INFO] [stdout] 93 | let type_name = String::from("RustListModelGObject")+&TYPE_INDEX.to_string(); [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] error: could not compile `gtk-rs-list-box-model` (lib) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4dcf703965b956104bf8a05ed7d6cfb1471a455b5e437ae2cf18b009c42533cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dcf703965b956104bf8a05ed7d6cfb1471a455b5e437ae2cf18b009c42533cc", kill_on_drop: false }` [INFO] [stdout] 4dcf703965b956104bf8a05ed7d6cfb1471a455b5e437ae2cf18b009c42533cc