[INFO] fetching crate objc2 0.4.1...
[INFO] checking objc2-0.4.1 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate objc2 0.4.1 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate objc2 0.4.1 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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-3-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded malloc_buf v1.0.0
[INFO] [stderr]   Downloaded objc-sys v0.3.1
[INFO] [stderr]   Downloaded objc2-proc-macros v0.1.1
[INFO] [stderr]   Downloaded objc2-encode v3.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0cd3742f0180840702d00a602af340429ce43fa1c0e756fb03feb9c23a624b30
[INFO] running `Command { std: "docker" "start" "-a" "0cd3742f0180840702d00a602af340429ce43fa1c0e756fb03feb9c23a624b30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0cd3742f0180840702d00a602af340429ce43fa1c0e756fb03feb9c23a624b30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0cd3742f0180840702d00a602af340429ce43fa1c0e756fb03feb9c23a624b30", kill_on_drop: false }`
[INFO] [stdout] 0cd3742f0180840702d00a602af340429ce43fa1c0e756fb03feb9c23a624b30
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5b9b23e07a1dc11c52ec99844cbe005878fcefe50cb1a12fe1d3734043d87552
[INFO] running `Command { std: "docker" "start" "-a" "5b9b23e07a1dc11c52ec99844cbe005878fcefe50cb1a12fe1d3734043d87552", kill_on_drop: false }`
[INFO] [stderr]    Compiling objc-sys v0.3.1
[INFO] [stderr]     Checking objc2-encode v3.0.0
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking iai v0.1.1
[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/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/prelude/mod.rs:38: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<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] 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" "5b9b23e07a1dc11c52ec99844cbe005878fcefe50cb1a12fe1d3734043d87552", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b9b23e07a1dc11c52ec99844cbe005878fcefe50cb1a12fe1d3734043d87552", kill_on_drop: false }`
[INFO] [stdout] 5b9b23e07a1dc11c52ec99844cbe005878fcefe50cb1a12fe1d3734043d87552
[INFO] checking objc2-0.4.1 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate objc2 0.4.1 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate objc2 0.4.1 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "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-3-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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d871f296d0c3e3cde8b091e067cbe41b851a1c0475e265f51256787f86f515d9
[INFO] running `Command { std: "docker" "start" "-a" "d871f296d0c3e3cde8b091e067cbe41b851a1c0475e265f51256787f86f515d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d871f296d0c3e3cde8b091e067cbe41b851a1c0475e265f51256787f86f515d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d871f296d0c3e3cde8b091e067cbe41b851a1c0475e265f51256787f86f515d9", kill_on_drop: false }`
[INFO] [stdout] d871f296d0c3e3cde8b091e067cbe41b851a1c0475e265f51256787f86f515d9
[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" "-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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e5571e880f2caaad65aa53ae448fd777dae15f7515b134ed529538aa511ff8c6
[INFO] running `Command { std: "docker" "start" "-a" "e5571e880f2caaad65aa53ae448fd777dae15f7515b134ed529538aa511ff8c6", kill_on_drop: false }`
[INFO] [stderr]    Compiling objc-sys v0.3.1
[INFO] [stderr]     Checking objc2-encode v3.0.0
[INFO] [stderr]     Checking iai v0.1.1
[INFO] [stderr]     Checking static_assertions v1.1.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/72eda894eb3548c7ba774079ce0afab42958d4ee/library/core/src/prelude/mod.rs:38: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<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] 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" "e5571e880f2caaad65aa53ae448fd777dae15f7515b134ed529538aa511ff8c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5571e880f2caaad65aa53ae448fd777dae15f7515b134ed529538aa511ff8c6", kill_on_drop: false }`
[INFO] [stdout] e5571e880f2caaad65aa53ae448fd777dae15f7515b134ed529538aa511ff8c6
