[INFO] cloning repository https://github.com/metaworm/macro-lua [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/metaworm/macro-lua" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmetaworm%2Fmacro-lua", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmetaworm%2Fmacro-lua'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6782d5ef748f50442ed95d87227efc2995f9fb0b [INFO] checking metaworm/macro-lua against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmetaworm%2Fmacro-lua" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/metaworm/macro-lua on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/metaworm/macro-lua [INFO] finished tweaking git repo https://github.com/metaworm/macro-lua [INFO] tweaked toml for git repo https://github.com/metaworm/macro-lua written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/metaworm/macro-lua already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbd79c9b5041da53b68b99581c662d0f995b1e9253bfab148d2614c2a379715e [INFO] running `Command { std: "docker" "start" "-a" "bbd79c9b5041da53b68b99581c662d0f995b1e9253bfab148d2614c2a379715e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbd79c9b5041da53b68b99581c662d0f995b1e9253bfab148d2614c2a379715e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbd79c9b5041da53b68b99581c662d0f995b1e9253bfab148d2614c2a379715e", kill_on_drop: false }` [INFO] [stdout] bbd79c9b5041da53b68b99581c662d0f995b1e9253bfab148d2614c2a379715e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6206158a484f2373cdd0a2c34b6b96259220952ca864765e09067719e52609ea [INFO] running `Command { std: "docker" "start" "-a" "6206158a484f2373cdd0a2c34b6b96259220952ca864765e09067719e52609ea", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Compiling macro-lua v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/lib.rs:239:46 [INFO] [stdout] | [INFO] [stdout] 239 | (@body_option $s:ident $body:block) => { $body }; [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/lib.rs:239:46 [INFO] [stdout] | [INFO] [stdout] 239 | (@body_option $s:ident $body:block) => { $body }; [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/ulua.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | while !self.locked.compare_and_swap(false, true, Ordering::Relaxed) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/ulua.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | while !self.locked.compare_and_swap(false, true, Ordering::Relaxed) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/lib.rs:227:53 [INFO] [stdout] | [INFO] [stdout] 227 | $(let $v: $t = FromIndex::from_lua(&$s, i); i += 1;)+ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/thread.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 80 | t.set("sleep", cfn!((s, time: u64) push { [INFO] [stdout] | ____________________- [INFO] [stdout] 81 | | thread::sleep(Duration::from_millis(time)); [INFO] [stdout] 82 | | })); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `cfn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/lib.rs:227:53 [INFO] [stdout] | [INFO] [stdout] 227 | $(let $v: $t = FromIndex::from_lua(&$s, i); i += 1;)+ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/global.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | g.set("newuserdata", cfn!(|s, size: usize| r1 { [INFO] [stdout] | __________________________- [INFO] [stdout] 13 | | s.new_userdata(size); [INFO] [stdout] 14 | | })); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `cfn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/lib.rs:227:53 [INFO] [stdout] | [INFO] [stdout] 227 | $(let $v: $t = FromIndex::from_lua(&$s, i); i += 1;)+ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/global.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | g.set("getmem", cfn!((s, ptr: usize) { [INFO] [stdout] | _____________________- [INFO] [stdout] 25 | | if s.is_integer(2) { [INFO] [stdout] 26 | | let size = s.to_integer(2) as usize; [INFO] [stdout] 27 | | s.push_bytes(std::slice::from_raw_parts(ptr as *const u8, size)); [INFO] [stdout] ... | [INFO] [stdout] 44 | | 1 [INFO] [stdout] 45 | | })); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `cfn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/lib.rs:227:53 [INFO] [stdout] | [INFO] [stdout] 227 | $(let $v: $t = FromIndex::from_lua(&$s, i); i += 1;)+ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/global.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | g.set("setmem", cfn!((s, ptr: usize) { [INFO] [stdout] | _____________________- [INFO] [stdout] 48 | | if s.is_integer(2) { [INFO] [stdout] 49 | | let size = s.to_integer(2) as usize; [INFO] [stdout] 50 | | s.push_bytes(std::slice::from_raw_parts(ptr as *const u8, size)); [INFO] [stdout] ... | [INFO] [stdout] 69 | | 0 [INFO] [stdout] 70 | | })); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `cfn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/lib.rs:227:53 [INFO] [stdout] | [INFO] [stdout] 227 | $(let $v: $t = FromIndex::from_lua(&$s, i); i += 1;)+ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/thread.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 80 | t.set("sleep", cfn!((s, time: u64) push { [INFO] [stdout] | ____________________- [INFO] [stdout] 81 | | thread::sleep(Duration::from_millis(time)); [INFO] [stdout] 82 | | })); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `cfn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/lib.rs:227:53 [INFO] [stdout] | [INFO] [stdout] 227 | $(let $v: $t = FromIndex::from_lua(&$s, i); i += 1;)+ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/global.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | g.set("newuserdata", cfn!(|s, size: usize| r1 { [INFO] [stdout] | __________________________- [INFO] [stdout] 13 | | s.new_userdata(size); [INFO] [stdout] 14 | | })); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `cfn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/lib.rs:227:53 [INFO] [stdout] | [INFO] [stdout] 227 | $(let $v: $t = FromIndex::from_lua(&$s, i); i += 1;)+ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/global.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | g.set("getmem", cfn!((s, ptr: usize) { [INFO] [stdout] | _____________________- [INFO] [stdout] 25 | | if s.is_integer(2) { [INFO] [stdout] 26 | | let size = s.to_integer(2) as usize; [INFO] [stdout] 27 | | s.push_bytes(std::slice::from_raw_parts(ptr as *const u8, size)); [INFO] [stdout] ... | [INFO] [stdout] 44 | | 1 [INFO] [stdout] 45 | | })); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `cfn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/lib.rs:227:53 [INFO] [stdout] | [INFO] [stdout] 227 | $(let $v: $t = FromIndex::from_lua(&$s, i); i += 1;)+ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/global.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | g.set("setmem", cfn!((s, ptr: usize) { [INFO] [stdout] | _____________________- [INFO] [stdout] 48 | | if s.is_integer(2) { [INFO] [stdout] 49 | | let size = s.to_integer(2) as usize; [INFO] [stdout] 50 | | s.push_bytes(std::slice::from_raw_parts(ptr as *const u8, size)); [INFO] [stdout] ... | [INFO] [stdout] 69 | | 0 [INFO] [stdout] 70 | | })); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `cfn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.30s [INFO] running `Command { std: "docker" "inspect" "6206158a484f2373cdd0a2c34b6b96259220952ca864765e09067719e52609ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6206158a484f2373cdd0a2c34b6b96259220952ca864765e09067719e52609ea", kill_on_drop: false }` [INFO] [stdout] 6206158a484f2373cdd0a2c34b6b96259220952ca864765e09067719e52609ea