[INFO] fetching crate objc-macros 0.1.0... [INFO] testing objc-macros-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate objc-macros 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate objc-macros 0.1.0 [INFO] finished tweaking crates.io crate objc-macros 0.1.0 [INFO] tweaked toml for crates.io crate objc-macros 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate objc-macros 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate objc-macros 0.1.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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.44 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9239258222053e5584d071b5171791008b032988fc6394db3031cb8c9bd955e [INFO] running `Command { std: "docker" "start" "-a" "c9239258222053e5584d071b5171791008b032988fc6394db3031cb8c9bd955e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9239258222053e5584d071b5171791008b032988fc6394db3031cb8c9bd955e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9239258222053e5584d071b5171791008b032988fc6394db3031cb8c9bd955e", kill_on_drop: false }` [INFO] [stdout] c9239258222053e5584d071b5171791008b032988fc6394db3031cb8c9bd955e [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] adb0bdcec66c0e89123e60349a454d26e55f7dd7eed554747e888c0899b0af9b [INFO] running `Command { std: "docker" "start" "-a" "adb0bdcec66c0e89123e60349a454d26e55f7dd7eed554747e888c0899b0af9b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling malloc_buf v0.0.6 [INFO] [stderr] Compiling objc v0.2.7 [INFO] [stderr] Compiling objc-macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `objc::declare::ClassDecl` [INFO] [stdout] --> src/class.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use objc::declare::ClassDecl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Class`, `Object`, and `Sel` [INFO] [stdout] --> src/class.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use objc::runtime::{Class, Object, Sel}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `process_field` [INFO] [stdout] --> src/class.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | macro_rules! process_field { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `objc::declare::ClassDecl` [INFO] [stdout] --> src/class.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use objc::declare::ClassDecl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Class`, `Object`, and `Sel` [INFO] [stdout] --> src/class.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use objc::runtime::{Class, Object, Sel}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ________________________^ [INFO] [stdout] 23 | | (pub width: u32), [INFO] [stdout] 24 | | (priv height: u32), [INFO] [stdout] 25 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 28 | | }), [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `class` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `class` may come from an old version of the `objc` crate, try updating your dependency with `cargo update -p objc` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `class` which comes from the expansion of the macro `register_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ________________________^ [INFO] [stdout] 23 | | (pub width: u32), [INFO] [stdout] 24 | | (priv height: u32), [INFO] [stdout] 25 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 28 | | }), [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sel_impl` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `sel_impl` may come from an old version of the `objc` crate, try updating your dependency with `cargo update -p objc` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sel_impl` which comes from the expansion of the macro `register_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ________________________^ [INFO] [stdout] 23 | | (pub width: u32), [INFO] [stdout] 24 | | (priv height: u32), [INFO] [stdout] 25 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 28 | | }), [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sel_impl` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `sel_impl` may come from an old version of the `objc` crate, try updating your dependency with `cargo update -p objc` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sel_impl` which comes from the expansion of the macro `register_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ________________________^ [INFO] [stdout] 23 | | (pub width: u32), [INFO] [stdout] 24 | | (priv height: u32), [INFO] [stdout] 25 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 28 | | }), [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sel_impl` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `sel_impl` may come from an old version of the `objc` crate, try updating your dependency with `cargo update -p objc` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sel_impl` which comes from the expansion of the macro `register_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ________________________^ [INFO] [stdout] 23 | | (pub width: u32), [INFO] [stdout] 24 | | (priv height: u32), [INFO] [stdout] 25 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 28 | | }), [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sel_impl` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `sel_impl` may come from an old version of the `objc` crate, try updating your dependency with `cargo update -p objc` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sel_impl` which comes from the expansion of the macro `register_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let x: i32 = unsafe { msg_send![*obj, getThing:5i32 withOtherThing:6i32] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sel_impl` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `sel_impl` may come from an old version of the `objc` crate, try updating your dependency with `cargo update -p objc` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sel_impl` which comes from the expansion of the macro `msg_send` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | let obj: *mut Object = msg_send![cls, alloc]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sel_impl` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `sel_impl` may come from an old version of the `objc` crate, try updating your dependency with `cargo update -p objc` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sel_impl` which comes from the expansion of the macro `msg_send` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | let obj: *mut Object = msg_send![obj, init]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sel_impl` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `sel_impl` may come from an old version of the `objc` crate, try updating your dependency with `cargo update -p objc` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sel_impl` which comes from the expansion of the macro `msg_send` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | let hash_sel = sel!(hash); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sel_impl` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `sel_impl` may come from an old version of the `objc` crate, try updating your dependency with `cargo update -p objc` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sel_impl` which comes from the expansion of the macro `sel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 64 | let hash: usize = unsafe { msg_send![*obj, hash] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `sel_impl` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `sel_impl` may come from an old version of the `objc` crate, try updating your dependency with `cargo update -p objc` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `sel_impl` which comes from the expansion of the macro `msg_send` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/main.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | extern "C" fn obj_method(obj: &mut Object, sel: Sel, i1: i32, i2: i32) -> i32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sel` [INFO] [stdout] --> src/main.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | extern "C" fn obj_method(obj: &mut Object, sel: Sel, i1: i32, i2: i32) -> i32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i1` [INFO] [stdout] --> src/main.rs:17:58 [INFO] [stdout] | [INFO] [stdout] 17 | extern "C" fn obj_method(obj: &mut Object, sel: Sel, i1: i32, i2: i32) -> i32 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_i1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i2` [INFO] [stdout] --> src/main.rs:17:67 [INFO] [stdout] | [INFO] [stdout] 17 | extern "C" fn obj_method(obj: &mut Object, sel: Sel, i1: i32, i2: i32) -> i32 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_i2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/main.rs:26:68 [INFO] [stdout] | [INFO] [stdout] 26 | (sel getThing2:(u32)t1 withOtherThing:(u32)t2 -> u32 with |obj, sel| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `obj` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/class.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 43 | extern "C" fn selector_fun($obj: &mut Object, $sel: Sel, $($sel_local_name:$sel_type),*) -> $ret_type $body [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ________________________- [INFO] [stdout] 23 | | (pub width: u32), [INFO] [stdout] 24 | | (priv height: u32), [INFO] [stdout] 25 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 28 | | }), [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `process_field` which comes from the expansion of the macro `register_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sel` [INFO] [stdout] --> src/main.rs:26:73 [INFO] [stdout] | [INFO] [stdout] 26 | (sel getThing2:(u32)t1 withOtherThing:(u32)t2 -> u32 with |obj, sel| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `sel` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/class.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 43 | extern "C" fn selector_fun($obj: &mut Object, $sel: Sel, $($sel_local_name:$sel_type),*) -> $ret_type $body [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ________________________- [INFO] [stdout] 23 | | (pub width: u32), [INFO] [stdout] 24 | | (priv height: u32), [INFO] [stdout] 25 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 28 | | }), [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `process_field` which comes from the expansion of the macro `register_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/main.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | (sel getThing2:(u32)t1 withOtherThing:(u32)t2 -> u32 with |obj, sel| { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `t1` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/class.rs:43:68 [INFO] [stdout] | [INFO] [stdout] 43 | extern "C" fn selector_fun($obj: &mut Object, $sel: Sel, $($sel_local_name:$sel_type),*) -> $ret_type $body [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ________________________- [INFO] [stdout] 23 | | (pub width: u32), [INFO] [stdout] 24 | | (priv height: u32), [INFO] [stdout] 25 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 28 | | }), [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `process_field` which comes from the expansion of the macro `register_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t2` [INFO] [stdout] --> src/main.rs:26:52 [INFO] [stdout] | [INFO] [stdout] 26 | (sel getThing2:(u32)t1 withOtherThing:(u32)t2 -> u32 with |obj, sel| { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `t2` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/class.rs:43:68 [INFO] [stdout] | [INFO] [stdout] 43 | extern "C" fn selector_fun($obj: &mut Object, $sel: Sel, $($sel_local_name:$sel_type),*) -> $ret_type $body [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ________________________- [INFO] [stdout] 23 | | (pub width: u32), [INFO] [stdout] 24 | | (priv height: u32), [INFO] [stdout] 25 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 28 | | }), [INFO] [stdout] 29 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `process_field` which comes from the expansion of the macro `register_class` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcxUOR81/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libobjc-9a2d00595323a37c.rlib,libmalloc_buf-2ff2d69627d9e899.rlib,liblibc-ec4bd2cb3fab2909.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lobjc" "-L" "/tmp/rustcxUOR81/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/objc_macros-0ba060d90d17c669" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libobjc-9a2d00595323a37c.rlib(objc-9a2d00595323a37c.objc.805e425142d2ba2-cgu.0.rcgu.o): in function `objc::runtime::Object::class': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/objc-0.2.7/src/runtime.rs:464:(.text._ZN4objc7runtime6Object5class17hb5d8c1b96190cf17E+0xb): undefined reference to `object_getClass' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libobjc-9a2d00595323a37c.rlib(objc-9a2d00595323a37c.objc.805e425142d2ba2-cgu.1.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/objc-0.2.7/src/rc/strong.rs:48:(.text._ZN69_$LT$objc..rc..strong..StrongPtr$u20$as$u20$core..ops..drop..Drop$GT$4drop17hb4d38a9a4acbfbe4E+0xa): undefined reference to `objc_release' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `objc-macros` (bin "objc-macros") due to 1 previous error; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "adb0bdcec66c0e89123e60349a454d26e55f7dd7eed554747e888c0899b0af9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adb0bdcec66c0e89123e60349a454d26e55f7dd7eed554747e888c0899b0af9b", kill_on_drop: false }` [INFO] [stdout] adb0bdcec66c0e89123e60349a454d26e55f7dd7eed554747e888c0899b0af9b