[INFO] fetching crate rastapi 0.1.0...
[INFO] testing rastapi-0.1.0 against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate rastapi 0.1.0 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate rastapi 0.1.0
[INFO] finished tweaking crates.io crate rastapi 0.1.0
[INFO] tweaked toml for crates.io crate rastapi 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rastapi 0.1.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 171 packages to highest compatible versions
[INFO] [stderr]       Adding rand v0.8.8 (available: v0.10.3)
[INFO] [stderr]       Adding reqwest v0.11.27 (available: v0.13.5)
[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-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 0b09310d7993766ecfdd15f5ea317319adc6f41702a8d255bde7f17717fb39f4
[INFO] running `Command { std: "docker" "start" "0b09310d7993766ecfdd15f5ea317319adc6f41702a8d255bde7f17717fb39f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0b09310d7993766ecfdd15f5ea317319adc6f41702a8d255bde7f17717fb39f4", 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" "0b09310d7993766ecfdd15f5ea317319adc6f41702a8d255bde7f17717fb39f4" "/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" "0b09310d7993766ecfdd15f5ea317319adc6f41702a8d255bde7f17717fb39f4", 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" "0b09310d7993766ecfdd15f5ea317319adc6f41702a8d255bde7f17717fb39f4" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling aho-corasick v1.1.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling chrono v0.4.45
[INFO] [stderr]    Compiling rand v0.8.8
[INFO] [stderr]    Compiling regex-automata v0.4.18
[INFO] [stderr]    Compiling regex v1.13.1
[INFO] [stderr]    Compiling rastapi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:165:44
[INFO] [stdout]     |
[INFO] [stdout] 165 |         let addr = format!("127.0.0.1:{}", PORT);
[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 <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/lib.rs:384:63
[INFO] [stdout]     |
[INFO] [stdout] 384 |             sig_int_act.sa_sigaction = handle_shutdown_signal as usize;
[INFO] [stdout]     |                                                               ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 384 |             sig_int_act.sa_sigaction = handle_shutdown_signal as *const () as usize;
[INFO] [stdout]     |                                                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/lib.rs:385:64
[INFO] [stdout]     |
[INFO] [stdout] 385 |             sig_term_act.sa_sigaction = handle_shutdown_signal as usize;
[INFO] [stdout]     |                                                                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 385 |             sig_term_act.sa_sigaction = handle_shutdown_signal as *const () as usize;
[INFO] [stdout]     |                                                                ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/lib.rs:386:56
[INFO] [stdout]     |
[INFO] [stdout] 386 |             sig_tstp_act.sa_sigaction = handle_sigtstp as usize;
[INFO] [stdout]     |                                                        ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 386 |             sig_tstp_act.sa_sigaction = handle_sigtstp as *const () as usize;
[INFO] [stdout]     |                                                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/utils/mod.rs:146:39
[INFO] [stdout]     |
[INFO] [stdout] 146 |     pub(crate) fn from_header(header: &str) -> Result<Self, ApiError> {
[INFO] [stdout]     |                                       ^^^^                  ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 146 |     pub(crate) fn from_header(header: &str) -> Result<Self, ApiError<'_>> {
[INFO] [stdout]     |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 31.14s
[INFO] running `Command { std: "docker" "inspect" "0b09310d7993766ecfdd15f5ea317319adc6f41702a8d255bde7f17717fb39f4", 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" "0b09310d7993766ecfdd15f5ea317319adc6f41702a8d255bde7f17717fb39f4" "/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 openssl-sys v0.9.117
[INFO] [stderr]    Compiling mio v1.2.4
[INFO] [stderr]    Compiling socket2 v0.6.5
[INFO] [stderr]    Compiling zerovec-derive v0.11.6
[INFO] [stderr]    Compiling displaydoc v0.2.7
[INFO] [stderr]    Compiling yoke-derive v0.8.4
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling tokio v1.53.3
[INFO] [stderr]    Compiling openssl v0.10.81
[INFO] [stderr]    Compiling futures-io v0.3.34
[INFO] [stderr]    Compiling yoke v0.8.3
[INFO] [stderr]    Compiling smallvec v1.16.3
[INFO] [stderr]    Compiling zerotrie v0.2.5
[INFO] [stderr]    Compiling bitflags v2.13.2
[INFO] [stderr]    Compiling zerovec v0.11.8
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling futures-util v0.3.34
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling want v0.3.2
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling regex-automata v0.4.18
[INFO] [stderr]    Compiling tinystr v0.8.4
[INFO] [stderr]    Compiling icu_locale_core v2.3.0
[INFO] [stderr]    Compiling potential_utf v0.1.6
[INFO] [stderr]    Compiling simdutf8 v0.1.5
[INFO] [stderr]    Compiling icu_collections v2.3.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling encoding_rs v0.8.42
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling icu_provider v2.3.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling icu_properties v2.3.0
[INFO] [stderr]    Compiling icu_normalizer v2.3.0
[INFO] [stderr]    Compiling regex v1.13.1
[INFO] [stderr]    Compiling rastapi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:165:44
[INFO] [stdout]     |
[INFO] [stdout] 165 |         let addr = format!("127.0.0.1:{}", PORT);
[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 <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/lib.rs:384:63
[INFO] [stdout]     |
[INFO] [stdout] 384 |             sig_int_act.sa_sigaction = handle_shutdown_signal as usize;
[INFO] [stdout]     |                                                               ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 384 |             sig_int_act.sa_sigaction = handle_shutdown_signal as *const () as usize;
[INFO] [stdout]     |                                                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/lib.rs:385:64
[INFO] [stdout]     |
[INFO] [stdout] 385 |             sig_term_act.sa_sigaction = handle_shutdown_signal as usize;
[INFO] [stdout]     |                                                                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 385 |             sig_term_act.sa_sigaction = handle_shutdown_signal as *const () as usize;
[INFO] [stdout]     |                                                                ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/lib.rs:386:56
[INFO] [stdout]     |
[INFO] [stdout] 386 |             sig_tstp_act.sa_sigaction = handle_sigtstp as usize;
[INFO] [stdout]     |                                                        ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 386 |             sig_tstp_act.sa_sigaction = handle_sigtstp as *const () as usize;
[INFO] [stdout]     |                                                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/utils/mod.rs:146:39
[INFO] [stdout]     |
[INFO] [stdout] 146 |     pub(crate) fn from_header(header: &str) -> Result<Self, ApiError> {
[INFO] [stdout]     |                                       ^^^^                  ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 146 |     pub(crate) fn from_header(header: &str) -> Result<Self, ApiError<'_>> {
[INFO] [stdout]     |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tokio-util v0.7.20
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/lib.rs:165:44
[INFO] [stdout]     |
[INFO] [stdout] 165 |         let addr = format!("127.0.0.1:{}", PORT);
[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 <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/lib.rs:384:63
[INFO] [stdout]     |
[INFO] [stdout] 384 |             sig_int_act.sa_sigaction = handle_shutdown_signal as usize;
[INFO] [stdout]     |                                                               ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 384 |             sig_int_act.sa_sigaction = handle_shutdown_signal as *const () as usize;
[INFO] [stdout]     |                                                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/lib.rs:385:64
[INFO] [stdout]     |
[INFO] [stdout] 385 |             sig_term_act.sa_sigaction = handle_shutdown_signal as usize;
[INFO] [stdout]     |                                                                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 385 |             sig_term_act.sa_sigaction = handle_shutdown_signal as *const () as usize;
[INFO] [stdout]     |                                                                ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/lib.rs:386:56
[INFO] [stdout]     |
[INFO] [stdout] 386 |             sig_tstp_act.sa_sigaction = handle_sigtstp as usize;
[INFO] [stdout]     |                                                        ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 386 |             sig_tstp_act.sa_sigaction = handle_sigtstp as *const () as usize;
[INFO] [stdout]     |                                                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/utils/mod.rs:146:39
[INFO] [stdout]     |
[INFO] [stdout] 146 |     pub(crate) fn from_header(header: &str) -> Result<Self, ApiError> {
[INFO] [stdout]     |                                       ^^^^                  ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                       |
[INFO] [stdout]     |                                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 146 |     pub(crate) fn from_header(header: &str) -> Result<Self, ApiError<'_>> {
[INFO] [stdout]     |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1m 52s
[INFO] running `Command { std: "docker" "inspect" "0b09310d7993766ecfdd15f5ea317319adc6f41702a8d255bde7f17717fb39f4", 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" "0b09310d7993766ecfdd15f5ea317319adc6f41702a8d255bde7f17717fb39f4" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/lib.rs:165:44
[INFO] [stderr]     |
[INFO] [stderr] 165 |         let addr = format!("127.0.0.1:{}", PORT);
[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 <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: direct cast of function item into an integer
[INFO] [stderr]    --> src/lib.rs:384:63
[INFO] [stderr]     |
[INFO] [stderr] 384 |             sig_int_act.sa_sigaction = handle_shutdown_signal as usize;
[INFO] [stderr]     |                                                               ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stderr] help: first cast to a pointer `as *const ()`
[INFO] [stderr]     |
[INFO] [stderr] 384 |             sig_int_act.sa_sigaction = handle_shutdown_signal as *const () as usize;
[INFO] [stderr]     |                                                               ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: direct cast of function item into an integer
[INFO] [stderr]    --> src/lib.rs:385:64
[INFO] [stderr]     |
[INFO] [stderr] 385 |             sig_term_act.sa_sigaction = handle_shutdown_signal as usize;
[INFO] [stderr]     |                                                                ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: first cast to a pointer `as *const ()`
[INFO] [stderr]     |
[INFO] [stderr] 385 |             sig_term_act.sa_sigaction = handle_shutdown_signal as *const () as usize;
[INFO] [stderr]     |                                                                ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: direct cast of function item into an integer
[INFO] [stderr]    --> src/lib.rs:386:56
[INFO] [stderr]     |
[INFO] [stderr] 386 |             sig_tstp_act.sa_sigaction = handle_sigtstp as usize;
[INFO] [stderr]     |                                                        ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: first cast to a pointer `as *const ()`
[INFO] [stderr]     |
[INFO] [stderr] 386 |             sig_tstp_act.sa_sigaction = handle_sigtstp as *const () as usize;
[INFO] [stderr]     |                                                        ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/utils/mod.rs:146:39
[INFO] [stderr]     |
[INFO] [stderr] 146 |     pub(crate) fn from_header(header: &str) -> Result<Self, ApiError> {
[INFO] [stderr]     |                                       ^^^^                  ^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                                       |
[INFO] [stderr]     |                                       the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 146 |     pub(crate) fn from_header(header: &str) -> Result<Self, ApiError<'_>> {
[INFO] [stderr]     |                                                                     ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `rastapi` (lib) generated 5 warnings (run `cargo fix --lib -p rastapi` to apply 4 suggestions)
[INFO] [stderr] warning: `rastapi` (lib test) generated 5 warnings (5 duplicates)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/rastapi/d4096514593a1ee8/out/rastapi-d4096514593a1ee8)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test cache::cachetest::cache_integrity_test ... ok
[INFO] [stdout] test apitest::file_upload_test ... FAILED
[INFO] [stdout] test cache::cachetest::cache_size_test ... ok
[INFO] [stdout] test cache::cachetest::eviction_test ... ok
[INFO] [stdout] test apitest::file_download_test ... ok
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stdout] test apitest::json_header_path_params_test ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- apitest::file_upload_test stdout ----
[INFO] [stdout] [1;34m[INFO][0m [2026-10-18 14:57:37] SERVER STARTED
[INFO] [stdout] [1;34m[INFO][0m [2026-10-18 14:57:37] Listening to 127.0.0.1:5000
[INFO] [stdout] [1;34m[INFO][0m [2026-10-18 14:57:37] Press CTRL + C to stop the server.
[INFO] [stdout] [1;34m[INFO][0m [2026-10-18 14:57:37] Process PID : 1160
[INFO] [stdout] [1;31m[ERROR][0m [2026-10-18 14:57:37] [src/Request/mod.rs:272] :
[INFO] [stdout] Message : Read-only file system (os error 30)
[INFO] [stdout] 
[INFO] [stdout] thread 'apitest::file_upload_test' (1162) panicked at src/lib.rs:704:17:
[INFO] [stdout] FAILED TO SEND REQUEST. REASON :
[INFO] [stdout] request or response body error for url (http://127.0.0.1:5000/upload): channel closed
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x574e45626051 - <<std[617be2ca0a6fd877]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x574e4563da6a - core[a373ad73a504971]::fmt::write
[INFO] [stdout]    2:     0x574e4562ac7c - <alloc[2e1b2a31b91974c5]::vec::Vec<u8> as core[a373ad73a504971]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x574e455ff316 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x574e4561cea9 - std[617be2ca0a6fd877]::panicking::default_hook
[INFO] [stdout]    5:     0x574e453a0b90 - test[aada8e7e76ba119b]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x574e4561d1d2 - std[617be2ca0a6fd877]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x574e455ff3c2 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x574e455f7d49 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace::<std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x574e456001bd - __rustc[ea4f61d10b84890b]::rust_begin_unwind
[INFO] [stdout]   10:     0x574e4563e24c - core[a373ad73a504971]::panicking::panic_fmt
[INFO] [stdout]   11:     0x574e45370511 - <rastapi[314f668440544adb]::apitest::file_upload_test::{closure#0} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   12:     0x574e45393fdb - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::<core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>>
[INFO] [stdout]   13:     0x574e453a11b5 - test[aada8e7e76ba119b]::run_test::{closure#0}
[INFO] [stdout]   14:     0x574e4539aaa4 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace::<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>
[INFO] [stdout]   15:     0x574e453a4242 - <std[617be2ca0a6fd877]::thread::lifecycle::spawn_unchecked<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   16:     0x574e4562480f - <std[617be2ca0a6fd877]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   17:     0x7d0d1b90adfa - <unknown>
[INFO] [stdout]   18:     0x7d0d1b99e3d4 - clone
[INFO] [stdout]   19:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     apitest::file_upload_test
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.08s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0b09310d7993766ecfdd15f5ea317319adc6f41702a8d255bde7f17717fb39f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0b09310d7993766ecfdd15f5ea317319adc6f41702a8d255bde7f17717fb39f4", kill_on_drop: false }`
[INFO] [stdout] 0b09310d7993766ecfdd15f5ea317319adc6f41702a8d255bde7f17717fb39f4
