[INFO] cloning repository https://github.com/gmorenz/async-transpiled-xv6-shell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gmorenz/async-transpiled-xv6-shell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmorenz%2Fasync-transpiled-xv6-shell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmorenz%2Fasync-transpiled-xv6-shell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e5a42c0b673787a8192c69d201ba661142c816bf [INFO] testing gmorenz/async-transpiled-xv6-shell against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmorenz%2Fasync-transpiled-xv6-shell" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gmorenz/async-transpiled-xv6-shell [INFO] finished tweaking git repo https://github.com/gmorenz/async-transpiled-xv6-shell [INFO] tweaked toml for git repo https://github.com/gmorenz/async-transpiled-xv6-shell written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gmorenz/async-transpiled-xv6-shell on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gmorenz/async-transpiled-xv6-shell 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.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b3b835c6f23320b381f8856286c66f0341d1cb1a20e4258e10cfc304b1f71cb8 [INFO] running `Command { std: "docker" "start" "b3b835c6f23320b381f8856286c66f0341d1cb1a20e4258e10cfc304b1f71cb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3b835c6f23320b381f8856286c66f0341d1cb1a20e4258e10cfc304b1f71cb8", 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" "b3b835c6f23320b381f8856286c66f0341d1cb1a20e4258e10cfc304b1f71cb8" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3b835c6f23320b381f8856286c66f0341d1cb1a20e4258e10cfc304b1f71cb8", 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" "b3b835c6f23320b381f8856286c66f0341d1cb1a20e4258e10cfc304b1f71cb8" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-lock v2.3.0 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling futures-lite v1.11.2 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.2.2 [INFO] [stderr] Compiling signal-hook v0.1.16 [INFO] [stderr] Compiling async-io v1.3.1 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling async-fs v1.5.0 [INFO] [stderr] Compiling async-process v1.0.1 [INFO] [stderr] Compiling async-net v1.5.0 [INFO] [stderr] Compiling smol v1.2.5 [INFO] [stderr] Compiling async-transpiled-xv6-shell v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: suspicious definition of the runtime `memset` symbol used by the standard library [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / fn memset(_: *mut libc::c_void, _: libc::c_int, _: libc::c_ulong) [INFO] [stdout] 42 | | -> *mut libc::c_void; [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut c_void, i32, usize) -> *mut c_void` (for the current target) [INFO] [stdout] found `unsafe extern "C" fn(*mut c_void, i32, u64) -> *mut c_void` [INFO] [stdout] = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "memset")]`, or `#[link_name = "memset"]` [INFO] [stdout] = help: allow this lint if the signature is compatible [INFO] [stdout] = note: `#[warn(suspicious_runtime_symbol_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: suspicious definition of the runtime `strlen` symbol used by the standard library [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | fn strlen(_: *const libc::c_char) -> libc::c_ulong; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const i8) -> usize` (for the current target) [INFO] [stdout] found `unsafe extern "C" fn(*const i8) -> u64` [INFO] [stdout] = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "strlen")]`, or `#[link_name = "strlen"]` [INFO] [stdout] = help: allow this lint if the signature is compatible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: suspicious definition of the runtime `malloc` symbol used by the standard library [INFO] [stdout] --> src/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn malloc(_: libc::c_ulong) -> *mut libc::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(usize) -> *mut c_void` (for the current target) [INFO] [stdout] found `unsafe extern "C" fn(u64) -> *mut c_void` [INFO] [stdout] = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "malloc")]`, or `#[link_name = "malloc"]` [INFO] [stdout] = help: allow this lint if the signature is compatible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:322:29 [INFO] [stdout] | [INFO] [stdout] 322 | while s < es && !strchr(whitespace.as_ptr(), *s as libc::c_int).is_null() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:341:30 [INFO] [stdout] | [INFO] [stdout] 341 | strchr(whitespace.as_ptr(), *s as libc::c_int).is_null() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:342:33 [INFO] [stdout] | [INFO] [stdout] 342 | && strchr(symbols.as_ptr(), *s as libc::c_int).is_null() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:349:29 [INFO] [stdout] | [INFO] [stdout] 349 | while s < es && !strchr(whitespace.as_ptr(), *s as libc::c_int).is_null() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:362:29 [INFO] [stdout] | [INFO] [stdout] 362 | while s < es && !strchr(whitespace.as_ptr(), *s as libc::c_int).is_null() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 8.05s [INFO] running `Command { std: "docker" "inspect" "b3b835c6f23320b381f8856286c66f0341d1cb1a20e4258e10cfc304b1f71cb8", 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" "b3b835c6f23320b381f8856286c66f0341d1cb1a20e4258e10cfc304b1f71cb8" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling async-transpiled-xv6-shell v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: suspicious definition of the runtime `memset` symbol used by the standard library [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / fn memset(_: *mut libc::c_void, _: libc::c_int, _: libc::c_ulong) [INFO] [stdout] 42 | | -> *mut libc::c_void; [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut c_void, i32, usize) -> *mut c_void` (for the current target) [INFO] [stdout] found `unsafe extern "C" fn(*mut c_void, i32, u64) -> *mut c_void` [INFO] [stdout] = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "memset")]`, or `#[link_name = "memset"]` [INFO] [stdout] = help: allow this lint if the signature is compatible [INFO] [stdout] = note: `#[warn(suspicious_runtime_symbol_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: suspicious definition of the runtime `strlen` symbol used by the standard library [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | fn strlen(_: *const libc::c_char) -> libc::c_ulong; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const i8) -> usize` (for the current target) [INFO] [stdout] found `unsafe extern "C" fn(*const i8) -> u64` [INFO] [stdout] = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "strlen")]`, or `#[link_name = "strlen"]` [INFO] [stdout] = help: allow this lint if the signature is compatible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: suspicious definition of the runtime `malloc` symbol used by the standard library [INFO] [stdout] --> src/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn malloc(_: libc::c_ulong) -> *mut libc::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(usize) -> *mut c_void` (for the current target) [INFO] [stdout] found `unsafe extern "C" fn(u64) -> *mut c_void` [INFO] [stdout] = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "malloc")]`, or `#[link_name = "malloc"]` [INFO] [stdout] = help: allow this lint if the signature is compatible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:322:29 [INFO] [stdout] | [INFO] [stdout] 322 | while s < es && !strchr(whitespace.as_ptr(), *s as libc::c_int).is_null() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:341:30 [INFO] [stdout] | [INFO] [stdout] 341 | strchr(whitespace.as_ptr(), *s as libc::c_int).is_null() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:342:33 [INFO] [stdout] | [INFO] [stdout] 342 | && strchr(symbols.as_ptr(), *s as libc::c_int).is_null() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:349:29 [INFO] [stdout] | [INFO] [stdout] 349 | while s < es && !strchr(whitespace.as_ptr(), *s as libc::c_int).is_null() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:362:29 [INFO] [stdout] | [INFO] [stdout] 362 | while s < es && !strchr(whitespace.as_ptr(), *s as libc::c_int).is_null() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "b3b835c6f23320b381f8856286c66f0341d1cb1a20e4258e10cfc304b1f71cb8", 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" "b3b835c6f23320b381f8856286c66f0341d1cb1a20e4258e10cfc304b1f71cb8" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: suspicious definition of the runtime `memset` symbol used by the standard library [INFO] [stderr] --> src/main.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | / fn memset(_: *mut libc::c_void, _: libc::c_int, _: libc::c_ulong) [INFO] [stderr] 42 | | -> *mut libc::c_void; [INFO] [stderr] | |__________________________^ [INFO] [stderr] | [INFO] [stderr] = note: expected `unsafe extern "C" fn(*mut c_void, i32, usize) -> *mut c_void` (for the current target) [INFO] [stderr] found `unsafe extern "C" fn(*mut c_void, i32, u64) -> *mut c_void` [INFO] [stderr] = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "memset")]`, or `#[link_name = "memset"]` [INFO] [stderr] = help: allow this lint if the signature is compatible [INFO] [stderr] = note: `#[warn(suspicious_runtime_symbol_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: suspicious definition of the runtime `strlen` symbol used by the standard library [INFO] [stderr] --> src/main.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | fn strlen(_: *const libc::c_char) -> libc::c_ulong; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected `unsafe extern "C" fn(*const i8) -> usize` (for the current target) [INFO] [stderr] found `unsafe extern "C" fn(*const i8) -> u64` [INFO] [stderr] = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "strlen")]`, or `#[link_name = "strlen"]` [INFO] [stderr] = help: allow this lint if the signature is compatible [INFO] [stderr] [INFO] [stderr] warning: suspicious definition of the runtime `malloc` symbol used by the standard library [INFO] [stderr] --> src/main.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | fn malloc(_: libc::c_ulong) -> *mut libc::c_void; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected `unsafe extern "C" fn(usize) -> *mut c_void` (for the current target) [INFO] [stderr] found `unsafe extern "C" fn(u64) -> *mut c_void` [INFO] [stderr] = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "malloc")]`, or `#[link_name = "malloc"]` [INFO] [stderr] = help: allow this lint if the signature is compatible [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/main.rs:322:29 [INFO] [stderr] | [INFO] [stderr] 322 | while s < es && !strchr(whitespace.as_ptr(), *s as libc::c_int).is_null() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/main.rs:341:30 [INFO] [stderr] | [INFO] [stderr] 341 | strchr(whitespace.as_ptr(), *s as libc::c_int).is_null() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/main.rs:342:33 [INFO] [stderr] | [INFO] [stderr] 342 | && strchr(symbols.as_ptr(), *s as libc::c_int).is_null() [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/main.rs:349:29 [INFO] [stderr] | [INFO] [stderr] 349 | while s < es && !strchr(whitespace.as_ptr(), *s as libc::c_int).is_null() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/main.rs:362:29 [INFO] [stderr] | [INFO] [stderr] 362 | while s < es && !strchr(whitespace.as_ptr(), *s as libc::c_int).is_null() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = help: use a type that relies on "interior mutability" instead; to read more on this, visit [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `async-transpiled-xv6-shell` (bin "async-transpiled-xv6-shell" test) generated 8 warnings [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/build/async-transpiled-xv6-shell/c7c11e1779537c37/out/async_transpiled_xv6_shell-c7c11e1779537c37) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b3b835c6f23320b381f8856286c66f0341d1cb1a20e4258e10cfc304b1f71cb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3b835c6f23320b381f8856286c66f0341d1cb1a20e4258e10cfc304b1f71cb8", kill_on_drop: false }` [INFO] [stdout] b3b835c6f23320b381f8856286c66f0341d1cb1a20e4258e10cfc304b1f71cb8