[INFO] fetching crate rvs-c-api 0.4.1... [INFO] testing rvs-c-api-0.4.1 against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] extracting crate rvs-c-api 0.4.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate rvs-c-api 0.4.1 on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate rvs-c-api 0.4.1 [INFO] finished tweaking crates.io crate rvs-c-api 0.4.1 [INFO] tweaked toml for crates.io crate rvs-c-api 0.4.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8948969bc5221afc8278f2a31ea8fbb21a0c58f9c0f1cb28d806c679c59f2068 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8948969bc5221afc8278f2a31ea8fbb21a0c58f9c0f1cb28d806c679c59f2068", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8948969bc5221afc8278f2a31ea8fbb21a0c58f9c0f1cb28d806c679c59f2068", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8948969bc5221afc8278f2a31ea8fbb21a0c58f9c0f1cb28d806c679c59f2068", kill_on_drop: false }` [INFO] [stdout] 8948969bc5221afc8278f2a31ea8fbb21a0c58f9c0f1cb28d806c679c59f2068 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=forbid" "-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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1b4a6847777f49f54d5bce213253027ac39d646b598fd63a27d83890473dfa7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b1b4a6847777f49f54d5bce213253027ac39d646b598fd63a27d83890473dfa7", kill_on_drop: false }` [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling peg v0.5.7 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rvs-parser v0.4.0 [INFO] [stderr] Compiling rvs v0.4.1 [INFO] [stderr] Compiling rvs-c-api v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::panic::catch_unwind` [INFO] [stdout] --> src/rvsc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::panic::catch_unwind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/rvsc.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use libc::uint32_t; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/rvsc.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | type SequenceHandleRaw = uint32_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/rvsc.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | SequenceHandle((index + 1) as uint32_t) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.31s [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b1b4a6847777f49f54d5bce213253027ac39d646b598fd63a27d83890473dfa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1b4a6847777f49f54d5bce213253027ac39d646b598fd63a27d83890473dfa7", kill_on_drop: false }` [INFO] [stdout] b1b4a6847777f49f54d5bce213253027ac39d646b598fd63a27d83890473dfa7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=forbid" "-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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3a0b395a6d854a2f75b03d092a7bddd503de384c4a155a4743f199f760af824a [INFO] running `Command { std: "docker" "start" "-a" "3a0b395a6d854a2f75b03d092a7bddd503de384c4a155a4743f199f760af824a", kill_on_drop: false }` [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling rvs-c-api v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::panic::catch_unwind` [INFO] [stdout] --> src/rvsc.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::panic::catch_unwind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/rvsc.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use libc::uint32_t; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/rvsc.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | type SequenceHandleRaw = uint32_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/rvsc.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | SequenceHandle((index + 1) as uint32_t) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/mod.rs:29:61 [INFO] [stdout] | [INFO] [stdout] 29 | let handle = rvs_get(model, CString::new(name).unwrap().as_ptr()); [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_context_new.rs:7:70 [INFO] [stdout] | [INFO] [stdout] 7 | let context = rvs_context_new(CString::new(search_path).unwrap().as_ptr(), 0, error); [INFO] [stdout] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_seed.rs:5:61 [INFO] [stdout] | [INFO] [stdout] 5 | let context = rvs_context_new(CString::new("").unwrap().as_ptr(), seed, error); [INFO] [stdout] | ------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_seed.rs:9:49 [INFO] [stdout] | [INFO] [stdout] 9 | rvs_parse(context, CString::new(s).unwrap().as_ptr(), error); [INFO] [stdout] | ------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_seed.rs:16:60 [INFO] [stdout] | [INFO] [stdout] 16 | let handle = rvs_get(model, CString::new("a").unwrap().as_ptr()); [INFO] [stdout] | -------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_parse.rs:9:70 [INFO] [stdout] | [INFO] [stdout] 9 | let context = rvs_context_new(CString::new(search_path).unwrap().as_ptr(), 0, error); [INFO] [stdout] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_parse.rs:14:49 [INFO] [stdout] | [INFO] [stdout] 14 | CString::new("import import;").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_parse.rs:33:61 [INFO] [stdout] | [INFO] [stdout] 33 | let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error); [INFO] [stdout] | ------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_parse.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 36 | rvs_parse(context, CString::new("a=5;").unwrap().as_ptr(), error); [INFO] [stdout] | ----------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_parse.rs:43:60 [INFO] [stdout] | [INFO] [stdout] 43 | let handle = rvs_get(model, CString::new("a").unwrap().as_ptr()); [INFO] [stdout] | -------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_parse.rs:56:61 [INFO] [stdout] | [INFO] [stdout] 56 | let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error); [INFO] [stdout] | ------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_parse.rs:59:58 [INFO] [stdout] | [INFO] [stdout] 59 | rvs_parse(context, CString::new("a=[0,1];").unwrap().as_ptr(), error); [INFO] [stdout] | --------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_parse.rs:66:60 [INFO] [stdout] | [INFO] [stdout] 66 | let handle = rvs_get(model, CString::new("a").unwrap().as_ptr()); [INFO] [stdout] | -------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_parse.rs:79:61 [INFO] [stdout] | [INFO] [stdout] 79 | let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error); [INFO] [stdout] | ------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_parse.rs:84:49 [INFO] [stdout] | [INFO] [stdout] 84 | CString::new("a = 1;\n1 = b;").unwrap().as_ptr(), [INFO] [stdout] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_parse.rs:100:70 [INFO] [stdout] | [INFO] [stdout] 100 | let context = rvs_context_new(CString::new(search_path).unwrap().as_ptr(), 0, error); [INFO] [stdout] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_parse.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 105 | / CString::new("../examples/basic.rvs;b = 3") [INFO] [stdout] 106 | | .unwrap() [INFO] [stdout] | |_____________________- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] 107 | .as_ptr(), [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_parse.rs:116:60 [INFO] [stdout] | [INFO] [stdout] 116 | let handle = rvs_get(model, CString::new("a").unwrap().as_ptr()); [INFO] [stdout] | -------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_parse.rs:122:60 [INFO] [stdout] | [INFO] [stdout] 122 | let handle = rvs_get(model, CString::new("b").unwrap().as_ptr()); [INFO] [stdout] | -------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_parse.rs:135:61 [INFO] [stdout] | [INFO] [stdout] 135 | let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error); [INFO] [stdout] | ------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_parse.rs:140:46 [INFO] [stdout] | [INFO] [stdout] 140 | CString::new("a = 0;a = 1").unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_parse.rs:145:55 [INFO] [stdout] | [INFO] [stdout] 145 | rvs_parse(context, CString::new("a = 2").unwrap().as_ptr(), error); [INFO] [stdout] | ------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_parse.rs:152:60 [INFO] [stdout] | [INFO] [stdout] 152 | let handle = rvs_get(model, CString::new("a").unwrap().as_ptr()); [INFO] [stdout] | -------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_get.rs:6:61 [INFO] [stdout] | [INFO] [stdout] 6 | let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error); [INFO] [stdout] | ------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_get.rs:13:60 [INFO] [stdout] | [INFO] [stdout] 13 | let handle = rvs_get(model, CString::new("a").unwrap().as_ptr()); [INFO] [stdout] | -------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_get.rs:22:61 [INFO] [stdout] | [INFO] [stdout] 22 | let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error); [INFO] [stdout] | ------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_get.rs:25:54 [INFO] [stdout] | [INFO] [stdout] 25 | rvs_parse(context, CString::new("a=5;").unwrap().as_ptr(), error); [INFO] [stdout] | ----------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_get.rs:32:60 [INFO] [stdout] | [INFO] [stdout] 32 | let handle = rvs_get(model, CString::new("a").unwrap().as_ptr()); [INFO] [stdout] | -------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_next.rs:6:61 [INFO] [stdout] | [INFO] [stdout] 6 | let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error); [INFO] [stdout] | ------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_next.rs:9:54 [INFO] [stdout] | [INFO] [stdout] 9 | rvs_parse(context, CString::new("a=5;").unwrap().as_ptr(), error); [INFO] [stdout] | ----------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_next.rs:16:60 [INFO] [stdout] | [INFO] [stdout] 16 | let handle = rvs_get(model, CString::new("a").unwrap().as_ptr()); [INFO] [stdout] | -------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_next.rs:33:61 [INFO] [stdout] | [INFO] [stdout] 33 | let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error); [INFO] [stdout] | ------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_next.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 36 | rvs_parse(context, CString::new("a=5;").unwrap().as_ptr(), error); [INFO] [stdout] | ----------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_write_definitions.rs:30:70 [INFO] [stdout] | [INFO] [stdout] 30 | let context = rvs_context_new(CString::new(search_path).unwrap().as_ptr(), 0, error); [INFO] [stdout] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_write_definitions.rs:36:56 [INFO] [stdout] | [INFO] [stdout] 36 | CString::new(input.to_str().unwrap()).unwrap().as_ptr(), [INFO] [stdout] | ---------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/tests/rvs_write_definitions.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 50 | / CString::new(output.to_string_lossy().as_bytes()) [INFO] [stdout] 51 | | .unwrap() [INFO] [stdout] | |_____________________- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] 52 | .as_ptr(), [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.08s [INFO] running `Command { std: "docker" "inspect" "3a0b395a6d854a2f75b03d092a7bddd503de384c4a155a4743f199f760af824a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a0b395a6d854a2f75b03d092a7bddd503de384c4a155a4743f199f760af824a", kill_on_drop: false }` [INFO] [stdout] 3a0b395a6d854a2f75b03d092a7bddd503de384c4a155a4743f199f760af824a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=forbid" "-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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6f0c41684f360e7bc03b44b3c5b0ca75223dade020be7e801788ab53e476955d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6f0c41684f360e7bc03b44b3c5b0ca75223dade020be7e801788ab53e476955d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::panic::catch_unwind` [INFO] [stderr] --> src/rvsc.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::panic::catch_unwind; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stderr] --> src/rvsc.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use libc::uint32_t; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stderr] --> src/rvsc.rs:21:26 [INFO] [stderr] | [INFO] [stderr] 21 | type SequenceHandleRaw = uint32_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stderr] --> src/rvsc.rs:38:39 [INFO] [stderr] | [INFO] [stderr] 38 | SequenceHandle((index + 1) as uint32_t) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/mod.rs:29:61 [INFO] [stderr] | [INFO] [stderr] 29 | let handle = rvs_get(model, CString::new(name).unwrap().as_ptr()); [INFO] [stderr] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_context_new.rs:7:70 [INFO] [stderr] | [INFO] [stderr] 7 | let context = rvs_context_new(CString::new(search_path).unwrap().as_ptr(), 0, error); [INFO] [stderr] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_seed.rs:5:61 [INFO] [stderr] | [INFO] [stderr] 5 | let context = rvs_context_new(CString::new("").unwrap().as_ptr(), seed, error); [INFO] [stderr] | ------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_seed.rs:9:49 [INFO] [stderr] | [INFO] [stderr] 9 | rvs_parse(context, CString::new(s).unwrap().as_ptr(), error); [INFO] [stderr] | ------------------------ ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_seed.rs:16:60 [INFO] [stderr] | [INFO] [stderr] 16 | let handle = rvs_get(model, CString::new("a").unwrap().as_ptr()); [INFO] [stderr] | -------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_parse.rs:9:70 [INFO] [stderr] | [INFO] [stderr] 9 | let context = rvs_context_new(CString::new(search_path).unwrap().as_ptr(), 0, error); [INFO] [stderr] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_parse.rs:14:49 [INFO] [stderr] | [INFO] [stderr] 14 | CString::new("import import;").unwrap().as_ptr(), [INFO] [stderr] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_parse.rs:33:61 [INFO] [stderr] | [INFO] [stderr] 33 | let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error); [INFO] [stderr] | ------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_parse.rs:36:54 [INFO] [stderr] | [INFO] [stderr] 36 | rvs_parse(context, CString::new("a=5;").unwrap().as_ptr(), error); [INFO] [stderr] | ----------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_parse.rs:43:60 [INFO] [stderr] | [INFO] [stderr] 43 | let handle = rvs_get(model, CString::new("a").unwrap().as_ptr()); [INFO] [stderr] | -------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_parse.rs:56:61 [INFO] [stderr] | [INFO] [stderr] 56 | let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error); [INFO] [stderr] | ------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_parse.rs:59:58 [INFO] [stderr] | [INFO] [stderr] 59 | rvs_parse(context, CString::new("a=[0,1];").unwrap().as_ptr(), error); [INFO] [stderr] | --------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_parse.rs:66:60 [INFO] [stderr] | [INFO] [stderr] 66 | let handle = rvs_get(model, CString::new("a").unwrap().as_ptr()); [INFO] [stderr] | -------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_parse.rs:79:61 [INFO] [stderr] | [INFO] [stderr] 79 | let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error); [INFO] [stderr] | ------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_parse.rs:84:49 [INFO] [stderr] | [INFO] [stderr] 84 | CString::new("a = 1;\n1 = b;").unwrap().as_ptr(), [INFO] [stderr] | --------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_parse.rs:100:70 [INFO] [stderr] | [INFO] [stderr] 100 | let context = rvs_context_new(CString::new(search_path).unwrap().as_ptr(), 0, error); [INFO] [stderr] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_parse.rs:107:14 [INFO] [stderr] | [INFO] [stderr] 105 | / CString::new("../examples/basic.rvs;b = 3") [INFO] [stderr] 106 | | .unwrap() [INFO] [stderr] | |_____________________- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] 107 | .as_ptr(), [INFO] [stderr] | ^^^^^^ this pointer will be invalid [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_parse.rs:116:60 [INFO] [stderr] | [INFO] [stderr] 116 | let handle = rvs_get(model, CString::new("a").unwrap().as_ptr()); [INFO] [stderr] | -------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_parse.rs:122:60 [INFO] [stderr] | [INFO] [stderr] 122 | let handle = rvs_get(model, CString::new("b").unwrap().as_ptr()); [INFO] [stderr] | -------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_parse.rs:135:61 [INFO] [stderr] | [INFO] [stderr] 135 | let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error); [INFO] [stderr] | ------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_parse.rs:140:46 [INFO] [stderr] | [INFO] [stderr] 140 | CString::new("a = 0;a = 1").unwrap().as_ptr(), [INFO] [stderr] | ------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_parse.rs:145:55 [INFO] [stderr] | [INFO] [stderr] 145 | rvs_parse(context, CString::new("a = 2").unwrap().as_ptr(), error); [INFO] [stderr] | ------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_parse.rs:152:60 [INFO] [stderr] | [INFO] [stderr] 152 | let handle = rvs_get(model, CString::new("a").unwrap().as_ptr()); [INFO] [stderr] | -------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_get.rs:6:61 [INFO] [stderr] | [INFO] [stderr] 6 | let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error); [INFO] [stderr] | ------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_get.rs:13:60 [INFO] [stderr] | [INFO] [stderr] 13 | let handle = rvs_get(model, CString::new("a").unwrap().as_ptr()); [INFO] [stderr] | -------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_get.rs:22:61 [INFO] [stderr] | [INFO] [stderr] 22 | let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error); [INFO] [stderr] | ------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_get.rs:25:54 [INFO] [stderr] | [INFO] [stderr] 25 | rvs_parse(context, CString::new("a=5;").unwrap().as_ptr(), error); [INFO] [stderr] | ----------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_get.rs:32:60 [INFO] [stderr] | [INFO] [stderr] 32 | let handle = rvs_get(model, CString::new("a").unwrap().as_ptr()); [INFO] [stderr] | -------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_next.rs:6:61 [INFO] [stderr] | [INFO] [stderr] 6 | let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error); [INFO] [stderr] | ------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_next.rs:9:54 [INFO] [stderr] | [INFO] [stderr] 9 | rvs_parse(context, CString::new("a=5;").unwrap().as_ptr(), error); [INFO] [stderr] | ----------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_next.rs:16:60 [INFO] [stderr] | [INFO] [stderr] 16 | let handle = rvs_get(model, CString::new("a").unwrap().as_ptr()); [INFO] [stderr] | -------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_next.rs:33:61 [INFO] [stderr] | [INFO] [stderr] 33 | let context = rvs_context_new(CString::new("").unwrap().as_ptr(), 0, error); [INFO] [stderr] | ------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_next.rs:36:54 [INFO] [stderr] | [INFO] [stderr] 36 | rvs_parse(context, CString::new("a=5;").unwrap().as_ptr(), error); [INFO] [stderr] | ----------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_write_definitions.rs:30:70 [INFO] [stderr] | [INFO] [stderr] 30 | let context = rvs_context_new(CString::new(search_path).unwrap().as_ptr(), 0, error); [INFO] [stderr] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_write_definitions.rs:36:56 [INFO] [stderr] | [INFO] [stderr] 36 | CString::new(input.to_str().unwrap()).unwrap().as_ptr(), [INFO] [stderr] | ---------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` 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 `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: getting the inner pointer of a temporary `CString` [INFO] [stderr] --> src/tests/rvs_write_definitions.rs:52:14 [INFO] [stderr] | [INFO] [stderr] 50 | / CString::new(output.to_string_lossy().as_bytes()) [INFO] [stderr] 51 | | .unwrap() [INFO] [stderr] | |_____________________- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] 52 | .as_ptr(), [INFO] [stderr] | ^^^^^^ this pointer will be invalid [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` 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: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stderr] [INFO] [stderr] warning: 40 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rvs-31630b444035e56d [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test tests::rvs_context_new::error ... ok [INFO] [stdout] test tests::rvs_get::found ... ok [INFO] [stdout] test tests::rvs_next::found ... ok [INFO] [stdout] test tests::rvs_next::not_found ... ok [INFO] [stdout] test tests::rvs_parse::basic ... ok [INFO] [stdout] test tests::rvs_parse::range ... ok [INFO] [stdout] test tests::rvs_get::not_found ... ok [INFO] [stdout] test tests::rvs_seed::basic ... ok [INFO] [stdout] test tests::rvs_parse::override_rv ... ok [INFO] [stdout] test tests::rvs_parse::parse_error ... ok [INFO] [stdout] test tests::rvs_parse::import ... FAILED [INFO] [stdout] test tests::rvs_write_definitions::basic ... FAILED [INFO] [stdout] test tests::rvs_parse::file ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::rvs_parse::import stdout ---- [INFO] [stdout] thread 'tests::rvs_parse::import' panicked at 'assertion failed: !rvs_error_test(error)', src/tests/rvs_parse.rs:10:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55829ab6a020 - std::backtrace_rs::backtrace::libunwind::trace::h95fc93571932622e [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55829ab6a020 - std::backtrace_rs::backtrace::trace_unsynchronized::h4d0b90afc33151fd [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55829ab6a020 - std::sys_common::backtrace::_print_fmt::h93d302d001a3bf01 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55829ab6a020 - ::fmt::h7881e3a580134f9a [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55829ab8ec3c - core::fmt::write::h1857a60b204f1b6a [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x55829ab65b52 - std::io::Write::write_fmt::hd17811b9a5dec54b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/io/mod.rs:1519:15 [INFO] [stdout] 6: 0x55829ab6cc05 - std::sys_common::backtrace::_print::h3e3f9fed81bc11e9 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55829ab6cc05 - std::sys_common::backtrace::print::hd22ac23fed5071c8 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55829ab6cc05 - std::panicking::default_hook::{{closure}}::h1647bdcf68060e17 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55829ab6c792 - std::panicking::default_hook::hb08853b392b9404b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55829ab6d3a1 - std::panicking::rust_panic_with_hook::h3624ee29da369ede [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:591:17 [INFO] [stdout] 11: 0x55829ab6ceb7 - std::panicking::begin_panic_handler::{{closure}}::hefcfcedcde6bb6d9 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:495:13 [INFO] [stdout] 12: 0x55829ab6a4dc - std::sys_common::backtrace::__rust_end_short_backtrace::heb130cec93caa706 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55829ab6ce49 - rust_begin_unwind [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:493:5 [INFO] [stdout] 14: 0x55829ab8d591 - core::panicking::panic_fmt::hb15d6f55e8472f62 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55829ab8d4dd - core::panicking::panic::h5d1c61fed2502a5f [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/panicking.rs:50:5 [INFO] [stdout] 16: 0x55829aa74429 - rvs::tests::rvs_parse::import::h7cfd37d04f21303d [INFO] [stdout] at /opt/rustwide/workdir/src/tests/rvs_parse.rs:10:5 [INFO] [stdout] 17: 0x55829aa7419a - rvs::tests::rvs_parse::import::{{closure}}::h87522208ed9cf131 [INFO] [stdout] at /opt/rustwide/workdir/src/tests/rvs_parse.rs:4:1 [INFO] [stdout] 18: 0x55829aa79e8e - core::ops::function::FnOnce::call_once::hf37c68976e252435 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x55829aaa98a3 - core::ops::function::FnOnce::call_once::h72b3efc134abec04 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55829aaa98a3 - test::__rust_begin_short_backtrace::hf76173a3f44f554b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/test/src/lib.rs:516:5 [INFO] [stdout] 21: 0x55829aaa7f98 - as core::ops::function::FnOnce>::call_once::h49f5b686efed1e06 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 22: 0x55829aaa7f98 - as core::ops::function::FnOnce<()>>::call_once::h4879f836ca9aaead [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:322:9 [INFO] [stdout] 23: 0x55829aaa7f98 - std::panicking::try::do_call::h9655796ce3021b6c [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:379:40 [INFO] [stdout] 24: 0x55829aaa7f98 - std::panicking::try::h346508ed448399f4 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:343:19 [INFO] [stdout] 25: 0x55829aaa7f98 - std::panic::catch_unwind::h00e84f4e9c3caaa0 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:396:14 [INFO] [stdout] 26: 0x55829aaa7f98 - test::run_test_in_process::hc80321f825c30106 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/test/src/lib.rs:538:18 [INFO] [stdout] 27: 0x55829aaa7f98 - test::run_test::run_test_inner::{{closure}}::h89c217441620999f [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/test/src/lib.rs:449:39 [INFO] [stdout] 28: 0x55829aa82586 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3852ec0877008db6 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 29: 0x55829aa86d4d - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h7c7dfff4b938ae67 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/thread/mod.rs:474:17 [INFO] [stdout] 30: 0x55829aa86d4d - as core::ops::function::FnOnce<()>>::call_once::h8db0dd15c072a403 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:322:9 [INFO] [stdout] 31: 0x55829aa86d4d - std::panicking::try::do_call::haad8639857ae1187 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:379:40 [INFO] [stdout] 32: 0x55829aa86d4d - std::panicking::try::h61de115e9dce60f6 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:343:19 [INFO] [stdout] 33: 0x55829aa86d4d - std::panic::catch_unwind::h50601fd82666a838 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:396:14 [INFO] [stdout] 34: 0x55829aa86d4d - std::thread::Builder::spawn_unchecked::{{closure}}::hac267391ef9d21bd [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/thread/mod.rs:473:30 [INFO] [stdout] 35: 0x55829aa86d4d - core::ops::function::FnOnce::call_once{{vtable.shim}}::heb15d2d9c42706b7 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 36: 0x55829ab735ca - as core::ops::function::FnOnce>::call_once::h5446ed3fdb82006e [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 37: 0x55829ab735ca - as core::ops::function::FnOnce>::call_once::h62a21a889329a3f2 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 38: 0x55829ab735ca - std::sys::unix::thread::Thread::new::thread_start::h62402416daf174b6 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 39: 0x7f59017e7609 - start_thread [INFO] [stdout] 40: 0x7f59015b9293 - clone [INFO] [stdout] 41: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::rvs_write_definitions::basic stdout ---- [INFO] [stdout] thread 'tests::rvs_write_definitions::basic' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/tests/rvs_write_definitions.rs:74:42 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55829ab6a020 - std::backtrace_rs::backtrace::libunwind::trace::h95fc93571932622e [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55829ab6a020 - std::backtrace_rs::backtrace::trace_unsynchronized::h4d0b90afc33151fd [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55829ab6a020 - std::sys_common::backtrace::_print_fmt::h93d302d001a3bf01 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55829ab6a020 - ::fmt::h7881e3a580134f9a [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55829ab8ec3c - core::fmt::write::h1857a60b204f1b6a [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x55829ab65b52 - std::io::Write::write_fmt::hd17811b9a5dec54b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/io/mod.rs:1519:15 [INFO] [stdout] 6: 0x55829ab6cc05 - std::sys_common::backtrace::_print::h3e3f9fed81bc11e9 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55829ab6cc05 - std::sys_common::backtrace::print::hd22ac23fed5071c8 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55829ab6cc05 - std::panicking::default_hook::{{closure}}::h1647bdcf68060e17 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55829ab6c792 - std::panicking::default_hook::hb08853b392b9404b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55829ab6d3a1 - std::panicking::rust_panic_with_hook::h3624ee29da369ede [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:591:17 [INFO] [stdout] 11: 0x55829ab6cee7 - std::panicking::begin_panic_handler::{{closure}}::hefcfcedcde6bb6d9 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:497:13 [INFO] [stdout] 12: 0x55829ab6a4dc - std::sys_common::backtrace::__rust_end_short_backtrace::heb130cec93caa706 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55829ab6ce49 - rust_begin_unwind [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:493:5 [INFO] [stdout] 14: 0x55829ab8d591 - core::panicking::panic_fmt::hb15d6f55e8472f62 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55829ab8d3b3 - core::option::expect_none_failed::he492a18657d97593 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/option.rs:1268:5 [INFO] [stdout] 16: 0x55829aa80aea - core::result::Result::unwrap::h17a29d16e002687d [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/result.rs:973:23 [INFO] [stdout] 17: 0x55829aa77c7d - rvs::tests::rvs_write_definitions::basic::h6e82a85a158dc762 [INFO] [stdout] at /opt/rustwide/workdir/src/tests/rvs_write_definitions.rs:74:17 [INFO] [stdout] 18: 0x55829aa77bea - rvs::tests::rvs_write_definitions::basic::{{closure}}::h6cbe1b07b9d8a5b4 [INFO] [stdout] at /opt/rustwide/workdir/src/tests/rvs_write_definitions.rs:72:1 [INFO] [stdout] 19: 0x55829aa79d2e - core::ops::function::FnOnce::call_once::hafa7622e2810b15f [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55829aaa98a3 - core::ops::function::FnOnce::call_once::h72b3efc134abec04 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55829aaa98a3 - test::__rust_begin_short_backtrace::hf76173a3f44f554b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/test/src/lib.rs:516:5 [INFO] [stdout] 22: 0x55829aaa7f98 - as core::ops::function::FnOnce>::call_once::h49f5b686efed1e06 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 23: 0x55829aaa7f98 - as core::ops::function::FnOnce<()>>::call_once::h4879f836ca9aaead [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:322:9 [INFO] [stdout] 24: 0x55829aaa7f98 - std::panicking::try::do_call::h9655796ce3021b6c [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:379:40 [INFO] [stdout] 25: 0x55829aaa7f98 - std::panicking::try::h346508ed448399f4 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:343:19 [INFO] [stdout] 26: 0x55829aaa7f98 - std::panic::catch_unwind::h00e84f4e9c3caaa0 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:396:14 [INFO] [stdout] 27: 0x55829aaa7f98 - test::run_test_in_process::hc80321f825c30106 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/test/src/lib.rs:538:18 [INFO] [stdout] 28: 0x55829aaa7f98 - test::run_test::run_test_inner::{{closure}}::h89c217441620999f [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/test/src/lib.rs:449:39 [INFO] [stdout] 29: 0x55829aa82586 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3852ec0877008db6 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 30: 0x55829aa86d4d - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h7c7dfff4b938ae67 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/thread/mod.rs:474:17 [INFO] [stdout] 31: 0x55829aa86d4d - as core::ops::function::FnOnce<()>>::call_once::h8db0dd15c072a403 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:322:9 [INFO] [stdout] 32: 0x55829aa86d4d - std::panicking::try::do_call::haad8639857ae1187 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:379:40 [INFO] [stdout] 33: 0x55829aa86d4d - std::panicking::try::h61de115e9dce60f6 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:343:19 [INFO] [stdout] 34: 0x55829aa86d4d - std::panic::catch_unwind::h50601fd82666a838 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:396:14 [INFO] [stdout] 35: 0x55829aa86d4d - std::thread::Builder::spawn_unchecked::{{closure}}::hac267391ef9d21bd [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/thread/mod.rs:473:30 [INFO] [stdout] 36: 0x55829aa86d4d - core::ops::function::FnOnce::call_once{{vtable.shim}}::heb15d2d9c42706b7 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 37: 0x55829ab735ca - as core::ops::function::FnOnce>::call_once::h5446ed3fdb82006e [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 38: 0x55829ab735ca - as core::ops::function::FnOnce>::call_once::h62a21a889329a3f2 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 39: 0x55829ab735ca - std::sys::unix::thread::Thread::new::thread_start::h62402416daf174b6 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 40: 0x7f59017e7609 - start_thread [INFO] [stdout] 41: 0x7f59015b9293 - clone [INFO] [stdout] 42: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::rvs_parse::file stdout ---- [INFO] [stdout] thread 'tests::rvs_parse::file' panicked at 'assertion failed: !rvs_error_test(error)', src/tests/rvs_parse.rs:110:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55829ab6a020 - std::backtrace_rs::backtrace::libunwind::trace::h95fc93571932622e [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55829ab6a020 - std::backtrace_rs::backtrace::trace_unsynchronized::h4d0b90afc33151fd [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55829ab6a020 - std::sys_common::backtrace::_print_fmt::h93d302d001a3bf01 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55829ab6a020 - ::fmt::h7881e3a580134f9a [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55829ab8ec3c - core::fmt::write::h1857a60b204f1b6a [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x55829ab65b52 - std::io::Write::write_fmt::hd17811b9a5dec54b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/io/mod.rs:1519:15 [INFO] [stdout] 6: 0x55829ab6cc05 - std::sys_common::backtrace::_print::h3e3f9fed81bc11e9 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55829ab6cc05 - std::sys_common::backtrace::print::hd22ac23fed5071c8 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55829ab6cc05 - std::panicking::default_hook::{{closure}}::h1647bdcf68060e17 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55829ab6c792 - std::panicking::default_hook::hb08853b392b9404b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55829ab6d3a1 - std::panicking::rust_panic_with_hook::h3624ee29da369ede [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:591:17 [INFO] [stdout] 11: 0x55829ab6ceb7 - std::panicking::begin_panic_handler::{{closure}}::hefcfcedcde6bb6d9 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:495:13 [INFO] [stdout] 12: 0x55829ab6a4dc - std::sys_common::backtrace::__rust_end_short_backtrace::heb130cec93caa706 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55829ab6ce49 - rust_begin_unwind [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:493:5 [INFO] [stdout] 14: 0x55829ab8d591 - core::panicking::panic_fmt::hb15d6f55e8472f62 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55829ab8d4dd - core::panicking::panic::h5d1c61fed2502a5f [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/panicking.rs:50:5 [INFO] [stdout] 16: 0x55829aa75929 - rvs::tests::rvs_parse::file::ha731829e9455a8f0 [INFO] [stdout] at /opt/rustwide/workdir/src/tests/rvs_parse.rs:110:5 [INFO] [stdout] 17: 0x55829aa755ea - rvs::tests::rvs_parse::file::{{closure}}::h2fb445847d2d34d2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests/rvs_parse.rs:95:1 [INFO] [stdout] 18: 0x55829aa79c3e - core::ops::function::FnOnce::call_once::h31ff0d6766ac365b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x55829aaa98a3 - core::ops::function::FnOnce::call_once::h72b3efc134abec04 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55829aaa98a3 - test::__rust_begin_short_backtrace::hf76173a3f44f554b [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/test/src/lib.rs:516:5 [INFO] [stdout] 21: 0x55829aaa7f98 - as core::ops::function::FnOnce>::call_once::h49f5b686efed1e06 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 22: 0x55829aaa7f98 - as core::ops::function::FnOnce<()>>::call_once::h4879f836ca9aaead [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:322:9 [INFO] [stdout] 23: 0x55829aaa7f98 - std::panicking::try::do_call::h9655796ce3021b6c [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:379:40 [INFO] [stdout] 24: 0x55829aaa7f98 - std::panicking::try::h346508ed448399f4 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:343:19 [INFO] [stdout] 25: 0x55829aaa7f98 - std::panic::catch_unwind::h00e84f4e9c3caaa0 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:396:14 [INFO] [stdout] 26: 0x55829aaa7f98 - test::run_test_in_process::hc80321f825c30106 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/test/src/lib.rs:538:18 [INFO] [stdout] 27: 0x55829aaa7f98 - test::run_test::run_test_inner::{{closure}}::h89c217441620999f [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/test/src/lib.rs:449:39 [INFO] [stdout] 28: 0x55829aa82586 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3852ec0877008db6 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 29: 0x55829aa86d4d - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h7c7dfff4b938ae67 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/thread/mod.rs:474:17 [INFO] [stdout] 30: 0x55829aa86d4d - as core::ops::function::FnOnce<()>>::call_once::h8db0dd15c072a403 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:322:9 [INFO] [stdout] 31: 0x55829aa86d4d - std::panicking::try::do_call::haad8639857ae1187 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:379:40 [INFO] [stdout] 32: 0x55829aa86d4d - std::panicking::try::h61de115e9dce60f6 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panicking.rs:343:19 [INFO] [stdout] 33: 0x55829aa86d4d - std::panic::catch_unwind::h50601fd82666a838 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/panic.rs:396:14 [INFO] [stdout] 34: 0x55829aa86d4d - std::thread::Builder::spawn_unchecked::{{closure}}::hac267391ef9d21bd [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/thread/mod.rs:473:30 [INFO] [stdout] 35: 0x55829aa86d4d - core::ops::function::FnOnce::call_once{{vtable.shim}}::heb15d2d9c42706b7 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 36: 0x55829ab735ca - as core::ops::function::FnOnce>::call_once::h5446ed3fdb82006e [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 37: 0x55829ab735ca - as core::ops::function::FnOnce>::call_once::h62a21a889329a3f2 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 38: 0x55829ab735ca - std::sys::unix::thread::Thread::new::thread_start::h62402416daf174b6 [INFO] [stdout] at /rustc/eafdee2dfae8c2233b74f98b123308be7ccefcc6/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 39: 0x7f59017e7609 - start_thread [INFO] [stdout] 40: 0x7f59015b9293 - clone [INFO] [stdout] 41: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::rvs_parse::file [INFO] [stdout] tests::rvs_parse::import [INFO] [stdout] tests::rvs_write_definitions::basic [INFO] [stdout] [INFO] [stdout] test result: FAILED. 10 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "6f0c41684f360e7bc03b44b3c5b0ca75223dade020be7e801788ab53e476955d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f0c41684f360e7bc03b44b3c5b0ca75223dade020be7e801788ab53e476955d", kill_on_drop: false }` [INFO] [stdout] 6f0c41684f360e7bc03b44b3c5b0ca75223dade020be7e801788ab53e476955d