[INFO] fetching crate objc2 0.4.1... [INFO] checking objc2-0.4.1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate objc2 0.4.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate objc2 0.4.1 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate objc2 0.4.1 [INFO] finished tweaking crates.io crate objc2 0.4.1 [INFO] tweaked toml for crates.io crate objc2 0.4.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate objc2 0.4.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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded objc-sys v0.3.1 [INFO] [stderr] Downloaded objc2-encode v3.0.0 [INFO] [stderr] Downloaded malloc_buf v1.0.0 [INFO] [stderr] Downloaded objc2-proc-macros v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ca274ca28f2330b8792efaee054c357c183b974f825dabb3b7f776773ea1369 [INFO] running `Command { std: "docker" "start" "-a" "1ca274ca28f2330b8792efaee054c357c183b974f825dabb3b7f776773ea1369", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ca274ca28f2330b8792efaee054c357c183b974f825dabb3b7f776773ea1369", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ca274ca28f2330b8792efaee054c357c183b974f825dabb3b7f776773ea1369", kill_on_drop: false }` [INFO] [stdout] 1ca274ca28f2330b8792efaee054c357c183b974f825dabb3b7f776773ea1369 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 440d38533ca8f163fe6b4ec6f2fd906e3b109331defb38fb5dadeed475685692 [INFO] running `Command { std: "docker" "start" "-a" "440d38533ca8f163fe6b4ec6f2fd906e3b109331defb38fb5dadeed475685692", kill_on_drop: false }` [INFO] [stderr] Compiling objc-sys v0.3.1 [INFO] [stderr] Checking objc2-encode v3.0.0 [INFO] [stderr] Checking objc2 v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ptr` is imported redundantly [INFO] [stdout] --> src/__macro_helpers/mod.rs:610:9 [INFO] [stdout] | [INFO] [stdout] 607 | use super::*; [INFO] [stdout] | -------- the item `ptr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 610 | use core::ptr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mem` is imported redundantly [INFO] [stdout] --> src/declare/ivar.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | use core::mem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | use super::*; [INFO] [stdout] | -------- the item `mem` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Id` is imported redundantly [INFO] [stdout] --> src/message/mod.rs:666:9 [INFO] [stdout] | [INFO] [stdout] 664 | use super::*; [INFO] [stdout] | -------- the item `Id` is already imported here [INFO] [stdout] 665 | use crate::mutability; [INFO] [stdout] 666 | use crate::rc::Id; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Unpin` is imported redundantly [INFO] [stdout] --> src/rc/autorelease.rs:521:9 [INFO] [stdout] | [INFO] [stdout] 521 | use core::marker::Unpin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Unpin` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Allocated` is imported redundantly [INFO] [stdout] --> src/rc/test_object.rs:324:38 [INFO] [stdout] | [INFO] [stdout] 323 | use super::*; [INFO] [stdout] | -------- the item `Allocated` is already imported here [INFO] [stdout] 324 | use crate::rc::{autoreleasepool, Allocated}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NSObjectProtocol` is imported redundantly [INFO] [stdout] --> src/runtime/protocol_object.rs:201:36 [INFO] [stdout] | [INFO] [stdout] 199 | use super::*; [INFO] [stdout] | -------- the item `NSObjectProtocol` is already imported here [INFO] [stdout] 200 | use crate::mutability::Mutable; [INFO] [stdout] 201 | use crate::runtime::{NSObject, NSObjectProtocol}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0455]: link kind `framework` is only supported on Apple targets [INFO] [stdout] --> src/lib.rs:226:38 [INFO] [stdout] | [INFO] [stdout] 226 | link(name = "Foundation", kind = "framework") [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0455`. [INFO] [stdout] [INFO] [stderr] error: could not compile `objc2` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait `Abc` is never used [INFO] [stdout] --> src/__macro_helpers/mod.rs:934:15 [INFO] [stdout] | [INFO] [stdout] 934 | trait Abc { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rc/id_traits.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | struct Iter<'a>(&'a Collection); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 153 | struct Iter<'a>(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rc/id_traits.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 171 | struct IterMut<'a>(&'a mut Collection); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 171 | struct IterMut<'a>(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rc/id_traits.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | struct IntoIter(Id); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 190 | struct IntoIter(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `foo_class` and `foo_instance` are never used [INFO] [stdout] --> src/runtime/protocol_object.rs:207:16 [INFO] [stdout] | [INFO] [stdout] 205 | unsafe trait Foo { [INFO] [stdout] | --- associated items in this trait [INFO] [stdout] 206 | #[method(foo)] [INFO] [stdout] 207 | fn foo_class(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | fn foo_instance(&self); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::__extern_protocol_rewrite_methods` which comes from the expansion of the macro `extern_protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `bar_class` and `bar_instance` are never used [INFO] [stdout] --> src/runtime/protocol_object.rs:219:16 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe trait Bar: NSObjectProtocol { [INFO] [stdout] | --- associated items in this trait [INFO] [stdout] 218 | #[method(bar)] [INFO] [stdout] 219 | fn bar_class(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | fn bar_instance(&self); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::__extern_protocol_rewrite_methods` which comes from the expansion of the macro `extern_protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `foobar_class` and `foobar_instance` are never used [INFO] [stdout] --> src/runtime/protocol_object.rs:231:16 [INFO] [stdout] | [INFO] [stdout] 229 | unsafe trait FooBar: Foo + Bar { [INFO] [stdout] | ------ associated items in this trait [INFO] [stdout] 230 | #[method(foobar)] [INFO] [stdout] 231 | fn foobar_class(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn foobar_instance(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::__extern_protocol_rewrite_methods` which comes from the expansion of the macro `extern_protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `foofoobar_class` and `foofoobar_instance` are never used [INFO] [stdout] --> src/runtime/protocol_object.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 241 | unsafe trait FooFooBar: Foo + FooBar { [INFO] [stdout] | --------- associated items in this trait [INFO] [stdout] 242 | #[method(foofoobar)] [INFO] [stdout] 243 | fn foofoobar_class(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | fn foofoobar_instance(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::__extern_protocol_rewrite_methods` which comes from the expansion of the macro `extern_protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0455]: link kind `framework` is only supported on Apple targets [INFO] [stdout] --> src/lib.rs:226:38 [INFO] [stdout] | [INFO] [stdout] 226 | link(name = "Foundation", kind = "framework") [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0455`. [INFO] [stdout] [INFO] [stderr] error: could not compile `objc2` (lib test) due to 2 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "440d38533ca8f163fe6b4ec6f2fd906e3b109331defb38fb5dadeed475685692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "440d38533ca8f163fe6b4ec6f2fd906e3b109331defb38fb5dadeed475685692", kill_on_drop: false }` [INFO] [stdout] 440d38533ca8f163fe6b4ec6f2fd906e3b109331defb38fb5dadeed475685692 [INFO] checking objc2-0.4.1 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-2 [INFO] extracting crate objc2 0.4.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate objc2 0.4.1 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate objc2 0.4.1 [INFO] finished tweaking crates.io crate objc2 0.4.1 [INFO] tweaked toml for crates.io crate objc2 0.4.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate objc2 0.4.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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23f2695866aa48171db1850e855e38a5d3c62fb991233f271c431f20d3600712 [INFO] running `Command { std: "docker" "start" "-a" "23f2695866aa48171db1850e855e38a5d3c62fb991233f271c431f20d3600712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23f2695866aa48171db1850e855e38a5d3c62fb991233f271c431f20d3600712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23f2695866aa48171db1850e855e38a5d3c62fb991233f271c431f20d3600712", kill_on_drop: false }` [INFO] [stdout] 23f2695866aa48171db1850e855e38a5d3c62fb991233f271c431f20d3600712 [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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92ed4927488a02d70f4c6589cbaa08a01a2400c57383044ed3eca27fb93e1f70 [INFO] running `Command { std: "docker" "start" "-a" "92ed4927488a02d70f4c6589cbaa08a01a2400c57383044ed3eca27fb93e1f70", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling objc-sys v0.3.1 [INFO] [stderr] Checking objc2-encode v3.0.0 [INFO] [stderr] Checking objc2 v0.4.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] error[E0455]: link kind `framework` is only supported on Apple targets [INFO] [stdout] --> src/lib.rs:226:38 [INFO] [stdout] | [INFO] [stdout] 226 | link(name = "Foundation", kind = "framework") [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0455`. [INFO] [stdout] [INFO] [stderr] error: could not compile `objc2` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the item `ptr` is imported redundantly [INFO] [stdout] --> src/__macro_helpers/mod.rs:610:9 [INFO] [stdout] | [INFO] [stdout] 607 | use super::*; [INFO] [stdout] | -------- the item `ptr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 610 | use core::ptr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mem` is imported redundantly [INFO] [stdout] --> src/declare/ivar.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | use core::mem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | use super::*; [INFO] [stdout] | -------- the item `mem` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Id` is imported redundantly [INFO] [stdout] --> src/message/mod.rs:666:9 [INFO] [stdout] | [INFO] [stdout] 664 | use super::*; [INFO] [stdout] | -------- the item `Id` is already imported here [INFO] [stdout] 665 | use crate::mutability; [INFO] [stdout] 666 | use crate::rc::Id; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Unpin` is imported redundantly [INFO] [stdout] --> src/rc/autorelease.rs:521:9 [INFO] [stdout] | [INFO] [stdout] 521 | use core::marker::Unpin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/core/src/prelude/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Unpin` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Allocated` is imported redundantly [INFO] [stdout] --> src/rc/test_object.rs:324:38 [INFO] [stdout] | [INFO] [stdout] 323 | use super::*; [INFO] [stdout] | -------- the item `Allocated` is already imported here [INFO] [stdout] 324 | use crate::rc::{autoreleasepool, Allocated}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NSObjectProtocol` is imported redundantly [INFO] [stdout] --> src/runtime/protocol_object.rs:201:36 [INFO] [stdout] | [INFO] [stdout] 199 | use super::*; [INFO] [stdout] | -------- the item `NSObjectProtocol` is already imported here [INFO] [stdout] 200 | use crate::mutability::Mutable; [INFO] [stdout] 201 | use crate::runtime::{NSObject, NSObjectProtocol}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Abc` is never used [INFO] [stdout] --> src/__macro_helpers/mod.rs:934:15 [INFO] [stdout] | [INFO] [stdout] 934 | trait Abc { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rc/id_traits.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | struct Iter<'a>(&'a Collection); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 153 | struct Iter<'a>(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rc/id_traits.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 171 | struct IterMut<'a>(&'a mut Collection); [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 171 | struct IterMut<'a>(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rc/id_traits.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | struct IntoIter(Id); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 190 | struct IntoIter(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `foo_class` and `foo_instance` are never used [INFO] [stdout] --> src/runtime/protocol_object.rs:207:16 [INFO] [stdout] | [INFO] [stdout] 205 | unsafe trait Foo { [INFO] [stdout] | --- associated items in this trait [INFO] [stdout] 206 | #[method(foo)] [INFO] [stdout] 207 | fn foo_class(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | fn foo_instance(&self); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::__extern_protocol_rewrite_methods` which comes from the expansion of the macro `extern_protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `bar_class` and `bar_instance` are never used [INFO] [stdout] --> src/runtime/protocol_object.rs:219:16 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe trait Bar: NSObjectProtocol { [INFO] [stdout] | --- associated items in this trait [INFO] [stdout] 218 | #[method(bar)] [INFO] [stdout] 219 | fn bar_class(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | fn bar_instance(&self); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::__extern_protocol_rewrite_methods` which comes from the expansion of the macro `extern_protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `foobar_class` and `foobar_instance` are never used [INFO] [stdout] --> src/runtime/protocol_object.rs:231:16 [INFO] [stdout] | [INFO] [stdout] 229 | unsafe trait FooBar: Foo + Bar { [INFO] [stdout] | ------ associated items in this trait [INFO] [stdout] 230 | #[method(foobar)] [INFO] [stdout] 231 | fn foobar_class(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn foobar_instance(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::__extern_protocol_rewrite_methods` which comes from the expansion of the macro `extern_protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `foofoobar_class` and `foofoobar_instance` are never used [INFO] [stdout] --> src/runtime/protocol_object.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 241 | unsafe trait FooFooBar: Foo + FooBar { [INFO] [stdout] | --------- associated items in this trait [INFO] [stdout] 242 | #[method(foofoobar)] [INFO] [stdout] 243 | fn foofoobar_class(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | fn foofoobar_instance(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::__extern_protocol_rewrite_methods` which comes from the expansion of the macro `extern_protocol` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0455]: link kind `framework` is only supported on Apple targets [INFO] [stdout] --> src/lib.rs:226:38 [INFO] [stdout] | [INFO] [stdout] 226 | link(name = "Foundation", kind = "framework") [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0455`. [INFO] [stdout] [INFO] [stderr] error: could not compile `objc2` (lib test) due to 2 previous errors; 14 warnings emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "92ed4927488a02d70f4c6589cbaa08a01a2400c57383044ed3eca27fb93e1f70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92ed4927488a02d70f4c6589cbaa08a01a2400c57383044ed3eca27fb93e1f70", kill_on_drop: false }` [INFO] [stdout] 92ed4927488a02d70f4c6589cbaa08a01a2400c57383044ed3eca27fb93e1f70