[INFO] fetching crate key-lang 0.1.1...
[INFO] testing key-lang-0.1.1 against nightly-2024-10-28 for randomize-layout
[INFO] extracting crate key-lang 0.1.1 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate key-lang 0.1.1 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate key-lang 0.1.1
[INFO] finished tweaking crates.io crate key-lang 0.1.1
[INFO] tweaked toml for crates.io crate key-lang 0.1.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate crates.io crate key-lang 0.1.1 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" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e2eaf1a3cbf1e0fe6c4c14ee87732e70c90a83f2aaaf7770e57dbe59977c4e71
[INFO] running `Command { std: "docker" "start" "-a" "e2eaf1a3cbf1e0fe6c4c14ee87732e70c90a83f2aaaf7770e57dbe59977c4e71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e2eaf1a3cbf1e0fe6c4c14ee87732e70c90a83f2aaaf7770e57dbe59977c4e71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2eaf1a3cbf1e0fe6c4c14ee87732e70c90a83f2aaaf7770e57dbe59977c4e71", kill_on_drop: false }`
[INFO] [stdout] e2eaf1a3cbf1e0fe6c4c14ee87732e70c90a83f2aaaf7770e57dbe59977c4e71
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f445ba23399eae7f2e6e264257ed47c5c172a94a97fe221f30298d66e6756469
[INFO] running `Command { std: "docker" "start" "-a" "f445ba23399eae7f2e6e264257ed47c5c172a94a97fe221f30298d66e6756469", kill_on_drop: false }`
[INFO] [stderr]    Compiling key-lang v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/main.rs:73:24
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let opts = unsafe {&mut GLOBAL_OPTIONS};
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let opts = unsafe {&raw mut GLOBAL_OPTIONS};
[INFO] [stdout]    |                        ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/scan/stmt.rs:512:42
[INFO] [stdout]     |
[INFO] [stdout] 512 |           let mut place = std::mem::take(&mut crate::PLACE);
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 512 |           let mut place = std::mem::take(&raw mut crate::PLACE);
[INFO] [stdout]     |                                          ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]    --> src/scan/literal.rs:303:13
[INFO] [stdout]     |
[INFO] [stdout] 303 |             super::expr::ON_PIPE.take().expect("管道占位符只能在管道操作符'|>'后使用")
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/runtime/externer.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let exec = unsafe {EXEC.as_mut().expect("未找到extern函数，这是bug")};
[INFO] [stdout]    |                            ^^^^ mutable reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 57 |           Local(f)=> translate_local_impl! { f 
[INFO] [stdout]    |  ____________________-
[INFO] [stdout] 58 | |           0  agent0 ()
[INFO] [stdout] 59 | |           1  agent1 (a)
[INFO] [stdout] 60 | |           2  agent2 (a,b)
[INFO] [stdout] ...  |
[INFO] [stdout] 65 | |           7  agent7 (a,b,c,d,e,f,g)
[INFO] [stdout] 66 | |         },
[INFO] [stdout]    | |_________- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: this warning originates in the macro `translate_local_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/primitive/mod.rs:76:22
[INFO] [stdout]    |
[INFO] [stdout] 76 |   if let Some(cls) = &mut CLASSES {
[INFO] [stdout]    |                      ^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 76 |   if let Some(cls) = &raw mut CLASSES {
[INFO] [stdout]    |                      ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> src/primitive/kstd.rs:52:36
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut place = std::mem::take(&mut crate::PLACE);
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut place = std::mem::take(&raw mut crate::PLACE);
[INFO] [stdout]    |                                    ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcbv4OW0/symbols.o" "/opt/rustwide/target/debug/deps/key_lang-1051461dfabb3993.key_lang.ea54cbd35f868858-cgu.00.rcgu.o" "/opt/rustwide/target/debug/deps/key_lang-1051461dfabb3993.key_lang.ea54cbd35f868858-cgu.01.rcgu.o" "/opt/rustwide/target/debug/deps/key_lang-1051461dfabb3993.key_lang.ea54cbd35f868858-cgu.02.rcgu.o" "/opt/rustwide/target/debug/deps/key_lang-1051461dfabb3993.key_lang.ea54cbd35f868858-cgu.03.rcgu.o" "/opt/rustwide/target/debug/deps/key_lang-1051461dfabb3993.key_lang.ea54cbd35f868858-cgu.04.rcgu.o" "/opt/rustwide/target/debug/deps/key_lang-1051461dfabb3993.key_lang.ea54cbd35f868858-cgu.05.rcgu.o" "/opt/rustwide/target/debug/deps/key_lang-1051461dfabb3993.key_lang.ea54cbd35f868858-cgu.06.rcgu.o" "/opt/rustwide/target/debug/deps/key_lang-1051461dfabb3993.key_lang.ea54cbd35f868858-cgu.07.rcgu.o" "/opt/rustwide/target/debug/deps/key_lang-1051461dfabb3993.key_lang.ea54cbd35f868858-cgu.08.rcgu.o" "/opt/rustwide/target/debug/deps/key_lang-1051461dfabb3993.key_lang.ea54cbd35f868858-cgu.09.rcgu.o" "/opt/rustwide/target/debug/deps/key_lang-1051461dfabb3993.key_lang.ea54cbd35f868858-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/key_lang-1051461dfabb3993.key_lang.ea54cbd35f868858-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/key_lang-1051461dfabb3993.key_lang.ea54cbd35f868858-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/key_lang-1051461dfabb3993.key_lang.ea54cbd35f868858-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/key_lang-1051461dfabb3993.key_lang.ea54cbd35f868858-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/key_lang-1051461dfabb3993.key_lang.ea54cbd35f868858-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/key_lang-1051461dfabb3993.5i9alvxv1m44qkjaim8kdszfa.rcgu.o" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-fb8c387236db3c10.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-b251837809b2f64b.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-cbef83eaa4e01f04.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-12a772286de2fca7.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-023bbe5ada7abfc3.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-de2bcdf10ec69c2b.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-8e1754df350800fd.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-06c2ab7b9c32e037.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-51d2621fc57a281b.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-54a930408793772f.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-0c7d01cba400dcb2.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-b9f84d69e331b75b.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-eec95493246aae39.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-6f6676c475e08ab0.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-799d520624f8b2e0.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-fcf93d4842acd9a9.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-395a38b8e0851c9b.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-d453bab70303062c.rlib" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-0e6386368b0a24e8.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/nightly-2024-10-28-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/key_lang-1051461dfabb3993" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: LoadLibraryA
[INFO] [stdout]           >>> referenced by c.rs:11 (src/c.rs:11)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/key_lang-1051461dfabb3993.key_lang.ea54cbd35f868858-cgu.07.rcgu.o:(key_lang::c::dlopen::hbd54873305bc028c)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: GetProcAddress
[INFO] [stdout]           >>> referenced by c.rs:15 (src/c.rs:15)
[INFO] [stdout]           >>>               /opt/rustwide/target/debug/deps/key_lang-1051461dfabb3993.key_lang.ea54cbd35f868858-cgu.07.rcgu.o:(key_lang::c::dlsym::h2ba23a3765314748)
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `key-lang` (bin "key-lang") due to 1 previous error; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f445ba23399eae7f2e6e264257ed47c5c172a94a97fe221f30298d66e6756469", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f445ba23399eae7f2e6e264257ed47c5c172a94a97fe221f30298d66e6756469", kill_on_drop: false }`
[INFO] [stdout] f445ba23399eae7f2e6e264257ed47c5c172a94a97fe221f30298d66e6756469
