[INFO] fetching crate riwaq 0.1.0... [INFO] testing riwaq-0.1.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate riwaq 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate riwaq 0.1.0 [INFO] finished tweaking crates.io crate riwaq 0.1.0 [INFO] tweaked toml for crates.io crate riwaq 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate riwaq 0.1.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 48 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-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e97939ac021f5ad7b0a34abbd5c39e744f3c4fad3265343d3e02b5e258e08181 [INFO] running `Command { std: "docker" "start" "-a" "e97939ac021f5ad7b0a34abbd5c39e744f3c4fad3265343d3e02b5e258e08181", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e97939ac021f5ad7b0a34abbd5c39e744f3c4fad3265343d3e02b5e258e08181", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e97939ac021f5ad7b0a34abbd5c39e744f3c4fad3265343d3e02b5e258e08181", kill_on_drop: false }` [INFO] [stdout] e97939ac021f5ad7b0a34abbd5c39e744f3c4fad3265343d3e02b5e258e08181 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc6406cde7c952882bd1a3f6fe92b3bb581f6d405c464a928e1aa78e007cd629 [INFO] running `Command { std: "docker" "start" "-a" "dc6406cde7c952882bd1a3f6fe92b3bb581f6d405c464a928e1aa78e007cd629", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling field_types v1.1.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling riwaq-types v0.1.0 [INFO] [stderr] Compiling riwaq-macro v0.1.0 [INFO] [stderr] Compiling riwaq v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `std::string::String` will be dropped [INFO] [stdout] --> src/sql.rs:26:77 [INFO] [stdout] | [INFO] [stdout] 26 | let req_ptr = format!("{}\0", serde_json::to_string(&cmd).unwrap()).as_ptr(); [INFO] [stdout] | ----------------------------------------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `std::string::String` 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_ptr` the `std::string::String` 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 `std::string::String` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `std::string::String` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `std::string::String` will be dropped [INFO] [stdout] --> src/sql.rs:45:77 [INFO] [stdout] | [INFO] [stdout] 45 | let req_ptr = format!("{}\0", serde_json::to_string(&cmd).unwrap()).as_ptr(); [INFO] [stdout] | ----------------------------------------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `std::string::String` 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_ptr` the `std::string::String` 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 `std::string::String` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `std::string::String` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `std::string::String` will be dropped [INFO] [stdout] --> src/sql.rs:65:44 [INFO] [stdout] | [INFO] [stdout] 65 | let req_ptr = format!("{}\0", sql).as_ptr(); [INFO] [stdout] | -------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `std::string::String` 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_ptr` the `std::string::String` 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 `std::string::String` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `std::string::String` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `std::string::String` will be dropped [INFO] [stdout] --> src/sql.rs:84:44 [INFO] [stdout] | [INFO] [stdout] 84 | let req_ptr = format!("{}\0", sql).as_ptr(); [INFO] [stdout] | -------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `std::string::String` 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_ptr` the `std::string::String` 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 `std::string::String` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `std::string::String` 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 10.38s [INFO] running `Command { std: "docker" "inspect" "dc6406cde7c952882bd1a3f6fe92b3bb581f6d405c464a928e1aa78e007cd629", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc6406cde7c952882bd1a3f6fe92b3bb581f6d405c464a928e1aa78e007cd629", kill_on_drop: false }` [INFO] [stdout] dc6406cde7c952882bd1a3f6fe92b3bb581f6d405c464a928e1aa78e007cd629 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b02d79c8aefab4c3b1aac029ce15ad24cefa2768735f6df4c6e7d6ce1835e9ad [INFO] running `Command { std: "docker" "start" "-a" "b02d79c8aefab4c3b1aac029ce15ad24cefa2768735f6df4c6e7d6ce1835e9ad", kill_on_drop: false }` [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `std::string::String` will be dropped [INFO] [stdout] --> src/sql.rs:26:77 [INFO] [stdout] | [INFO] [stdout] 26 | let req_ptr = format!("{}\0", serde_json::to_string(&cmd).unwrap()).as_ptr(); [INFO] [stdout] | ----------------------------------------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `std::string::String` 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_ptr` the `std::string::String` 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 `std::string::String` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `std::string::String` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `std::string::String` will be dropped [INFO] [stdout] --> src/sql.rs:45:77 [INFO] [stdout] | [INFO] [stdout] 45 | let req_ptr = format!("{}\0", serde_json::to_string(&cmd).unwrap()).as_ptr(); [INFO] [stdout] | ----------------------------------------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `std::string::String` 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_ptr` the `std::string::String` 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 `std::string::String` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `std::string::String` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `std::string::String` will be dropped [INFO] [stdout] --> src/sql.rs:65:44 [INFO] [stdout] | [INFO] [stdout] 65 | let req_ptr = format!("{}\0", sql).as_ptr(); [INFO] [stdout] | -------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `std::string::String` 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_ptr` the `std::string::String` 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 `std::string::String` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `std::string::String` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `std::string::String` will be dropped [INFO] [stdout] --> src/sql.rs:84:44 [INFO] [stdout] | [INFO] [stdout] 84 | let req_ptr = format!("{}\0", sql).as_ptr(); [INFO] [stdout] | -------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `std::string::String` 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_ptr` the `std::string::String` 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 `std::string::String` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `std::string::String` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling riwaq v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `std::string::String` will be dropped [INFO] [stdout] --> src/sql.rs:26:77 [INFO] [stdout] | [INFO] [stdout] 26 | let req_ptr = format!("{}\0", serde_json::to_string(&cmd).unwrap()).as_ptr(); [INFO] [stdout] | ----------------------------------------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `std::string::String` 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_ptr` the `std::string::String` 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 `std::string::String` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `std::string::String` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `std::string::String` will be dropped [INFO] [stdout] --> src/sql.rs:45:77 [INFO] [stdout] | [INFO] [stdout] 45 | let req_ptr = format!("{}\0", serde_json::to_string(&cmd).unwrap()).as_ptr(); [INFO] [stdout] | ----------------------------------------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `std::string::String` 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_ptr` the `std::string::String` 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 `std::string::String` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `std::string::String` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `std::string::String` will be dropped [INFO] [stdout] --> src/sql.rs:65:44 [INFO] [stdout] | [INFO] [stdout] 65 | let req_ptr = format!("{}\0", sql).as_ptr(); [INFO] [stdout] | -------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `std::string::String` 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_ptr` the `std::string::String` 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 `std::string::String` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `std::string::String` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `std::string::String` will be dropped [INFO] [stdout] --> src/sql.rs:84:44 [INFO] [stdout] | [INFO] [stdout] 84 | let req_ptr = format!("{}\0", sql).as_ptr(); [INFO] [stdout] | -------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `std::string::String` 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_ptr` the `std::string::String` 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 `std::string::String` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `std::string::String` 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.28s [INFO] running `Command { std: "docker" "inspect" "b02d79c8aefab4c3b1aac029ce15ad24cefa2768735f6df4c6e7d6ce1835e9ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b02d79c8aefab4c3b1aac029ce15ad24cefa2768735f6df4c6e7d6ce1835e9ad", kill_on_drop: false }` [INFO] [stdout] b02d79c8aefab4c3b1aac029ce15ad24cefa2768735f6df4c6e7d6ce1835e9ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 39e5ccaf20b0469a7fd89f684e6e929190ed9c6abbcaac85ca95c70e61d2719c [INFO] running `Command { std: "docker" "start" "-a" "39e5ccaf20b0469a7fd89f684e6e929190ed9c6abbcaac85ca95c70e61d2719c", kill_on_drop: false }` [INFO] [stderr] warning: a dangling pointer will be produced because the temporary `std::string::String` will be dropped [INFO] [stderr] --> src/sql.rs:26:77 [INFO] [stderr] | [INFO] [stderr] 26 | let req_ptr = format!("{}\0", serde_json::to_string(&cmd).unwrap()).as_ptr(); [INFO] [stderr] | ----------------------------------------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stderr] | | [INFO] [stderr] | this `std::string::String` 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_ptr` the `std::string::String` 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 `std::string::String` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stderr] = help: in particular, if this pointer is returned from the current function, binding the `std::string::String` inside the function will not suffice [INFO] [stderr] = help: for more information, see [INFO] [stderr] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stderr] [INFO] [stderr] warning: a dangling pointer will be produced because the temporary `std::string::String` will be dropped [INFO] [stderr] --> src/sql.rs:45:77 [INFO] [stderr] | [INFO] [stderr] 45 | let req_ptr = format!("{}\0", serde_json::to_string(&cmd).unwrap()).as_ptr(); [INFO] [stderr] | ----------------------------------------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stderr] | | [INFO] [stderr] | this `std::string::String` 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_ptr` the `std::string::String` 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 `std::string::String` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stderr] = help: in particular, if this pointer is returned from the current function, binding the `std::string::String` inside the function will not suffice [INFO] [stderr] = help: for more information, see [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: a dangling pointer will be produced because the temporary `std::string::String` will be dropped [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/sql.rs:65:44 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 65 | let req_ptr = format!("{}\0", sql).as_ptr(); [INFO] [stdout] [INFO] [stderr] | -------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stderr] | | [INFO] [stderr] | this `std::string::String` 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_ptr` the `std::string::String` 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 `std::string::String` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stderr] = help: in particular, if this pointer is returned from the current function, binding the `std::string::String` inside the function will not suffice [INFO] [stderr] = help: for more information, see [INFO] [stderr] [INFO] [stderr] warning: a dangling pointer will be produced because the temporary `std::string::String` will be dropped [INFO] [stderr] --> src/sql.rs:84:44 [INFO] [stderr] | [INFO] [stderr] 84 | let req_ptr = format!("{}\0", sql).as_ptr(); [INFO] [stderr] | -------------------- ^^^^^^ this pointer will immediately be invalid [INFO] [stderr] | | [INFO] [stderr] | this `std::string::String` 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_ptr` the `std::string::String` 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 `std::string::String` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stderr] = help: in particular, if this pointer is returned from the current function, binding the `std::string::String` inside the function will not suffice [INFO] [stderr] = help: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `riwaq` (lib) generated 4 warnings [INFO] [stderr] warning: `riwaq` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/riwaq-fa610c43b7e643da) [INFO] [stderr] Doc-tests riwaq [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" "39e5ccaf20b0469a7fd89f684e6e929190ed9c6abbcaac85ca95c70e61d2719c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39e5ccaf20b0469a7fd89f684e6e929190ed9c6abbcaac85ca95c70e61d2719c", kill_on_drop: false }` [INFO] [stdout] 39e5ccaf20b0469a7fd89f684e6e929190ed9c6abbcaac85ca95c70e61d2719c