[INFO] fetching crate novusk_syscalls 0.2.1...
[INFO] checking novusk_syscalls-0.2.1 against master#39cb3386ddc6c71657418be28dbb3987eea4aa4b for pr-133536
[INFO] extracting crate novusk_syscalls 0.2.1 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate novusk_syscalls 0.2.1 on toolchain 39cb3386ddc6c71657418be28dbb3987eea4aa4b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate novusk_syscalls 0.2.1
[INFO] finished tweaking crates.io crate novusk_syscalls 0.2.1
[INFO] tweaked toml for crates.io crate novusk_syscalls 0.2.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate crates.io crate novusk_syscalls 0.2.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" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 252a541b64195cbebfe5f9bacab1eb656a1334e98d87130b41f1b9bddb56def3
[INFO] running `Command { std: "docker" "start" "-a" "252a541b64195cbebfe5f9bacab1eb656a1334e98d87130b41f1b9bddb56def3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "252a541b64195cbebfe5f9bacab1eb656a1334e98d87130b41f1b9bddb56def3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "252a541b64195cbebfe5f9bacab1eb656a1334e98d87130b41f1b9bddb56def3", kill_on_drop: false }`
[INFO] [stdout] 252a541b64195cbebfe5f9bacab1eb656a1334e98d87130b41f1b9bddb56def3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5988666c2b2cff64e180f49a3b89cc81668e5aa79e9fc9d7eff7a8086bf0c6bd
[INFO] running `Command { std: "docker" "start" "-a" "5988666c2b2cff64e180f49a3b89cc81668e5aa79e9fc9d7eff7a8086bf0c6bd", kill_on_drop: false }`
[INFO] [stderr]     Checking novusk_syscalls v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `sys_arg1`
[INFO] [stdout]  --> src/empty.rs:5:36
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub unsafe extern "C" fn sys_empty(sys_arg1: u8, sys_arg2: u8, sys_arg3: u8) -> u8 {
[INFO] [stdout]   |                                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sys_arg1`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sys_arg2`
[INFO] [stdout]  --> src/empty.rs:5:50
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub unsafe extern "C" fn sys_empty(sys_arg1: u8, sys_arg2: u8, sys_arg3: u8) -> u8 {
[INFO] [stdout]   |                                                  ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sys_arg2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sys_arg3`
[INFO] [stdout]  --> src/empty.rs:5:64
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub unsafe extern "C" fn sys_empty(sys_arg1: u8, sys_arg2: u8, sys_arg3: u8) -> u8 {
[INFO] [stdout]   |                                                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sys_arg3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sys_arg1`
[INFO] [stdout]  --> src/empty.rs:5:36
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub unsafe extern "C" fn sys_empty(sys_arg1: u8, sys_arg2: u8, sys_arg3: u8) -> u8 {
[INFO] [stdout]   |                                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sys_arg1`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sys_arg2`
[INFO] [stdout]  --> src/empty.rs:5:50
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub unsafe extern "C" fn sys_empty(sys_arg1: u8, sys_arg2: u8, sys_arg3: u8) -> u8 {
[INFO] [stdout]   |                                                  ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sys_arg2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sys_arg3`
[INFO] [stdout]  --> src/empty.rs:5:64
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub unsafe extern "C" fn sys_empty(sys_arg1: u8, sys_arg2: u8, sys_arg3: u8) -> u8 {
[INFO] [stdout]   |                                                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sys_arg3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ret` is never read
[INFO] [stdout]   --> src/table.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut ret = 0;
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/table.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let mut syscalls = self.syscalls.as_mut().unwrap();
[INFO] [stdout]    |             ----^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ret` is never read
[INFO] [stdout]   --> src/table.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut ret = 0;
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/table.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let mut syscalls = self.syscalls.as_mut().unwrap();
[INFO] [stdout]    |             ----^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `write`
[INFO] [stdout]  --> examples/write.rs:4:2
[INFO] [stdout]   |
[INFO] [stdout] 4 | }
[INFO] [stdout]   |  ^ consider adding a `main` function to `examples/write.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sys_arg3`
[INFO] [stdout]  --> examples/write.rs:1:64
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub unsafe extern "C" fn sys_write(sys_arg1: u8, sys_arg2: u8, sys_arg3: u8) -> u8 {
[INFO] [stdout]   |                                                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sys_arg3`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sys_arg3`
[INFO] [stdout]  --> examples/write.rs:1:64
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub unsafe extern "C" fn sys_write(sys_arg1: u8, sys_arg2: u8, sys_arg3: u8) -> u8 {
[INFO] [stdout]   |                                                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sys_arg3`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sys_arg3`
[INFO] [stdout]  --> examples/write.rs:1:64
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub unsafe extern "C" fn sys_write(sys_arg1: u8, sys_arg2: u8, sys_arg3: u8) -> u8 {
[INFO] [stdout]   |                                                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sys_arg3`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> examples/table.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         SYSCALL_TABLE.start_init();
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> examples/table.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         SYSCALL_TABLE.set_name("Novusk System call Example Table");
[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]   --> examples/table.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |         SYSCALL_TABLE.add_syscall(SysCall::new("sys_write", 1, sys_write));
[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 shared reference to mutable static is discouraged
[INFO] [stdout]   --> examples/table.rs:21:59
[INFO] [stdout]    |
[INFO] [stdout] 21 |         println!("\nUsing \"{}\" as a system call table", SYSCALL_TABLE.systable_name);
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared 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: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged
[INFO] [stdout]   --> examples/table.rs:22:31
[INFO] [stdout]    |
[INFO] [stdout] 22 |         println!("Empty: {}", SYSCALL_TABLE.make_call(999, 0, 0, 0));
[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]   --> examples/table.rs:23:33
[INFO] [stdout]    |
[INFO] [stdout] 23 |         println!("\nWrite: {}", SYSCALL_TABLE.make_call(1, b'A', 0, 0));
[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]   --> examples/table.rs:24:46
[INFO] [stdout]    |
[INFO] [stdout] 24 |         println!("Non existent syscall: {}", SYSCALL_TABLE.make_call(2, 0, 0, 0,));
[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] [stderr] error: could not compile `novusk_syscalls` (example "write") due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "5988666c2b2cff64e180f49a3b89cc81668e5aa79e9fc9d7eff7a8086bf0c6bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5988666c2b2cff64e180f49a3b89cc81668e5aa79e9fc9d7eff7a8086bf0c6bd", kill_on_drop: false }`
[INFO] [stdout] 5988666c2b2cff64e180f49a3b89cc81668e5aa79e9fc9d7eff7a8086bf0c6bd
