[INFO] cloning repository https://github.com/xmh0511/rust-reflector [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xmh0511/rust-reflector" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxmh0511%2Frust-reflector", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxmh0511%2Frust-reflector'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 29a5cbbff9575ff56c568a8c8c8712586de0d142 [INFO] checking xmh0511/rust-reflector against master#46424fb5054f211ec836c5c03159f92e46bb35ac for pr-139042 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxmh0511%2Frust-reflector" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xmh0511/rust-reflector on toolchain 46424fb5054f211ec836c5c03159f92e46bb35ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xmh0511/rust-reflector [INFO] finished tweaking git repo https://github.com/xmh0511/rust-reflector [INFO] tweaked toml for git repo https://github.com/xmh0511/rust-reflector written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xmh0511/rust-reflector 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" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d7c74efe5b0c2922d44c7a9d73d32a1142fc11072aad71c865247b6c8da4920 [INFO] running `Command { std: "docker" "start" "-a" "8d7c74efe5b0c2922d44c7a9d73d32a1142fc11072aad71c865247b6c8da4920", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d7c74efe5b0c2922d44c7a9d73d32a1142fc11072aad71c865247b6c8da4920", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d7c74efe5b0c2922d44c7a9d73d32a1142fc11072aad71c865247b6c8da4920", kill_on_drop: false }` [INFO] [stdout] 8d7c74efe5b0c2922d44c7a9d73d32a1142fc11072aad71c865247b6c8da4920 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 132e0b6ccfb08c5f63f43c49374f578a7e71e9f64f15d13a700ecf4fa020835b [INFO] running `Command { std: "docker" "start" "-a" "132e0b6ccfb08c5f63f43c49374f578a7e71e9f64f15d13a700ecf4fa020835b", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling reflect-macro v0.1.0 (/opt/rustwide/workdir/reflect-macro) [INFO] [stderr] Checking reflect-type-utilities v0.1.0 (/opt/rustwide/workdir/reflect-type-utilities) [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> reflect-type-utilities/src/lib.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | ObjectType::String(s) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> reflect-type-utilities/src/lib.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | ObjectType::Float(s) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> reflect-type-utilities/src/lib.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | ObjectType::String(s) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> reflect-type-utilities/src/lib.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | ObjectType::INT(s) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> reflect-type-utilities/src/lib.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | ObjectType::INT(s) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> reflect-type-utilities/src/lib.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 41 | ObjectType::Float(s) => todo!() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> reflect-type-utilities/src/lib.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | ObjectType::String(s) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> reflect-type-utilities/src/lib.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | ObjectType::Float(s) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> reflect-type-utilities/src/lib.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | ObjectType::String(s) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> reflect-type-utilities/src/lib.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | ObjectType::INT(s) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> reflect-type-utilities/src/lib.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | ObjectType::INT(s) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> reflect-macro/src/lib.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn macro_test(v:TokenStream)-> TokenStream{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> reflect-type-utilities/src/lib.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 41 | ObjectType::Float(s) => todo!() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> reflect-macro/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let r = format!("\"{}\"",fields); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types_join` [INFO] [stdout] --> reflect-macro/src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let types_join = format!("({})",types.join(",")) ; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_types_join` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `value` should have an upper case name [INFO] [stdout] --> reflect-macro/src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | static mut value:i32 = 0; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `VALUE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> reflect-macro/src/lib.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn macro_test(v:TokenStream)-> TokenStream{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> reflect-macro/src/lib.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn macro_test(v:TokenStream)-> TokenStream{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> reflect-macro/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let r = format!("\"{}\"",fields); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types_join` [INFO] [stdout] --> reflect-macro/src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let types_join = format!("({})",types.join(",")) ; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_types_join` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> reflect-macro/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let r = format!("\"{}\"",fields); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types_join` [INFO] [stdout] --> reflect-macro/src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let types_join = format!("({})",types.join(",")) ; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_types_join` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `value` should have an upper case name [INFO] [stdout] --> reflect-macro/src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | static mut value:i32 = 0; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `VALUE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `value` should have an upper case name [INFO] [stdout] --> reflect-macro/src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | static mut value:i32 = 0; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `VALUE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/tmp/rustc0aWZAW/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustc0aWZAW/symbols.o" "<3 object files omitted>" "/opt/rustwide/target/debug/deps/reflect_macro-8ef79c1ca712f8a3.brpo67bsngqnro7ann8bahaf9.rcgu.rmeta" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libproc_macro-*,libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc0aWZAW/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libreflect_macro-8ef79c1ca712f8a3.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reflect-macro` (lib) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "132e0b6ccfb08c5f63f43c49374f578a7e71e9f64f15d13a700ecf4fa020835b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "132e0b6ccfb08c5f63f43c49374f578a7e71e9f64f15d13a700ecf4fa020835b", kill_on_drop: false }` [INFO] [stdout] 132e0b6ccfb08c5f63f43c49374f578a7e71e9f64f15d13a700ecf4fa020835b