[INFO] updating cached repository https://github.com/jgall/obj_c_rust_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b09ac01e74fdd7020c441cdba6dec9eb5811962 [INFO] testing jgall/obj_c_rust_test against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgall%2Fobj_c_rust_test" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jgall/obj_c_rust_test on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jgall/obj_c_rust_test [INFO] finished tweaking git repo https://github.com/jgall/obj_c_rust_test [INFO] tweaked toml for git repo https://github.com/jgall/obj_c_rust_test written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/jgall/obj_c_rust_test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7be66d0fa31683aad7658c8426aa3a9ff1d6fa2cfcd415d3018e1c1796847ce [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" "f7be66d0fa31683aad7658c8426aa3a9ff1d6fa2cfcd415d3018e1c1796847ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7be66d0fa31683aad7658c8426aa3a9ff1d6fa2cfcd415d3018e1c1796847ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7be66d0fa31683aad7658c8426aa3a9ff1d6fa2cfcd415d3018e1c1796847ce", kill_on_drop: false }` [INFO] [stdout] f7be66d0fa31683aad7658c8426aa3a9ff1d6fa2cfcd415d3018e1c1796847ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44df5464ed63cc99315369349d3c49c2812ffdac899ff384ca545d7ae6c2911a [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" "44df5464ed63cc99315369349d3c49c2812ffdac899ff384ca545d7ae6c2911a", kill_on_drop: false }` [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" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/objc_macros-614354b10add3bcb.objc_macros.ccuazx7u-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-614354b10add3bcb.objc_macros.ccuazx7u-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-614354b10add3bcb.objc_macros.ccuazx7u-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-614354b10add3bcb.objc_macros.ccuazx7u-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-614354b10add3bcb.objc_macros.ccuazx7u-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-614354b10add3bcb.objc_macros.ccuazx7u-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-614354b10add3bcb.objc_macros.ccuazx7u-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-614354b10add3bcb.objc_macros.ccuazx7u-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-614354b10add3bcb.objc_macros.ccuazx7u-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-614354b10add3bcb.objc_macros.ccuazx7u-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-614354b10add3bcb.objc_macros.ccuazx7u-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-614354b10add3bcb.objc_macros.ccuazx7u-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-614354b10add3bcb.objc_macros.ccuazx7u-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-614354b10add3bcb.objc_macros.ccuazx7u-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-614354b10add3bcb.objc_macros.ccuazx7u-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/objc_macros-614354b10add3bcb.objc_macros.ccuazx7u-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/objc_macros-614354b10add3bcb" "/opt/rustwide/target/debug/deps/objc_macros-614354b10add3bcb.5a7qb8mfcw77j5sp.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libobjc-34c8e399bd8cede5.rlib" "/opt/rustwide/target/debug/deps/libmalloc_buf-4e4afc559a2dbf96.rlib" "/opt/rustwide/target/debug/deps/liblibc-9f120d1438bf7694.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d66e0ceb8eaec9b8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-9717ec0599b569a0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-04369de9ba916647.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-997d622c2e4dbe5c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-0359c4288a5ef89f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-1b25ede22d698ab3.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-37940b486a68e488.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-06b77c27e794c7c6.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-4d07e02a8df36da1.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-fb29e0695c0a0f79.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e16188b4cf97e8bb.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-5eb391c8dabdee77.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-b0689b528b222bee.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ed072ac495e62e7a.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-34c8e399bd8cede5.rlib(objc-34c8e399bd8cede5.objc.9m3rj9w8-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-34c8e399bd8cede5.rlib(objc-34c8e399bd8cede5.objc.9m3rj9w8-cgu.9.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" "44df5464ed63cc99315369349d3c49c2812ffdac899ff384ca545d7ae6c2911a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44df5464ed63cc99315369349d3c49c2812ffdac899ff384ca545d7ae6c2911a", kill_on_drop: false }` [INFO] [stdout] 44df5464ed63cc99315369349d3c49c2812ffdac899ff384ca545d7ae6c2911a