[INFO] fetching crate wpj-tg-rcore-tutorial-user 0.0.0...
[INFO] testing wpj-tg-rcore-tutorial-user-0.0.0 against 1.99.0-beta.8 for beta-1.100-2
[INFO] extracting crate wpj-tg-rcore-tutorial-user 0.0.0 into /workspace/builds/worker-5-tc1/source
[INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml
[INFO] started tweaking crates.io crate wpj-tg-rcore-tutorial-user 0.0.0
[INFO] finished tweaking crates.io crate wpj-tg-rcore-tutorial-user 0.0.0
[INFO] tweaked toml for crates.io crate wpj-tg-rcore-tutorial-user 0.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate wpj-tg-rcore-tutorial-user 0.0.0 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate wpj-tg-rcore-tutorial-user 0.0.0 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tg-rcore-tutorial-syscall v0.4.8
[INFO] [stderr]   Downloaded customizable-buddy v0.0.2
[INFO] [stderr]   Downloaded tg-rcore-tutorial-console v0.4.8
[INFO] [stderr]   Downloaded numeric-enum-macro v0.2.0
[INFO] [stderr]   Downloaded tg-rcore-tutorial-signal-defs v0.4.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] dc0d0a797b44ea672bd495e193246f0643c670f5b12de6209dcb034bafc9fcd6
[INFO] running `Command { std: "docker" "start" "dc0d0a797b44ea672bd495e193246f0643c670f5b12de6209dcb034bafc9fcd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc0d0a797b44ea672bd495e193246f0643c670f5b12de6209dcb034bafc9fcd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dc0d0a797b44ea672bd495e193246f0643c670f5b12de6209dcb034bafc9fcd6" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc0d0a797b44ea672bd495e193246f0643c670f5b12de6209dcb034bafc9fcd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dc0d0a797b44ea672bd495e193246f0643c670f5b12de6209dcb034bafc9fcd6" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling tg-rcore-tutorial-syscall v0.4.8
[INFO] [stderr]    Compiling numeric-enum-macro v0.2.0
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling wpj-tg-rcore-tutorial-user v0.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling customizable-buddy v0.0.2
[INFO] [stderr]    Compiling tg-rcore-tutorial-signal-defs v0.4.8
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling tg-rcore-tutorial-console v0.4.8
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> src/bin/t2l5_mutex_stress.rs:23:16
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let seed = *arg + 1;
[INFO] [stdout]    |                ^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/bin/t2l5_mutex_stress.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | unsafe fn worker(arg: *const usize) -> isize {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::mut_ptr::<impl *mut T>::read_volatile` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/bin/t2l5_mutex_stress.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let counter = (&raw mut COUNTER).read_volatile();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::mut_ptr::<impl *mut T>::write_volatile` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/bin/t2l5_mutex_stress.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         (&raw mut COUNTER).write_volatile(counter + 1);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcToPvQ8/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libuser_lib-bea59f73c3820a0f,libtg_rcore_tutorial_syscall-a312b61c45333cc6,libtg_rcore_tutorial_signal_defs-f8c08904ce016b39,libnumeric_enum_macro-5a2d6389bc9f3264,libbitflags-e7a388805a9595d6,libtg_rcore_tutorial_console-7ba35e3bc4a5166b,libspin-ffa5bdde61f6eedb,liblock_api-d40fa7bfa408ebd6,libscopeguard-6486b5fad18b9633,liblog-632f1d3c10a2e300,libcustomizable_buddy-f93ad79ec92eeb68}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/debug/deps/rustcToPvQ8/raw-dylibs" "-Wl,-Bdynamic" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/05write_a-a396ea2b0a205131" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: duplicate symbol: _start
[INFO] [stdout]           >>> defined at /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/Scrt1.o:(_start)
[INFO] [stdout]           >>> defined at lib.rs:21 (src/lib.rs:21)
[INFO] [stdout]           >>>            user_lib-bea59f73c3820a0f.user_lib.eb22277bbbe2676b-cgu.0.rcgu.o:(.text.entry+0x0) in archive /opt/rustwide/target/debug/deps/libuser_lib-bea59f73c3820a0f.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wpj-tg-rcore-tutorial-user` (bin "05write_a") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcPAbt28/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libuser_lib-bea59f73c3820a0f,libtg_rcore_tutorial_syscall-a312b61c45333cc6,libtg_rcore_tutorial_signal_defs-f8c08904ce016b39,libnumeric_enum_macro-5a2d6389bc9f3264,libbitflags-e7a388805a9595d6,libtg_rcore_tutorial_console-7ba35e3bc4a5166b,libspin-ffa5bdde61f6eedb,liblock_api-d40fa7bfa408ebd6,libscopeguard-6486b5fad18b9633,liblog-632f1d3c10a2e300,libcustomizable_buddy-f93ad79ec92eeb68}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/debug/deps/rustcPAbt28/raw-dylibs" "-Wl,-Bdynamic" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ch8b_usertest-968190ae26ed648e" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: duplicate symbol: _start
[INFO] [stdout]           >>> defined at /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/Scrt1.o:(_start)
[INFO] [stdout]           >>> defined at lib.rs:21 (src/lib.rs:21)
[INFO] [stdout]           >>>            user_lib-bea59f73c3820a0f.user_lib.eb22277bbbe2676b-cgu.0.rcgu.o:(.text.entry+0x0) in archive /opt/rustwide/target/debug/deps/libuser_lib-bea59f73c3820a0f.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wpj-tg-rcore-tutorial-user` (bin "ch8b_usertest") due to 1 previous error
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcXXnNft/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libuser_lib-bea59f73c3820a0f,libtg_rcore_tutorial_syscall-a312b61c45333cc6,libtg_rcore_tutorial_signal_defs-f8c08904ce016b39,libnumeric_enum_macro-5a2d6389bc9f3264,libbitflags-e7a388805a9595d6,libtg_rcore_tutorial_console-7ba35e3bc4a5166b,libspin-ffa5bdde61f6eedb,liblock_api-d40fa7bfa408ebd6,libscopeguard-6486b5fad18b9633,liblog-632f1d3c10a2e300,libcustomizable_buddy-f93ad79ec92eeb68}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/debug/deps/rustcXXnNft/raw-dylibs" "-Wl,-Bdynamic" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ch4_mmap2-67dfa1dfba1896fd" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: duplicate symbol: _start
[INFO] [stdout]           >>> defined at /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/Scrt1.o:(_start)
[INFO] [stdout]           >>> defined at lib.rs:21 (src/lib.rs:21)
[INFO] [stdout]           >>>            user_lib-bea59f73c3820a0f.user_lib.eb22277bbbe2676b-cgu.0.rcgu.o:(.text.entry+0x0) in archive /opt/rustwide/target/debug/deps/libuser_lib-bea59f73c3820a0f.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wpj-tg-rcore-tutorial-user` (bin "ch4_mmap2") due to 1 previous error
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> src/bin/t2l5_condvar_pc.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let id = *arg;
[INFO] [stdout]    |              ^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/bin/t2l5_condvar_pc.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | unsafe fn producer(arg: *const usize) -> isize {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcWrRz9h/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libuser_lib-bea59f73c3820a0f,libtg_rcore_tutorial_syscall-a312b61c45333cc6,libtg_rcore_tutorial_signal_defs-f8c08904ce016b39,libnumeric_enum_macro-5a2d6389bc9f3264,libbitflags-e7a388805a9595d6,libtg_rcore_tutorial_console-7ba35e3bc4a5166b,libspin-ffa5bdde61f6eedb,liblock_api-d40fa7bfa408ebd6,libscopeguard-6486b5fad18b9633,liblog-632f1d3c10a2e300,libcustomizable_buddy-f93ad79ec92eeb68}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/debug/deps/rustcWrRz9h/raw-dylibs" "-Wl,-Bdynamic" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ch4_mmap3-d14427fa4415478a" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: duplicate symbol: _start
[INFO] [stdout]           >>> defined at /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/Scrt1.o:(_start)
[INFO] [stdout]           >>> defined at lib.rs:21 (src/lib.rs:21)
[INFO] [stdout]           >>>            user_lib-bea59f73c3820a0f.user_lib.eb22277bbbe2676b-cgu.0.rcgu.o:(.text.entry+0x0) in archive /opt/rustwide/target/debug/deps/libuser_lib-bea59f73c3820a0f.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wpj-tg-rcore-tutorial-user` (bin "ch4_mmap3") due to 1 previous error
[INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::const_ptr::<impl *const T>::read_volatile` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/bin/t2l5_condvar_pc.rs:41:15
[INFO] [stdout]    |
[INFO] [stdout] 41 |         while (&raw const COUNT).read_volatile() == BUFFER_SIZE {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/bin/t2l5_condvar_pc.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         BUFFER[HEAD] = item;
[INFO] [stdout]    |         ^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/bin/t2l5_condvar_pc.rs:49:16
[INFO] [stdout]    |
[INFO] [stdout] 49 |         BUFFER[HEAD] = item;
[INFO] [stdout]    |                ^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/bin/t2l5_condvar_pc.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |         HEAD = (HEAD + 1) % BUFFER_SIZE;
[INFO] [stdout]    |         ^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/bin/t2l5_condvar_pc.rs:50:17
[INFO] [stdout]    |
[INFO] [stdout] 50 |         HEAD = (HEAD + 1) % BUFFER_SIZE;
[INFO] [stdout]    |                 ^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/bin/t2l5_condvar_pc.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |         COUNT += 1;
[INFO] [stdout]    |         ^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcqc2wvz/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libuser_lib-bea59f73c3820a0f,libtg_rcore_tutorial_syscall-a312b61c45333cc6,libtg_rcore_tutorial_signal_defs-f8c08904ce016b39,libnumeric_enum_macro-5a2d6389bc9f3264,libbitflags-e7a388805a9595d6,libtg_rcore_tutorial_console-7ba35e3bc4a5166b,libspin-ffa5bdde61f6eedb,liblock_api-d40fa7bfa408ebd6,libscopeguard-6486b5fad18b9633,liblog-632f1d3c10a2e300,libcustomizable_buddy-f93ad79ec92eeb68}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/debug/deps/rustcqc2wvz/raw-dylibs" "-Wl,-Bdynamic" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/filetest_simple-61fbb8fb05e2653b" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: duplicate symbol: _start
[INFO] [stdout]           >>> defined at /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/Scrt1.o:(_start)
[INFO] [stdout]           >>> defined at lib.rs:21 (src/lib.rs:21)
[INFO] [stdout]           >>>            user_lib-bea59f73c3820a0f.user_lib.eb22277bbbe2676b-cgu.0.rcgu.o:(.text.entry+0x0) in archive /opt/rustwide/target/debug/deps/libuser_lib-bea59f73c3820a0f.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wpj-tg-rcore-tutorial-user` (bin "filetest_simple") due to 1 previous error
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> src/bin/t2l5_condvar_pc.rs:64:15
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let _id = *arg;
[INFO] [stdout]    |               ^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/bin/t2l5_condvar_pc.rs:63:1
[INFO] [stdout]    |
[INFO] [stdout] 63 | unsafe fn consumer(arg: *const usize) -> isize {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::const_ptr::<impl *const T>::read_volatile` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/bin/t2l5_condvar_pc.rs:68:15
[INFO] [stdout]    |
[INFO] [stdout] 68 |         while (&raw const COUNT).read_volatile() == 0 {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/bin/t2l5_condvar_pc.rs:75:20
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let item = BUFFER[TAIL];
[INFO] [stdout]    |                    ^^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/bin/t2l5_condvar_pc.rs:75:27
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let item = BUFFER[TAIL];
[INFO] [stdout]    |                           ^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/bin/t2l5_condvar_pc.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |         TAIL = (TAIL + 1) % BUFFER_SIZE;
[INFO] [stdout]    |         ^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/bin/t2l5_condvar_pc.rs:76:17
[INFO] [stdout]    |
[INFO] [stdout] 76 |         TAIL = (TAIL + 1) % BUFFER_SIZE;
[INFO] [stdout]    |                 ^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of mutable static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/bin/t2l5_condvar_pc.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |         COUNT -= 1;
[INFO] [stdout]    |         ^^^^^ use of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcRnLtiV/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libuser_lib-bea59f73c3820a0f,libtg_rcore_tutorial_syscall-a312b61c45333cc6,libtg_rcore_tutorial_signal_defs-f8c08904ce016b39,libnumeric_enum_macro-5a2d6389bc9f3264,libbitflags-e7a388805a9595d6,libtg_rcore_tutorial_console-7ba35e3bc4a5166b,libspin-ffa5bdde61f6eedb,liblock_api-d40fa7bfa408ebd6,libscopeguard-6486b5fad18b9633,liblog-632f1d3c10a2e300,libcustomizable_buddy-f93ad79ec92eeb68}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/debug/deps/rustcRnLtiV/raw-dylibs" "-Wl,-Bdynamic" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ch3_sleep-748a44099ada3a5a" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: duplicate symbol: _start
[INFO] [stdout]           >>> defined at /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/Scrt1.o:(_start)
[INFO] [stdout]           >>> defined at lib.rs:21 (src/lib.rs:21)
[INFO] [stdout]           >>>            user_lib-bea59f73c3820a0f.user_lib.eb22277bbbe2676b-cgu.0.rcgu.o:(.text.entry+0x0) in archive /opt/rustwide/target/debug/deps/libuser_lib-bea59f73c3820a0f.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wpj-tg-rcore-tutorial-user` (bin "ch3_sleep") due to 1 previous error
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/opt/rustwide/target/debug/deps/rustc6zIPw2/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libuser_lib-bea59f73c3820a0f,libtg_rcore_tutorial_syscall-a312b61c45333cc6,libtg_rcore_tutorial_signal_defs-f8c08904ce016b39,libnumeric_enum_macro-5a2d6389bc9f3264,libbitflags-e7a388805a9595d6,libtg_rcore_tutorial_console-7ba35e3bc4a5166b,libspin-ffa5bdde61f6eedb,liblock_api-d40fa7bfa408ebd6,libscopeguard-6486b5fad18b9633,liblog-632f1d3c10a2e300,libcustomizable_buddy-f93ad79ec92eeb68}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/debug/deps/rustc6zIPw2/raw-dylibs" "-Wl,-Bdynamic" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/t2l5_mutex_stress-ca7e0d4a9e4de3c0" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: duplicate symbol: _start
[INFO] [stdout]           >>> defined at /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/Scrt1.o:(_start)
[INFO] [stdout]           >>> defined at lib.rs:21 (src/lib.rs:21)
[INFO] [stdout]           >>>            user_lib-bea59f73c3820a0f.user_lib.eb22277bbbe2676b-cgu.0.rcgu.o:(.text.entry+0x0) in archive /opt/rustwide/target/debug/deps/libuser_lib-bea59f73c3820a0f.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wpj-tg-rcore-tutorial-user` (bin "t2l5_mutex_stress") due to 1 previous error; 3 warnings emitted
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/opt/rustwide/target/debug/deps/rustc6sDPPA/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libuser_lib-bea59f73c3820a0f,libtg_rcore_tutorial_syscall-a312b61c45333cc6,libtg_rcore_tutorial_signal_defs-f8c08904ce016b39,libnumeric_enum_macro-5a2d6389bc9f3264,libbitflags-e7a388805a9595d6,libtg_rcore_tutorial_console-7ba35e3bc4a5166b,libspin-ffa5bdde61f6eedb,liblock_api-d40fa7bfa408ebd6,libscopeguard-6486b5fad18b9633,liblog-632f1d3c10a2e300,libcustomizable_buddy-f93ad79ec92eeb68}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/debug/deps/rustc6sDPPA/raw-dylibs" "-Wl,-Bdynamic" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/t2l5_condvar_pc-1dc05f6a394c5d72" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: duplicate symbol: _start
[INFO] [stdout]           >>> defined at /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/Scrt1.o:(_start)
[INFO] [stdout]           >>> defined at lib.rs:21 (src/lib.rs:21)
[INFO] [stdout]           >>>            user_lib-bea59f73c3820a0f.user_lib.eb22277bbbe2676b-cgu.0.rcgu.o:(.text.entry+0x0) in archive /opt/rustwide/target/debug/deps/libuser_lib-bea59f73c3820a0f.rlib
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wpj-tg-rcore-tutorial-user` (bin "t2l5_condvar_pc") due to 1 previous error; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "dc0d0a797b44ea672bd495e193246f0643c670f5b12de6209dcb034bafc9fcd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc0d0a797b44ea672bd495e193246f0643c670f5b12de6209dcb034bafc9fcd6", kill_on_drop: false }`
[INFO] [stdout] dc0d0a797b44ea672bd495e193246f0643c670f5b12de6209dcb034bafc9fcd6
