[INFO] fetching crate senpy-ffi 0.1.3... [INFO] testing senpy-ffi-0.1.3 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate senpy-ffi 0.1.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate senpy-ffi 0.1.3 [INFO] finished tweaking crates.io crate senpy-ffi 0.1.3 [INFO] tweaked toml for crates.io crate senpy-ffi 0.1.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate senpy-ffi 0.1.3 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "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" "+beta-2025-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 159 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08366b6570a27ba420baef5a86fd0af88f460220ecf03af4942dc315399154ef [INFO] running `Command { std: "docker" "start" "-a" "08366b6570a27ba420baef5a86fd0af88f460220ecf03af4942dc315399154ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08366b6570a27ba420baef5a86fd0af88f460220ecf03af4942dc315399154ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08366b6570a27ba420baef5a86fd0af88f460220ecf03af4942dc315399154ef", kill_on_drop: false }` [INFO] [stdout] 08366b6570a27ba420baef5a86fd0af88f460220ecf03af4942dc315399154ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8ac6dca49e33884b41c50b392b429b050af08e09228e75cd464c251573c7e1d [INFO] running `Command { std: "docker" "start" "-a" "c8ac6dca49e33884b41c50b392b429b050af08e09228e75cd464c251573c7e1d", kill_on_drop: false }` [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling senpy v0.1.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling senpy-ffi v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec<*mut i8>` will be dropped [INFO] [stdout] --> src/lib.rs:122:60 [INFO] [stdout] | [INFO] [stdout] 122 | Err(_) => vec![CString::new("-1").unwrap().into_raw()].as_mut_ptr(), [INFO] [stdout] | -------------------------------------------- ^^^^^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `Vec<*mut i8>` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_mut_ptr` the `Vec<*mut i8>` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `Vec<*mut i8>` to lives at least as long as the pointer returned by the call to `as_mut_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `Vec<*mut i8>` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | warnings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec<*mut i8>` will be dropped [INFO] [stdout] --> src/lib.rs:150:60 [INFO] [stdout] | [INFO] [stdout] 150 | Err(_) => vec![CString::new("-1").unwrap().into_raw()].as_mut_ptr(), [INFO] [stdout] | -------------------------------------------- ^^^^^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `Vec<*mut i8>` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_mut_ptr` the `Vec<*mut i8>` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `Vec<*mut i8>` to lives at least as long as the pointer returned by the call to `as_mut_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `Vec<*mut i8>` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.48s [INFO] running `Command { std: "docker" "inspect" "c8ac6dca49e33884b41c50b392b429b050af08e09228e75cd464c251573c7e1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8ac6dca49e33884b41c50b392b429b050af08e09228e75cd464c251573c7e1d", kill_on_drop: false }` [INFO] [stdout] c8ac6dca49e33884b41c50b392b429b050af08e09228e75cd464c251573c7e1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf28ad11cd46287caab08d85a344125d5ff66900fef802cde869c0bf0dfbd265 [INFO] running `Command { std: "docker" "start" "-a" "cf28ad11cd46287caab08d85a344125d5ff66900fef802cde869c0bf0dfbd265", kill_on_drop: false }` [INFO] [stderr] Compiling senpy-ffi v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec<*mut i8>` will be dropped [INFO] [stdout] --> src/lib.rs:122:60 [INFO] [stdout] | [INFO] [stdout] 122 | Err(_) => vec![CString::new("-1").unwrap().into_raw()].as_mut_ptr(), [INFO] [stdout] | -------------------------------------------- ^^^^^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `Vec<*mut i8>` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_mut_ptr` the `Vec<*mut i8>` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `Vec<*mut i8>` to lives at least as long as the pointer returned by the call to `as_mut_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `Vec<*mut i8>` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | warnings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `Vec<*mut i8>` will be dropped [INFO] [stdout] --> src/lib.rs:150:60 [INFO] [stdout] | [INFO] [stdout] 150 | Err(_) => vec![CString::new("-1").unwrap().into_raw()].as_mut_ptr(), [INFO] [stdout] | -------------------------------------------- ^^^^^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `Vec<*mut i8>` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_mut_ptr` the `Vec<*mut i8>` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `Vec<*mut i8>` to lives at least as long as the pointer returned by the call to `as_mut_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `Vec<*mut i8>` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "cf28ad11cd46287caab08d85a344125d5ff66900fef802cde869c0bf0dfbd265", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf28ad11cd46287caab08d85a344125d5ff66900fef802cde869c0bf0dfbd265", kill_on_drop: false }` [INFO] [stdout] cf28ad11cd46287caab08d85a344125d5ff66900fef802cde869c0bf0dfbd265 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b61c665e5eff697252600d684c8fa7f2e41ff73c3c07c7ef62c5f526439f618c [INFO] running `Command { std: "docker" "start" "-a" "b61c665e5eff697252600d684c8fa7f2e41ff73c3c07c7ef62c5f526439f618c", kill_on_drop: false }` [INFO] [stderr] warning: a dangling pointer will be produced because the temporary `Vec<*mut i8>` will be dropped [INFO] [stderr] --> src/lib.rs:122:60 [INFO] [stderr] | [INFO] [stderr] 122 | Err(_) => vec![CString::new("-1").unwrap().into_raw()].as_mut_ptr(), [INFO] [stderr] | -------------------------------------------- ^^^^^^^^^^ this pointer will immediately be invalid [INFO] [stderr] | | [INFO] [stderr] | this `Vec<*mut i8>` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_mut_ptr` the `Vec<*mut i8>` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: you must make sure that the variable you bind the `Vec<*mut i8>` to lives at least as long as the pointer returned by the call to `as_mut_ptr` [INFO] [stderr] = help: in particular, if this pointer is returned from the current function, binding the `Vec<*mut i8>` inside the function will not suffice [INFO] [stderr] = help: for more information, see [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:22:3 [INFO] [stderr] | [INFO] [stderr] 22 | warnings, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(dangling_pointers_from_temporaries)]` implied by `#[warn(warnings)]` [INFO] [stderr] [INFO] [stderr] warning: a dangling pointer will be produced because the temporary `Vec<*mut i8>` will be dropped [INFO] [stderr] --> src/lib.rs:150:60 [INFO] [stderr] | [INFO] [stderr] 150 | Err(_) => vec![CString::new("-1").unwrap().into_raw()].as_mut_ptr(), [INFO] [stderr] | -------------------------------------------- ^^^^^^^^^^ this pointer will immediately be invalid [INFO] [stderr] | | [INFO] [stderr] | this `Vec<*mut i8>` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_mut_ptr` the `Vec<*mut i8>` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: you must make sure that the variable you bind the `Vec<*mut i8>` to lives at least as long as the pointer returned by the call to `as_mut_ptr` [INFO] [stderr] = help: in particular, if this pointer is returned from the current function, binding the `Vec<*mut i8>` inside the function will not suffice [INFO] [stderr] = help: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `senpy-ffi` (lib test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/senpy_ffi-b678db031cfee000) [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" "b61c665e5eff697252600d684c8fa7f2e41ff73c3c07c7ef62c5f526439f618c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b61c665e5eff697252600d684c8fa7f2e41ff73c3c07c7ef62c5f526439f618c", kill_on_drop: false }` [INFO] [stdout] b61c665e5eff697252600d684c8fa7f2e41ff73c3c07c7ef62c5f526439f618c