[INFO] crate objc-macros 0.1.0 is already in cache [INFO] testing objc-macros-0.1.0 against 1.45.2 for beta-1.46-1 [INFO] extracting crate objc-macros 0.1.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate objc-macros 0.1.0 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-13/source/Cargo.toml [INFO] crate crates.io crate objc-macros 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5751c5f1023fe58be0903a94b1ff58c92b8b6faff0be278733874d3f0dd6d76c [INFO] running `Command { std: "docker" "start" "-a" "5751c5f1023fe58be0903a94b1ff58c92b8b6faff0be278733874d3f0dd6d76c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5751c5f1023fe58be0903a94b1ff58c92b8b6faff0be278733874d3f0dd6d76c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5751c5f1023fe58be0903a94b1ff58c92b8b6faff0be278733874d3f0dd6d76c", kill_on_drop: false }` [INFO] [stdout] 5751c5f1023fe58be0903a94b1ff58c92b8b6faff0be278733874d3f0dd6d76c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66da8c9832c57dc594a5d67f1b4efb4dba95e0dfaf25153379c302ed087d7406 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "66da8c9832c57dc594a5d67f1b4efb4dba95e0dfaf25153379c302ed087d7406", 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`, `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 [INFO] [stdout] --> src/class.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / macro_rules! process_field { [INFO] [stdout] 36 | | ($class_dec:expr, (sel $($sel_name:ident :)* <- $fun_name:expr)) => {{ [INFO] [stdout] 37 | | unsafe { [INFO] [stdout] 38 | | $class_dec.add_method(sel!($($sel_name :)*), $fun_name) [INFO] [stdout] ... | [INFO] [stdout] 61 | | }; [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [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`, `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 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/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] | ^^^^ help: if this is intentional, prefix it with an underscore: `_obj` [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] | [INFO] [stdout] = note: this warning originates in a macro (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: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] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sel` [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] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [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] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_t1` [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] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t2` [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] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_t2` [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] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/objc_macros-04d28e8913979c0a.objc_macros.8e0wa5s3-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-04d28e8913979c0a.objc_macros.8e0wa5s3-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-04d28e8913979c0a.objc_macros.8e0wa5s3-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-04d28e8913979c0a.objc_macros.8e0wa5s3-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-04d28e8913979c0a.objc_macros.8e0wa5s3-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-04d28e8913979c0a.objc_macros.8e0wa5s3-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-04d28e8913979c0a.objc_macros.8e0wa5s3-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-04d28e8913979c0a.objc_macros.8e0wa5s3-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-04d28e8913979c0a.objc_macros.8e0wa5s3-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-04d28e8913979c0a.objc_macros.8e0wa5s3-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-04d28e8913979c0a.objc_macros.8e0wa5s3-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-04d28e8913979c0a.objc_macros.8e0wa5s3-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-04d28e8913979c0a.objc_macros.8e0wa5s3-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-04d28e8913979c0a.objc_macros.8e0wa5s3-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-04d28e8913979c0a.objc_macros.8e0wa5s3-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-04d28e8913979c0a.objc_macros.8e0wa5s3-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/objc_macros-04d28e8913979c0a" "/opt/rustwide/target/debug/deps/objc_macros-04d28e8913979c0a.havjrffgnf1ycm9.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libobjc-5837564dc25b9cd8.rlib" "/opt/rustwide/target/debug/deps/libmalloc_buf-3a9a29875152bcb7.rlib" "/opt/rustwide/target/debug/deps/liblibc-5839fb669631501b.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8bb11f807a7b6b4c.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-ca8087507780d964.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-259c92b387c1c166.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-16e0a2fbbb8e14b3.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-8a1651b8e23d2aaf.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-23bdd98b0574083e.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-855a92055ec33e2e.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-24c70dd44fbacdfb.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-b326273841bae587.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-ac3c1f0e16507051.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a5729542b65954aa.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-09bd1119ab1cad7d.rlib" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9a787681bfbeaf61.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5a0398ee67f74664.rlib" "-Wl,-Bdynamic" "-lobjc" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libobjc-5837564dc25b9cd8.rlib(objc-5837564dc25b9cd8.objc.533xkq3l-cgu.0.rcgu.o): in function `objc::runtime::Object::class': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/objc-0.2.7/src/runtime.rs:464: undefined reference to `object_getClass' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libobjc-5837564dc25b9cd8.rlib(objc-5837564dc25b9cd8.objc.533xkq3l-cgu.10.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/objc-0.2.7/src/rc/strong.rs:48: undefined reference to `objc_release' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `objc-macros`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "66da8c9832c57dc594a5d67f1b4efb4dba95e0dfaf25153379c302ed087d7406", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66da8c9832c57dc594a5d67f1b4efb4dba95e0dfaf25153379c302ed087d7406", kill_on_drop: false }` [INFO] [stdout] 66da8c9832c57dc594a5d67f1b4efb4dba95e0dfaf25153379c302ed087d7406