[INFO] fetching crate rastapi 0.1.0...
[INFO] testing rastapi-0.1.0 against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate rastapi 0.1.0 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rastapi 0.1.0 on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] running `"cargo" "+1.101.0-beta.1" "generate-lockfile" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 172 packages to highest compatible versions
[INFO] [stderr]       Adding rand v0.8.8 (available: v0.10.4)
[INFO] [stderr]       Adding reqwest v0.11.27 (available: v0.13.5)
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 52d5ba7f767b73e773d40ddb1c3bb378e4dfa8bc23e3c8b6245e376fe2851d68
[INFO] running `"docker" "start" "52d5ba7f767b73e773d40ddb1c3bb378e4dfa8bc23e3c8b6245e376fe2851d68"`
[INFO] running `"docker" "inspect" "52d5ba7f767b73e773d40ddb1c3bb378e4dfa8bc23e3c8b6245e376fe2851d68"`
[INFO] running `"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" "52d5ba7f767b73e773d40ddb1c3bb378e4dfa8bc23e3c8b6245e376fe2851d68" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "52d5ba7f767b73e773d40ddb1c3bb378e4dfa8bc23e3c8b6245e376fe2851d68"`
[INFO] running `"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" "52d5ba7f767b73e773d40ddb1c3bb378e4dfa8bc23e3c8b6245e376fe2851d68" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling libc v0.2.191
[INFO] [stderr]    Compiling zerocopy v0.8.64
[INFO] [stderr]    Compiling cfg-if v1.0.5
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling regex-syntax v0.8.12
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling chrono v0.4.45
[INFO] [stderr]    Compiling aho-corasick v1.1.5
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling regex-automata v0.4.19
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.8
[INFO] [stderr]    Compiling regex v1.13.2
[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 24.78s
[INFO] running `"docker" "inspect" "52d5ba7f767b73e773d40ddb1c3bb378e4dfa8bc23e3c8b6245e376fe2851d68"`
[INFO] running `"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" "52d5ba7f767b73e773d40ddb1c3bb378e4dfa8bc23e3c8b6245e376fe2851d68" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling shlex v2.0.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.15
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.34
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling pin-project-lite v0.2.18
[INFO] [stderr]    Compiling bytes v1.12.2
[INFO] [stderr]    Compiling itoa v1.0.19
[INFO] [stderr]    Compiling utf_types v1.0.0
[INFO] [stderr]    Compiling litemap v0.8.3
[INFO] [stderr]    Compiling writeable v0.6.4
[INFO] [stderr]    Compiling icu_normalizer_data v2.4.0
[INFO] [stderr]    Compiling icu_properties_data v2.4.0
[INFO] [stderr]    Compiling futures-core v0.3.34
[INFO] [stderr]    Compiling syn v3.0.10
[INFO] [stderr]    Compiling mio v1.2.5
[INFO] [stderr]    Compiling socket2 v0.6.5
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling cc v1.11.3
[INFO] [stderr]    Compiling rustversion v1.0.23
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling openssl v0.10.82
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling utf8_iter v1.1.0
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling bitflags v2.13.2
[INFO] [stderr]    Compiling hashbrown v0.17.2
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling futures-task v0.3.34
[INFO] [stderr]    Compiling futures-io v0.3.34
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling smallvec v1.16.6
[INFO] [stderr]    Compiling equivalent v1.0.3
[INFO] [stderr]    Compiling tokio v1.54.1
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling futures-sink v0.3.34
[INFO] [stderr]    Compiling zmij v1.0.23
[INFO] [stderr]    Compiling log v0.4.35
[INFO] [stderr]    Compiling openssl-probe v0.2.2
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling futures-util v0.3.34
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling want v0.3.2
[INFO] [stderr]    Compiling aho-corasick v1.1.5
[INFO] [stderr]    Compiling futures-channel v0.3.34
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling encoding_rs v0.8.44
[INFO] [stderr]    Compiling form_urlencoded v1.2.3
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling indexmap v2.14.2
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling serde_json v1.0.154
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling simdutf8 v0.1.5
[INFO] [stderr]    Compiling multiversion_no_op v1.0.0
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling core_detect v1.0.0
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling mime v0.3.18
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling ipnet v2.12.2
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling openssl-sys v0.9.118
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling regex-automata v0.4.19
[INFO] [stderr]    Compiling synstructure v0.14.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.7
[INFO] [stderr]    Compiling zerofrom-derive v0.1.8
[INFO] [stderr]    Compiling yoke-derive v0.8.4
[INFO] [stderr]    Compiling displaydoc v0.2.7
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling yoke v0.8.4
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling zerovec v0.11.9
[INFO] [stderr]    Compiling zerotrie v0.2.5
[INFO] [stderr]    Compiling tinystr v0.8.5
[INFO] [stderr]    Compiling potential_utf v0.1.6
[INFO] [stderr]    Compiling icu_collections v2.4.0
[INFO] [stderr]    Compiling icu_locale_core v2.4.0
[INFO] [stderr]    Compiling regex v1.13.2
[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]    Compiling tokio-util v0.7.20
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling icu_provider v2.4.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling icu_properties v2.4.0
[INFO] [stderr]    Compiling icu_normalizer v2.4.0
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.9
[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 22s
[INFO] running `"docker" "inspect" "52d5ba7f767b73e773d40ddb1c3bb378e4dfa8bc23e3c8b6245e376fe2851d68"`
[INFO] running `"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" "52d5ba7f767b73e773d40ddb1c3bb378e4dfa8bc23e3c8b6245e376fe2851d68" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[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.17s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/rastapi/a9d89448de046928/out/rastapi-a9d89448de046928)
[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::json_header_path_params_test ... ok
[INFO] [stdout] test apitest::file_download_test ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- apitest::file_upload_test stdout ----
[INFO] [stdout] [1;34m[INFO][0m [2026-11-24 04:46:35] SERVER STARTED
[INFO] [stdout] [1;34m[INFO][0m [2026-11-24 04:46:35] Listening to 127.0.0.1:5000
[INFO] [stdout] [1;34m[INFO][0m [2026-11-24 04:46:35] Press CTRL + C to stop the server.
[INFO] [stdout] [1;34m[INFO][0m [2026-11-24 04:46:35] Process PID : 2311
[INFO] [stdout] [1;31m[ERROR][0m [2026-11-24 04:46:35] [src/Request/mod.rs:272] :
[INFO] [stdout] Message : Read-only file system (os error 30)
[INFO] [stdout] 
[INFO] [stdout] thread 'apitest::file_upload_test' (2313) 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:     0x5fe6bbeefd61 - <<std[218a0f7bb9a8af32]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5fe6bbf0735a - core[5c14b8d5a259cc4e]::fmt::write
[INFO] [stdout]    2:     0x5fe6bbef4b6c - <alloc[f65cf102c2e86268]::vec::Vec<u8> as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x5fe6bbec98f6 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5fe6bbee6b29 - std[218a0f7bb9a8af32]::panicking::default_hook
[INFO] [stdout]    5:     0x5fe6bbc6b040 - test[2df5162924bba3e2]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x5fe6bbee6e52 - std[218a0f7bb9a8af32]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5fe6bbec99a2 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5fe6bbec1bb9 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace::<std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5fe6bbeca79d - __rustc[abc93889656912e2]::rust_begin_unwind
[INFO] [stdout]   10:     0x5fe6bbf0815c - core[5c14b8d5a259cc4e]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5fe6bbc4b521 - <rastapi[596eae75db41b132]::apitest::file_upload_test::{closure#0} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   12:     0x5fe6bbc5deab - test[2df5162924bba3e2]::__rust_begin_short_backtrace::<core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>>
[INFO] [stdout]   13:     0x5fe6bbc6b665 - test[2df5162924bba3e2]::run_test::{closure#0}
[INFO] [stdout]   14:     0x5fe6bbc64ab4 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace::<test[2df5162924bba3e2]::run_test::{closure#1}, ()>
[INFO] [stdout]   15:     0x5fe6bbc6e5f2 - <std[218a0f7bb9a8af32]::thread::lifecycle::spawn_unchecked<test[2df5162924bba3e2]::run_test::{closure#1}, ()>::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   16:     0x5fe6bbeee55f - <std[218a0f7bb9a8af32]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   17:     0x783194892dfa - <unknown>
[INFO] [stdout]   18:     0x7831949263d4 - 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.12s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `"docker" "inspect" "52d5ba7f767b73e773d40ddb1c3bb378e4dfa8bc23e3c8b6245e376fe2851d68"`
[INFO] running `"docker" "rm" "-f" "52d5ba7f767b73e773d40ddb1c3bb378e4dfa8bc23e3c8b6245e376fe2851d68"`
[INFO] [stdout] 52d5ba7f767b73e773d40ddb1c3bb378e4dfa8bc23e3c8b6245e376fe2851d68
