[INFO] fetching crate objc-macros 0.1.0... [INFO] checking objc-macros-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate objc-macros 0.1.0 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate objc-macros 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffbdaa642c392da11cd50b1666d99f8dd190588d4437d7b8c0482def87272fda [INFO] running `Command { std: "docker" "start" "-a" "ffbdaa642c392da11cd50b1666d99f8dd190588d4437d7b8c0482def87272fda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffbdaa642c392da11cd50b1666d99f8dd190588d4437d7b8c0482def87272fda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffbdaa642c392da11cd50b1666d99f8dd190588d4437d7b8c0482def87272fda", kill_on_drop: false }` [INFO] [stdout] ffbdaa642c392da11cd50b1666d99f8dd190588d4437d7b8c0482def87272fda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 941f46363cc75d74448b834c89d4cb76dab11c0241215f2ed2dd5dd41a3342dd [INFO] running `Command { std: "docker" "start" "-a" "941f46363cc75d74448b834c89d4cb76dab11c0241215f2ed2dd5dd41a3342dd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking malloc_buf v0.0.6 [INFO] [stderr] Checking objc v0.2.7 [INFO] [stderr] Checking objc-macros v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/class.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 93 | | (pub width: u32), [INFO] [stdout] 94 | | (priv height: u32), [INFO] [stdout] 95 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 101 | | }), [INFO] [stdout] 102 | | }); [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/class.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 93 | | (pub width: u32), [INFO] [stdout] 94 | | (priv height: u32), [INFO] [stdout] 95 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 101 | | }), [INFO] [stdout] 102 | | }); [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/class.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 93 | | (pub width: u32), [INFO] [stdout] 94 | | (priv height: u32), [INFO] [stdout] 95 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 101 | | }), [INFO] [stdout] 102 | | }); [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/class.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 93 | | (pub width: u32), [INFO] [stdout] 94 | | (priv height: u32), [INFO] [stdout] 95 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 101 | | }), [INFO] [stdout] 102 | | }); [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/class.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 93 | | (pub width: u32), [INFO] [stdout] 94 | | (priv height: u32), [INFO] [stdout] 95 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 101 | | }), [INFO] [stdout] 102 | | }); [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/class.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 93 | | (pub width: u32), [INFO] [stdout] 94 | | (priv height: u32), [INFO] [stdout] 95 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 101 | | }), [INFO] [stdout] 102 | | }); [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/class.rs:104:36 [INFO] [stdout] | [INFO] [stdout] 104 | let obj: *mut Object = msg_send![my_box_class, 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/class.rs:105:36 [INFO] [stdout] | [INFO] [stdout] 105 | 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/class.rs:108:31 [INFO] [stdout] | [INFO] [stdout] 108 | let x: i32 = unsafe { msg_send![*obj, add:5i32 with: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/class.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | let y: i32 = unsafe { msg_send![my_box_class, mul:5 with:6] }; [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: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/class.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/class.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | 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/class.rs:87:52 [INFO] [stdout] | [INFO] [stdout] 87 | 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/class.rs:87:62 [INFO] [stdout] | [INFO] [stdout] 87 | 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/class.rs:87:71 [INFO] [stdout] | [INFO] [stdout] 87 | 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/class.rs:96:56 [INFO] [stdout] | [INFO] [stdout] 96 | (sel add:(i32)t1 with:(i32)t2 -> i32 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] 92 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ____________________________- [INFO] [stdout] 93 | | (pub width: u32), [INFO] [stdout] 94 | | (priv height: u32), [INFO] [stdout] 95 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 101 | | }), [INFO] [stdout] 102 | | }); [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/class.rs:96:61 [INFO] [stdout] | [INFO] [stdout] 96 | (sel add:(i32)t1 with:(i32)t2 -> i32 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] 92 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ____________________________- [INFO] [stdout] 93 | | (pub width: u32), [INFO] [stdout] 94 | | (priv height: u32), [INFO] [stdout] 95 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 101 | | }), [INFO] [stdout] 102 | | }); [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: `cls` [INFO] [stdout] --> src/class.rs:99:63 [INFO] [stdout] | [INFO] [stdout] 99 | (static sel mul:(i32)t1 with:(i32)t2 -> i32 with |cls, sel| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `cls` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/class.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | extern "C" fn selector_fun($cls: &Class, $sel: Sel, $($sel_local_name:$sel_type),*) -> $ret_type $body [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ____________________________- [INFO] [stdout] 93 | | (pub width: u32), [INFO] [stdout] 94 | | (priv height: u32), [INFO] [stdout] 95 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 101 | | }), [INFO] [stdout] 102 | | }); [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/class.rs:99:68 [INFO] [stdout] | [INFO] [stdout] 99 | (static sel mul:(i32)t1 with:(i32)t2 -> i32 with |cls, sel| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `sel` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/class.rs:52:50 [INFO] [stdout] | [INFO] [stdout] 52 | extern "C" fn selector_fun($cls: &Class, $sel: Sel, $($sel_local_name:$sel_type),*) -> $ret_type $body [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ____________________________- [INFO] [stdout] 93 | | (pub width: u32), [INFO] [stdout] 94 | | (priv height: u32), [INFO] [stdout] 95 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 101 | | }), [INFO] [stdout] 102 | | }); [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 `#[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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/class.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 93 | | (pub width: u32), [INFO] [stdout] 94 | | (priv height: u32), [INFO] [stdout] 95 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 101 | | }), [INFO] [stdout] 102 | | }); [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/class.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 93 | | (pub width: u32), [INFO] [stdout] 94 | | (priv height: u32), [INFO] [stdout] 95 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 101 | | }), [INFO] [stdout] 102 | | }); [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/class.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 93 | | (pub width: u32), [INFO] [stdout] 94 | | (priv height: u32), [INFO] [stdout] 95 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 101 | | }), [INFO] [stdout] 102 | | }); [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/class.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 93 | | (pub width: u32), [INFO] [stdout] 94 | | (priv height: u32), [INFO] [stdout] 95 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 101 | | }), [INFO] [stdout] 102 | | }); [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/class.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 93 | | (pub width: u32), [INFO] [stdout] 94 | | (priv height: u32), [INFO] [stdout] 95 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 101 | | }), [INFO] [stdout] 102 | | }); [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/class.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 93 | | (pub width: u32), [INFO] [stdout] 94 | | (priv height: u32), [INFO] [stdout] 95 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 101 | | }), [INFO] [stdout] 102 | | }); [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/class.rs:104:36 [INFO] [stdout] | [INFO] [stdout] 104 | let obj: *mut Object = msg_send![my_box_class, 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/class.rs:105:36 [INFO] [stdout] | [INFO] [stdout] 105 | 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/class.rs:108:31 [INFO] [stdout] | [INFO] [stdout] 108 | let x: i32 = unsafe { msg_send![*obj, add:5i32 with: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/class.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | let y: i32 = unsafe { msg_send![my_box_class, mul:5 with:6] }; [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: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: 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: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/class.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/class.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | 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/class.rs:87:52 [INFO] [stdout] | [INFO] [stdout] 87 | 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/class.rs:87:62 [INFO] [stdout] | [INFO] [stdout] 87 | 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/class.rs:87:71 [INFO] [stdout] | [INFO] [stdout] 87 | 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/class.rs:96:56 [INFO] [stdout] | [INFO] [stdout] 96 | (sel add:(i32)t1 with:(i32)t2 -> i32 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] 92 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ____________________________- [INFO] [stdout] 93 | | (pub width: u32), [INFO] [stdout] 94 | | (priv height: u32), [INFO] [stdout] 95 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 101 | | }), [INFO] [stdout] 102 | | }); [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/class.rs:96:61 [INFO] [stdout] | [INFO] [stdout] 96 | (sel add:(i32)t1 with:(i32)t2 -> i32 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] 92 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ____________________________- [INFO] [stdout] 93 | | (pub width: u32), [INFO] [stdout] 94 | | (priv height: u32), [INFO] [stdout] 95 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 101 | | }), [INFO] [stdout] 102 | | }); [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: `cls` [INFO] [stdout] --> src/class.rs:99:63 [INFO] [stdout] | [INFO] [stdout] 99 | (static sel mul:(i32)t1 with:(i32)t2 -> i32 with |cls, sel| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `cls` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/class.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | extern "C" fn selector_fun($cls: &Class, $sel: Sel, $($sel_local_name:$sel_type),*) -> $ret_type $body [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ____________________________- [INFO] [stdout] 93 | | (pub width: u32), [INFO] [stdout] 94 | | (priv height: u32), [INFO] [stdout] 95 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 101 | | }), [INFO] [stdout] 102 | | }); [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/class.rs:99:68 [INFO] [stdout] | [INFO] [stdout] 99 | (static sel mul:(i32)t1 with:(i32)t2 -> i32 with |cls, sel| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `sel` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/class.rs:52:50 [INFO] [stdout] | [INFO] [stdout] 52 | extern "C" fn selector_fun($cls: &Class, $sel: Sel, $($sel_local_name:$sel_type),*) -> $ret_type $body [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | let my_box_class = register_class!(MyBox:NSObject with { [INFO] [stdout] | ____________________________- [INFO] [stdout] 93 | | (pub width: u32), [INFO] [stdout] 94 | | (priv height: u32), [INFO] [stdout] 95 | | (sel getThing:withOtherThing: <- my_method), [INFO] [stdout] ... | [INFO] [stdout] 101 | | }), [INFO] [stdout] 102 | | }); [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: `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] [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.77s [INFO] running `Command { std: "docker" "inspect" "941f46363cc75d74448b834c89d4cb76dab11c0241215f2ed2dd5dd41a3342dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "941f46363cc75d74448b834c89d4cb76dab11c0241215f2ed2dd5dd41a3342dd", kill_on_drop: false }` [INFO] [stdout] 941f46363cc75d74448b834c89d4cb76dab11c0241215f2ed2dd5dd41a3342dd