[INFO] fetching crate savvy 0.10.1... [INFO] testing savvy-0.10.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate savvy 0.10.1 into /workspace/builds/worker-7-tc1/source [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate savvy 0.10.1 [INFO] finished tweaking crates.io crate savvy 0.10.1 [INFO] tweaked toml for crates.io crate savvy 0.10.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate savvy 0.10.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate savvy 0.10.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-ident v1.0.17 [INFO] [stderr] Downloaded env_filter v0.1.3 [INFO] [stderr] Downloaded quote v1.0.38 [INFO] [stderr] Downloaded proc-macro2 v1.0.93 [INFO] [stderr] Downloaded savvy-bindgen v0.10.1 [INFO] [stderr] Downloaded env_logger v0.11.6 [INFO] [stderr] Downloaded cc v1.2.15 [INFO] [stderr] Downloaded log v0.4.26 [INFO] [stderr] Downloaded savvy-ffi v0.10.1 [INFO] [stderr] Downloaded savvy-macro v0.10.1 [INFO] [stderr] Downloaded autocfg v1.4.0 [INFO] [stderr] Downloaded syn v2.0.98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 966b8e95e1b6d9fe8190bb6064f92e1d02e857c875924167bc78302e39c7e877 [INFO] running `Command { std: "docker" "start" "-a" "966b8e95e1b6d9fe8190bb6064f92e1d02e857c875924167bc78302e39c7e877", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "966b8e95e1b6d9fe8190bb6064f92e1d02e857c875924167bc78302e39c7e877", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "966b8e95e1b6d9fe8190bb6064f92e1d02e857c875924167bc78302e39c7e877", kill_on_drop: false }` [INFO] [stdout] 966b8e95e1b6d9fe8190bb6064f92e1d02e857c875924167bc78302e39c7e877 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 579399d4733ec8cded9dddba53e8c45e8e74bcdc0913ad7403c2c671670a9760 [INFO] running `Command { std: "docker" "start" "-a" "579399d4733ec8cded9dddba53e8c45e8e74bcdc0913ad7403c2c671670a9760", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling savvy-ffi v0.10.1 [INFO] [stderr] Compiling savvy v0.10.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: savvy@0.10.1: R_INCLUDE_DIR envvar should be provided. [INFO] [stderr] Compiling savvy-bindgen v0.10.1 [INFO] [stderr] Compiling savvy-macro v0.10.1 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.27s [INFO] running `Command { std: "docker" "inspect" "579399d4733ec8cded9dddba53e8c45e8e74bcdc0913ad7403c2c671670a9760", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "579399d4733ec8cded9dddba53e8c45e8e74bcdc0913ad7403c2c671670a9760", kill_on_drop: false }` [INFO] [stdout] 579399d4733ec8cded9dddba53e8c45e8e74bcdc0913ad7403c2c671670a9760 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3933e604eb13c57e0517281ebc7c4a38ef6599bf3181fa3e9f76a16f46039260 [INFO] running `Command { std: "docker" "start" "-a" "3933e604eb13c57e0517281ebc7c4a38ef6599bf3181fa3e9f76a16f46039260", kill_on_drop: false }` [INFO] [stderr] warning: savvy@0.10.1: R_INCLUDE_DIR envvar should be provided. [INFO] [stderr] Compiling savvy v0.10.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "3933e604eb13c57e0517281ebc7c4a38ef6599bf3181fa3e9f76a16f46039260", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3933e604eb13c57e0517281ebc7c4a38ef6599bf3181fa3e9f76a16f46039260", kill_on_drop: false }` [INFO] [stdout] 3933e604eb13c57e0517281ebc7c4a38ef6599bf3181fa3e9f76a16f46039260 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8733cd781c8233ddcfcef66bcc897a7eb157e3d27cb1e3ea810fc11e3bb86e66 [INFO] running `Command { std: "docker" "start" "-a" "8733cd781c8233ddcfcef66bcc897a7eb157e3d27cb1e3ea810fc11e3bb86e66", kill_on_drop: false }` [INFO] [stderr] warning: savvy@0.10.1: R_INCLUDE_DIR envvar should be provided. [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/savvy-a374c9411fd28a2d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests savvy [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 64 tests [INFO] [stdout] test src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::as_mut_slice (line 106) ... FAILED [INFO] [stdout] test src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::try_from_scalar (line 359) ... FAILED [INFO] [stdout] test src/lib.rs - (line 20) - compile ... FAILED [INFO] [stdout] test src/sexp/logical.rs - sexp::logical::LogicalSexp::iter (line 48) ... FAILED [INFO] [stdout] test src/eval.rs - eval::assert_eq_r_code (line 74) ... FAILED [INFO] [stdout] test src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::as_slice (line 89) ... FAILED [INFO] [stdout] test src/sexp/logical.rs - sexp::logical::LogicalSexp::as_slice_raw (line 28) ... FAILED [INFO] [stdout] test src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::try_from_iter (line 276) ... FAILED [INFO] [stdout] test src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::try_from_slice (line 339) ... FAILED [INFO] [stdout] test src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::iter_mut (line 130) ... FAILED [INFO] [stdout] test src/sexp/integer.rs - sexp::integer::IntegerSexp::to_vec (line 68) ... FAILED [INFO] [stdout] test src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::iter (line 96) ... FAILED [INFO] [stdout] test src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::set_elt (line 150) ... FAILED [INFO] [stdout] test src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::new_without_init (line 221) ... FAILED [INFO] [stdout] test src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::new (line 205) ... FAILED [INFO] [stdout] test src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::new_without_init (line 193) ... FAILED [INFO] [stdout] test src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::set_na (line 174) ... FAILED [INFO] [stdout] test src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::set_elt (line 120) ... FAILED [INFO] [stdout] test src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::new (line 177) ... FAILED [INFO] [stdout] test src/sexp/numeric.rs - sexp::numeric::NumericSexp::iter_f64 (line 271) ... FAILED [INFO] [stdout] test src/sexp/integer.rs - sexp::integer::IntegerSexp::iter (line 46) ... FAILED [INFO] [stdout] test src/sexp/raw.rs - sexp::raw::OwnedRawSexp::set_elt (line 149) ... FAILED [INFO] [stdout] test src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::try_from_slice (line 310) ... FAILED [INFO] [stdout] test src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::set_na (line 146) ... FAILED [INFO] [stdout] test src/sexp/integer.rs - sexp::integer::IntegerSexp::as_slice (line 30) ... FAILED [INFO] [stdout] test src/sexp/numeric.rs - sexp::numeric::NumericSexp::as_slice_i32 (line 158) ... FAILED [INFO] [stdout] test src/sexp/logical.rs - sexp::logical::LogicalSexp::to_vec (line 65) ... FAILED [INFO] [stdout] test src/sexp/raw.rs - sexp::raw::OwnedRawSexp::new (line 184) ... FAILED [INFO] [stdout] test src/sexp/raw.rs - sexp::raw::OwnedRawSexp::as_mut_slice (line 105) ... FAILED [INFO] [stdout] test src/sexp/raw.rs - sexp::raw::OwnedRawSexp::try_from_iter (line 255) ... FAILED [INFO] [stdout] test src/sexp/numeric.rs - sexp::numeric::NumericSexp::as_slice_f64 (line 192) ... FAILED [INFO] [stdout] test src/sexp/numeric.rs - sexp::numeric::NumericSexp::iter_i32 (line 229) ... FAILED [INFO] [stdout] test src/sexp/real.rs - sexp::real::OwnedRealSexp::as_slice (line 89) ... FAILED [INFO] [stdout] test src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::try_from_scalar (line 333) ... FAILED [INFO] [stdout] test src/sexp/real.rs - sexp::real::OwnedRealSexp::set_na (line 174) ... FAILED [INFO] [stdout] test src/sexp/raw.rs - sexp::raw::OwnedRawSexp::as_slice (line 88) ... FAILED [INFO] [stdout] test src/sexp/raw.rs - sexp::raw::OwnedRawSexp::iter_mut (line 129) ... FAILED [INFO] [stdout] test src/sexp/real.rs - sexp::real::OwnedRealSexp::set_elt (line 150) ... FAILED [INFO] [stdout] test src/sexp/real.rs - sexp::real::RealSexp::as_slice (line 30) ... FAILED [INFO] [stdout] test src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::try_from_iter (line 247) ... FAILED [INFO] [stdout] test src/sexp/real.rs - sexp::real::OwnedRealSexp::as_mut_slice (line 106) ... FAILED [INFO] [stdout] test src/sexp/raw.rs - sexp::raw::OwnedRawSexp::new_without_init (line 200) ... FAILED [INFO] [stdout] test src/sexp/real.rs - sexp::real::OwnedRealSexp::try_from_scalar (line 362) ... FAILED [INFO] [stdout] test src/sexp/raw.rs - sexp::raw::OwnedRawSexp::try_from_slice (line 318) ... FAILED [INFO] [stdout] test src/sexp/real.rs - sexp::real::OwnedRealSexp::iter_mut (line 130) ... FAILED [INFO] [stdout] test src/sexp/raw.rs - sexp::raw::RawSexp::to_vec (line 67) ... FAILED [INFO] [stdout] test src/sexp/real.rs - sexp::real::RealSexp::to_vec (line 68) ... FAILED [INFO] [stdout] test src/sexp/real.rs - sexp::real::OwnedRealSexp::try_from_iter (line 279) ... FAILED [INFO] [stdout] test src/sexp/real.rs - sexp::real::RealSexp::iter (line 46) ... FAILED [INFO] [stdout] test src/sexp/real.rs - sexp::real::OwnedRealSexp::new_without_init (line 224) ... FAILED [INFO] [stdout] test src/sexp/string.rs - sexp::string::OwnedStringSexp::iter (line 67) ... FAILED [INFO] [stdout] test src/sexp/string.rs - sexp::string::StringSexp::iter (line 27) ... FAILED [INFO] [stdout] test src/sexp/raw.rs - sexp::raw::RawSexp::iter (line 45) ... FAILED [INFO] [stdout] test src/sexp/string.rs - sexp::string::OwnedStringSexp::new (line 135) ... FAILED [INFO] [stdout] test src/sexp/real.rs - sexp::real::OwnedRealSexp::new (line 208) ... FAILED [INFO] [stdout] test src/sexp/string.rs - sexp::string::OwnedStringSexp::try_from_slice (line 228) ... FAILED [INFO] [stdout] test src/sexp/raw.rs - sexp::raw::RawSexp::as_slice (line 29) ... FAILED [INFO] [stdout] test src/sexp/real.rs - sexp::real::OwnedRealSexp::try_from_slice (line 342) ... FAILED [INFO] [stdout] test src/sexp/string.rs - sexp::string::OwnedStringSexp::try_from_scalar (line 252) ... FAILED [INFO] [stdout] test src/sexp/string.rs - sexp::string::OwnedStringSexp::set_na (line 117) ... FAILED [INFO] [stdout] test src/sexp/raw.rs - sexp::raw::OwnedRawSexp::try_from_scalar (line 338) ... FAILED [INFO] [stdout] test src/sexp/string.rs - sexp::string::OwnedStringSexp::set_elt (line 92) ... FAILED [INFO] [stdout] test src/sexp/string.rs - sexp::string::StringSexp::to_vec (line 46) ... FAILED [INFO] [stdout] test src/sexp/string.rs - sexp::string::OwnedStringSexp::try_from_iter (line 167) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::as_mut_slice (line 106) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/integer.rs:110:44 [INFO] [stdout] | [INFO] [stdout] 107 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_106_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 110 | let mut int_sexp = OwnedIntegerSexp::new(3)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 107 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_106_0() -> Result<(), Box> { [INFO] [stdout] 108 | use savvy::OwnedIntegerSexp; [INFO] [stdout] ... [INFO] [stdout] 113 | assert_eq!(int_sexp.as_slice(), &[0, 0, 10]); [INFO] [stdout] 114 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::try_from_scalar (line 359) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/integer.rs:363:52 [INFO] [stdout] | [INFO] [stdout] 360 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_359_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 363 | let int_sexp = OwnedIntegerSexp::try_from_scalar(1)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 360 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_359_0() -> Result<(), Box> { [INFO] [stdout] 361 | use savvy::OwnedIntegerSexp; [INFO] [stdout] ... [INFO] [stdout] 364 | assert_eq!(int_sexp.as_slice(), &[1]); [INFO] [stdout] 365 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 20) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `StringSexp` in this scope [INFO] [stdout] --> src/lib.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | fn to_upper(x: StringSexp) -> savvy::Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 19 + use savvy::StringSexp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `OwnedStringSexp` in this scope [INFO] [stdout] --> src/lib.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | let mut out = OwnedStringSexp::new(x.len())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `OwnedStringSexp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 19 + use savvy::OwnedStringSexp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/logical.rs - sexp::logical::LogicalSexp::iter (line 48) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/logical.rs:50:76 [INFO] [stdout] | [INFO] [stdout] 49 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_48_0() { [INFO] [stdout] | ------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 50 | let lgl_sexp = savvy::OwnedLogicalSexp::try_from_slice([true, true, false])?.as_read_only(); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 49 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_48_0() -> Result<(), Box> { [INFO] [stdout] 50 | let lgl_sexp = savvy::OwnedLogicalSexp::try_from_slice([true, true, false])?.as_read_only(); [INFO] [stdout] ... [INFO] [stdout] 54 | assert_eq!(iter.collect::>(), vec![true, false]); [INFO] [stdout] 55 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/eval.rs - eval::assert_eq_r_code (line 74) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/eval.rs:78:41 [INFO] [stdout] | [INFO] [stdout] 75 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_eval_rs_74_0() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 78 | let mut x = savvy::OwnedRealSexp::new(3)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 75 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_eval_rs_74_0() -> Result<(), Box> { [INFO] [stdout] 76 | use savvy::assert_eq_r_code; [INFO] [stdout] ... [INFO] [stdout] 81 | assert_eq_r_code(x, "c(0.0, 1.0, 2.0)"); [INFO] [stdout] 82 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::as_slice (line 89) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/integer.rs:93:59 [INFO] [stdout] | [INFO] [stdout] 90 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_89_0() { [INFO] [stdout] | ------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 93 | let int_sexp = OwnedIntegerSexp::try_from_slice([1, 2, 3])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 90 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_89_0() -> Result<(), Box> { [INFO] [stdout] 91 | use savvy::OwnedIntegerSexp; [INFO] [stdout] ... [INFO] [stdout] 94 | assert_eq!(int_sexp.as_slice(), &[1, 2, 3]); [INFO] [stdout] 95 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/logical.rs - sexp::logical::LogicalSexp::as_slice_raw (line 28) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/logical.rs:31:80 [INFO] [stdout] | [INFO] [stdout] 29 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_28_0() { [INFO] [stdout] | ------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 30 | use savvy::NotAvailableValue; [INFO] [stdout] 31 | let mut lgl_sexp = savvy::OwnedLogicalSexp::try_from_slice([true, false, true])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 29 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_28_0() -> Result<(), Box> { [INFO] [stdout] 30 | use savvy::NotAvailableValue; [INFO] [stdout] ... [INFO] [stdout] 36 | assert_eq!(lgl_sexp.as_slice_raw(), &[1, 0, ::na()]); [INFO] [stdout] 37 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/logical.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 29 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_28_0() { [INFO] [stdout] | ------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 32 | lgl_sexp.set_na(2)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 29 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_28_0() -> Result<(), Box> { [INFO] [stdout] 30 | use savvy::NotAvailableValue; [INFO] [stdout] ... [INFO] [stdout] 36 | assert_eq!(lgl_sexp.as_slice_raw(), &[1, 0, ::na()]); [INFO] [stdout] 37 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::try_from_iter (line 276) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/integer.rs:281:53 [INFO] [stdout] | [INFO] [stdout] 277 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_276_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 281 | let int_sexp = OwnedIntegerSexp::try_from_iter(iter)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 277 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_276_0() -> Result<(), Box> { [INFO] [stdout] 278 | use savvy::OwnedIntegerSexp; [INFO] [stdout] ... [INFO] [stdout] 282 | assert_eq!(int_sexp.as_slice(), &[0, 2, 4, 6, 8]); [INFO] [stdout] 283 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::try_from_slice (line 339) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/integer.rs:343:59 [INFO] [stdout] | [INFO] [stdout] 340 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_339_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 343 | let int_sexp = OwnedIntegerSexp::try_from_slice([1, 2, 3])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 340 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_339_0() -> Result<(), Box> { [INFO] [stdout] 341 | use savvy::OwnedIntegerSexp; [INFO] [stdout] ... [INFO] [stdout] 344 | assert_eq!(int_sexp.as_slice(), &[1, 2, 3]); [INFO] [stdout] 345 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::iter_mut (line 130) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/integer.rs:134:63 [INFO] [stdout] | [INFO] [stdout] 131 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_130_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 134 | let mut int_sexp = OwnedIntegerSexp::try_from_slice([1, 2, 3])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 131 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_130_0() -> Result<(), Box> { [INFO] [stdout] 132 | use savvy::OwnedIntegerSexp; [INFO] [stdout] ... [INFO] [stdout] 136 | assert_eq!(int_sexp.as_slice(), &[2, 4, 6]); [INFO] [stdout] 137 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/integer.rs - sexp::integer::IntegerSexp::to_vec (line 68) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/integer.rs:70:66 [INFO] [stdout] | [INFO] [stdout] 69 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_68_0() { [INFO] [stdout] | ------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 70 | let int_sexp = savvy::OwnedIntegerSexp::try_from_slice([1, 2, 3])?.as_read_only(); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 69 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_68_0() -> Result<(), Box> { [INFO] [stdout] 70 | let int_sexp = savvy::OwnedIntegerSexp::try_from_slice([1, 2, 3])?.as_read_only(); [INFO] [stdout] 71 | // `int_sexp` is c(1L, 2L, 3L) [INFO] [stdout] 72 | assert_eq!(int_sexp.to_vec(), vec![1, 2, 3]); [INFO] [stdout] 73 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::iter (line 96) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/logical.rs:100:69 [INFO] [stdout] | [INFO] [stdout] 97 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_96_0() { [INFO] [stdout] | ------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 100 | let lgl_sexp = OwnedLogicalSexp::try_from_slice([true, true, false])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 97 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_96_0() -> Result<(), Box> { [INFO] [stdout] 98 | use savvy::OwnedLogicalSexp; [INFO] [stdout] ... [INFO] [stdout] 104 | assert_eq!(iter.collect::>(), vec![true, false]); [INFO] [stdout] 105 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::set_elt (line 150) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/integer.rs:154:44 [INFO] [stdout] | [INFO] [stdout] 151 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_150_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 154 | let mut int_sexp = OwnedIntegerSexp::new(3)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 151 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_150_0() -> Result<(), Box> { [INFO] [stdout] 152 | use savvy::OwnedIntegerSexp; [INFO] [stdout] ... [INFO] [stdout] 156 | assert_eq!(int_sexp.as_slice(), &[0, 0, 10]); [INFO] [stdout] 157 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/integer.rs:155:24 [INFO] [stdout] | [INFO] [stdout] 151 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_150_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 155 | int_sexp.set_elt(2, 10)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 151 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_150_0() -> Result<(), Box> { [INFO] [stdout] 152 | use savvy::OwnedIntegerSexp; [INFO] [stdout] ... [INFO] [stdout] 156 | assert_eq!(int_sexp.as_slice(), &[0, 0, 10]); [INFO] [stdout] 157 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::new_without_init (line 221) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/integer.rs:243:50 [INFO] [stdout] | [INFO] [stdout] 222 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_221_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 243 | let int_sexp = ::try_from(pair)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 222 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_221_0() -> Result<(), Box> { [INFO] [stdout] 223 | use savvy::OwnedIntegerSexp; [INFO] [stdout] ... [INFO] [stdout] 244 | assert_eq!(int_sexp.as_slice(), &[1, 2]); [INFO] [stdout] 245 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::new (line 205) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/integer.rs:207:40 [INFO] [stdout] | [INFO] [stdout] 206 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_205_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 207 | let x = savvy::OwnedIntegerSexp::new(3)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 206 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_205_0() -> Result<(), Box> { [INFO] [stdout] 207 | let x = savvy::OwnedIntegerSexp::new(3)?; [INFO] [stdout] 208 | assert_eq!(x.as_slice(), &[0, 0, 0]); [INFO] [stdout] 209 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::new_without_init (line 193) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/logical.rs:215:50 [INFO] [stdout] | [INFO] [stdout] 194 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_193_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 215 | let lgl_sexp = ::try_from(pair)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 194 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_193_0() -> Result<(), Box> { [INFO] [stdout] 195 | use savvy::OwnedLogicalSexp; [INFO] [stdout] ... [INFO] [stdout] 216 | assert_eq!(lgl_sexp.to_vec(), vec![true, false]); [INFO] [stdout] 217 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::set_na (line 174) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/integer.rs:179:44 [INFO] [stdout] | [INFO] [stdout] 175 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_174_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 179 | let mut int_sexp = OwnedIntegerSexp::new(3)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 175 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_174_0() -> Result<(), Box> { [INFO] [stdout] 176 | use savvy::OwnedIntegerSexp; [INFO] [stdout] ... [INFO] [stdout] 181 | assert_eq!(int_sexp.as_slice(), &[0, 0, ::na()]); [INFO] [stdout] 182 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/integer.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 175 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_174_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 180 | int_sexp.set_na(2)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 175 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_174_0() -> Result<(), Box> { [INFO] [stdout] 176 | use savvy::OwnedIntegerSexp; [INFO] [stdout] ... [INFO] [stdout] 181 | assert_eq!(int_sexp.as_slice(), &[0, 0, ::na()]); [INFO] [stdout] 182 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::set_elt (line 120) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/logical.rs:124:44 [INFO] [stdout] | [INFO] [stdout] 121 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_120_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 124 | let mut lgl_sexp = OwnedLogicalSexp::new(3)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 121 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_120_0() -> Result<(), Box> { [INFO] [stdout] 122 | use savvy::OwnedLogicalSexp; [INFO] [stdout] ... [INFO] [stdout] 126 | assert_eq!(lgl_sexp.to_vec(), vec![false, false, true]); [INFO] [stdout] 127 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/logical.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 121 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_120_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 125 | lgl_sexp.set_elt(2, true)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 121 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_120_0() -> Result<(), Box> { [INFO] [stdout] 122 | use savvy::OwnedLogicalSexp; [INFO] [stdout] ... [INFO] [stdout] 126 | assert_eq!(lgl_sexp.to_vec(), vec![false, false, true]); [INFO] [stdout] 127 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::new (line 177) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/logical.rs:179:40 [INFO] [stdout] | [INFO] [stdout] 178 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_177_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 179 | let x = savvy::OwnedLogicalSexp::new(3)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 178 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_177_0() -> Result<(), Box> { [INFO] [stdout] 179 | let x = savvy::OwnedLogicalSexp::new(3)?; [INFO] [stdout] 180 | assert_eq!(x.to_vec(), vec![false, false, false]); [INFO] [stdout] 181 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/numeric.rs - sexp::numeric::NumericSexp::iter_f64 (line 271) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/numeric.rs:275:75 [INFO] [stdout] | [INFO] [stdout] 272 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_271_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 275 | let int_sexp = savvy::OwnedRealSexp::try_from_slice([1.0, f64::na(), 1.1])?.as_read_only(); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 272 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_271_0() -> Result<(), Box> { [INFO] [stdout] 273 | use savvy::NotAvailableValue; [INFO] [stdout] ... [INFO] [stdout] 292 | assert!(e2.unwrap().is_err()); [INFO] [stdout] 293 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/numeric.rs:276:55 [INFO] [stdout] | [INFO] [stdout] 272 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_271_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 276 | let num_sexp: savvy::NumericSexp = int_sexp.try_into()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 272 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_271_0() -> Result<(), Box> { [INFO] [stdout] 273 | use savvy::NotAvailableValue; [INFO] [stdout] ... [INFO] [stdout] 292 | assert!(e2.unwrap().is_err()); [INFO] [stdout] 293 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/numeric.rs:282:23 [INFO] [stdout] | [INFO] [stdout] 272 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_271_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 282 | assert_eq!(e0.unwrap()?, 1); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 272 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_271_0() -> Result<(), Box> { [INFO] [stdout] 273 | use savvy::NotAvailableValue; [INFO] [stdout] ... [INFO] [stdout] 292 | assert!(e2.unwrap().is_err()); [INFO] [stdout] 293 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/numeric.rs:287:20 [INFO] [stdout] | [INFO] [stdout] 272 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_271_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 287 | assert!(e1.unwrap()?.is_na()); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 272 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_271_0() -> Result<(), Box> { [INFO] [stdout] 273 | use savvy::NotAvailableValue; [INFO] [stdout] ... [INFO] [stdout] 292 | assert!(e2.unwrap().is_err()); [INFO] [stdout] 293 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/integer.rs - sexp::integer::IntegerSexp::iter (line 46) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/integer.rs:48:66 [INFO] [stdout] | [INFO] [stdout] 47 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_46_0() { [INFO] [stdout] | ------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 48 | let int_sexp = savvy::OwnedIntegerSexp::try_from_slice([1, 2, 3])?.as_read_only(); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 47 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_46_0() -> Result<(), Box> { [INFO] [stdout] 48 | let int_sexp = savvy::OwnedIntegerSexp::try_from_slice([1, 2, 3])?.as_read_only(); [INFO] [stdout] ... [INFO] [stdout] 52 | assert_eq!(iter.as_slice(), &[2, 3]); [INFO] [stdout] 53 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/raw.rs - sexp::raw::OwnedRawSexp::set_elt (line 149) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/raw.rs:153:40 [INFO] [stdout] | [INFO] [stdout] 150 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_149_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 153 | let mut raw_sexp = OwnedRawSexp::new(3)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 150 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_149_0() -> Result<(), Box> { [INFO] [stdout] 151 | use savvy::OwnedRawSexp; [INFO] [stdout] ... [INFO] [stdout] 155 | assert_eq!(raw_sexp.as_slice(), &[0, 0, 10]); [INFO] [stdout] 156 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/raw.rs:154:24 [INFO] [stdout] | [INFO] [stdout] 150 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_149_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 154 | raw_sexp.set_elt(2, 10)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 150 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_149_0() -> Result<(), Box> { [INFO] [stdout] 151 | use savvy::OwnedRawSexp; [INFO] [stdout] ... [INFO] [stdout] 155 | assert_eq!(raw_sexp.as_slice(), &[0, 0, 10]); [INFO] [stdout] 156 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::try_from_slice (line 310) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/logical.rs:314:69 [INFO] [stdout] | [INFO] [stdout] 311 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_310_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 314 | let lgl_sexp = OwnedLogicalSexp::try_from_slice([false, true, true])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 311 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_310_0() -> Result<(), Box> { [INFO] [stdout] 312 | use savvy::OwnedLogicalSexp; [INFO] [stdout] ... [INFO] [stdout] 315 | assert_eq!(lgl_sexp.to_vec(), vec![false, true, true]); [INFO] [stdout] 316 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::set_na (line 146) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/logical.rs:151:44 [INFO] [stdout] | [INFO] [stdout] 147 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_146_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 151 | let mut lgl_sexp = OwnedLogicalSexp::new(3)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 147 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_146_0() -> Result<(), Box> { [INFO] [stdout] 148 | use savvy::OwnedLogicalSexp; [INFO] [stdout] ... [INFO] [stdout] 153 | assert_eq!(lgl_sexp.as_read_only().as_slice_raw(), &[0, 0, ::na()]); [INFO] [stdout] 154 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/logical.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 147 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_146_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 152 | lgl_sexp.set_na(2)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 147 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_146_0() -> Result<(), Box> { [INFO] [stdout] 148 | use savvy::OwnedLogicalSexp; [INFO] [stdout] ... [INFO] [stdout] 153 | assert_eq!(lgl_sexp.as_read_only().as_slice_raw(), &[0, 0, ::na()]); [INFO] [stdout] 154 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/integer.rs - sexp::integer::IntegerSexp::as_slice (line 30) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/integer.rs:32:66 [INFO] [stdout] | [INFO] [stdout] 31 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_30_0() { [INFO] [stdout] | ------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 32 | let int_sexp = savvy::OwnedIntegerSexp::try_from_slice([1, 2, 3])?.as_read_only(); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 31 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_30_0() -> Result<(), Box> { [INFO] [stdout] 32 | let int_sexp = savvy::OwnedIntegerSexp::try_from_slice([1, 2, 3])?.as_read_only(); [INFO] [stdout] 33 | // `int_sexp` is c(1L, 2L, 3L) [INFO] [stdout] 34 | assert_eq!(int_sexp.as_slice(), &[1, 2, 3]); [INFO] [stdout] 35 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/numeric.rs - sexp::numeric::NumericSexp::as_slice_i32 (line 158) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/numeric.rs:160:69 [INFO] [stdout] | [INFO] [stdout] 159 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_158_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 160 | let int_sexp = savvy::OwnedRealSexp::try_from_slice([1.0, 2.0, 3.0])?.as_read_only(); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 159 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_158_0() -> Result<(), Box> { [INFO] [stdout] 160 | let int_sexp = savvy::OwnedRealSexp::try_from_slice([1.0, 2.0, 3.0])?.as_read_only(); [INFO] [stdout] ... [INFO] [stdout] 163 | assert_eq!(num_sexp.as_slice_i32().unwrap(), &[1, 2, 3]); [INFO] [stdout] 164 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/numeric.rs:161:55 [INFO] [stdout] | [INFO] [stdout] 159 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_158_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 160 | let int_sexp = savvy::OwnedRealSexp::try_from_slice([1.0, 2.0, 3.0])?.as_read_only(); [INFO] [stdout] 161 | let num_sexp: savvy::NumericSexp = int_sexp.try_into()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 159 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_158_0() -> Result<(), Box> { [INFO] [stdout] 160 | let int_sexp = savvy::OwnedRealSexp::try_from_slice([1.0, 2.0, 3.0])?.as_read_only(); [INFO] [stdout] ... [INFO] [stdout] 163 | assert_eq!(num_sexp.as_slice_i32().unwrap(), &[1, 2, 3]); [INFO] [stdout] 164 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/logical.rs - sexp::logical::LogicalSexp::to_vec (line 65) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/logical.rs:67:76 [INFO] [stdout] | [INFO] [stdout] 66 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_65_0() { [INFO] [stdout] | ------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 67 | let lgl_sexp = savvy::OwnedLogicalSexp::try_from_slice([true, true, false])?.as_read_only(); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 66 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_65_0() -> Result<(), Box> { [INFO] [stdout] 67 | let lgl_sexp = savvy::OwnedLogicalSexp::try_from_slice([true, true, false])?.as_read_only(); [INFO] [stdout] 68 | // `lgl_sexp` is c(TRUE, TRUE, FALSE) [INFO] [stdout] 69 | assert_eq!(lgl_sexp.to_vec(), vec![true, true, false]); [INFO] [stdout] 70 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/raw.rs - sexp::raw::OwnedRawSexp::new (line 184) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/raw.rs:186:36 [INFO] [stdout] | [INFO] [stdout] 185 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_184_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 186 | let x = savvy::OwnedRawSexp::new(3)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 185 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_184_0() -> Result<(), Box> { [INFO] [stdout] 186 | let x = savvy::OwnedRawSexp::new(3)?; [INFO] [stdout] 187 | assert_eq!(x.as_slice(), &[0, 0, 0]); [INFO] [stdout] 188 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/raw.rs - sexp::raw::OwnedRawSexp::as_mut_slice (line 105) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/raw.rs:109:40 [INFO] [stdout] | [INFO] [stdout] 106 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_105_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 109 | let mut raw_sexp = OwnedRawSexp::new(3)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 106 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_105_0() -> Result<(), Box> { [INFO] [stdout] 107 | use savvy::OwnedRawSexp; [INFO] [stdout] ... [INFO] [stdout] 112 | assert_eq!(raw_sexp.as_slice(), &[0, 0, 10]); [INFO] [stdout] 113 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/raw.rs - sexp::raw::OwnedRawSexp::try_from_iter (line 255) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/raw.rs:260:49 [INFO] [stdout] | [INFO] [stdout] 256 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_255_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 260 | let raw_sexp = OwnedRawSexp::try_from_iter(iter)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 256 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_255_0() -> Result<(), Box> { [INFO] [stdout] 257 | use savvy::OwnedRawSexp; [INFO] [stdout] ... [INFO] [stdout] 261 | assert_eq!(raw_sexp.as_slice(), &[0, 2, 4, 6, 8]); [INFO] [stdout] 262 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/numeric.rs - sexp::numeric::NumericSexp::as_slice_f64 (line 192) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/numeric.rs:194:66 [INFO] [stdout] | [INFO] [stdout] 193 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_192_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 194 | let int_sexp = savvy::OwnedIntegerSexp::try_from_slice([1, 2, 3])?.as_read_only(); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 193 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_192_0() -> Result<(), Box> { [INFO] [stdout] 194 | let int_sexp = savvy::OwnedIntegerSexp::try_from_slice([1, 2, 3])?.as_read_only(); [INFO] [stdout] ... [INFO] [stdout] 197 | assert_eq!(num_sexp.as_slice_f64(), &[1.0, 2.0, 3.0]); [INFO] [stdout] 198 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/numeric.rs:195:55 [INFO] [stdout] | [INFO] [stdout] 193 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_192_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 194 | let int_sexp = savvy::OwnedIntegerSexp::try_from_slice([1, 2, 3])?.as_read_only(); [INFO] [stdout] 195 | let num_sexp: savvy::NumericSexp = int_sexp.try_into()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 193 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_192_0() -> Result<(), Box> { [INFO] [stdout] 194 | let int_sexp = savvy::OwnedIntegerSexp::try_from_slice([1, 2, 3])?.as_read_only(); [INFO] [stdout] ... [INFO] [stdout] 197 | assert_eq!(num_sexp.as_slice_f64(), &[1.0, 2.0, 3.0]); [INFO] [stdout] 198 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/numeric.rs - sexp::numeric::NumericSexp::iter_i32 (line 229) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/numeric.rs:233:71 [INFO] [stdout] | [INFO] [stdout] 230 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_229_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 233 | let int_sexp = savvy::OwnedIntegerSexp::try_from_slice([1, i32::na()])?.as_read_only(); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 230 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_229_0() -> Result<(), Box> { [INFO] [stdout] 231 | use savvy::NotAvailableValue; [INFO] [stdout] ... [INFO] [stdout] 243 | assert!(e1.unwrap().is_na()); [INFO] [stdout] 244 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/numeric.rs:234:55 [INFO] [stdout] | [INFO] [stdout] 230 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_229_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 234 | let num_sexp: savvy::NumericSexp = int_sexp.try_into()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 230 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_229_0() -> Result<(), Box> { [INFO] [stdout] 231 | use savvy::NotAvailableValue; [INFO] [stdout] ... [INFO] [stdout] 243 | assert!(e1.unwrap().is_na()); [INFO] [stdout] 244 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/real.rs - sexp::real::OwnedRealSexp::as_slice (line 89) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/real.rs:93:63 [INFO] [stdout] | [INFO] [stdout] 90 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_89_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 93 | let real_sexp = OwnedRealSexp::try_from_slice([1.0, 2.0, 3.0])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 90 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_89_0() -> Result<(), Box> { [INFO] [stdout] 91 | use savvy::OwnedRealSexp; [INFO] [stdout] ... [INFO] [stdout] 94 | assert_eq!(real_sexp.to_vec(), vec![1.0, 2.0, 3.0]); [INFO] [stdout] 95 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::try_from_scalar (line 333) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/logical.rs:337:55 [INFO] [stdout] | [INFO] [stdout] 334 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_333_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 337 | let lgl_sexp = OwnedLogicalSexp::try_from_scalar(true)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 334 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_333_0() -> Result<(), Box> { [INFO] [stdout] 335 | use savvy::OwnedLogicalSexp; [INFO] [stdout] ... [INFO] [stdout] 338 | assert_eq!(lgl_sexp.to_vec(), vec![true]); [INFO] [stdout] 339 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/real.rs - sexp::real::OwnedRealSexp::set_na (line 174) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/real.rs:179:42 [INFO] [stdout] | [INFO] [stdout] 175 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_174_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 179 | let mut real_sexp = OwnedRealSexp::new(3)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 175 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_174_0() -> Result<(), Box> { [INFO] [stdout] 176 | use savvy::OwnedRealSexp; [INFO] [stdout] ... [INFO] [stdout] 184 | assert!(real_sexp[2].is_na()); [INFO] [stdout] 185 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/real.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 175 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_174_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 180 | real_sexp.set_na(2)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 175 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_174_0() -> Result<(), Box> { [INFO] [stdout] 176 | use savvy::OwnedRealSexp; [INFO] [stdout] ... [INFO] [stdout] 184 | assert!(real_sexp[2].is_na()); [INFO] [stdout] 185 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/raw.rs - sexp::raw::OwnedRawSexp::as_slice (line 88) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/raw.rs:92:58 [INFO] [stdout] | [INFO] [stdout] 89 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_88_0() { [INFO] [stdout] | --------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 92 | let raw_sexp = OwnedRawSexp::try_from_slice([1_u8, 2, 3])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 89 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_88_0() -> Result<(), Box> { [INFO] [stdout] 90 | use savvy::OwnedRawSexp; [INFO] [stdout] ... [INFO] [stdout] 93 | assert_eq!(raw_sexp.as_slice(), &[1, 2, 3]); [INFO] [stdout] 94 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/raw.rs - sexp::raw::OwnedRawSexp::iter_mut (line 129) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/raw.rs:133:62 [INFO] [stdout] | [INFO] [stdout] 130 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_129_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 133 | let mut raw_sexp = OwnedRawSexp::try_from_slice([1_u8, 2, 3])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 130 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_129_0() -> Result<(), Box> { [INFO] [stdout] 131 | use savvy::OwnedRawSexp; [INFO] [stdout] ... [INFO] [stdout] 135 | assert_eq!(raw_sexp.as_slice(), &[2, 4, 6]); [INFO] [stdout] 136 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/real.rs - sexp::real::OwnedRealSexp::set_elt (line 150) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/real.rs:154:42 [INFO] [stdout] | [INFO] [stdout] 151 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_150_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 154 | let mut real_sexp = OwnedRealSexp::new(3)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 151 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_150_0() -> Result<(), Box> { [INFO] [stdout] 152 | use savvy::OwnedRealSexp; [INFO] [stdout] ... [INFO] [stdout] 156 | assert_eq!(real_sexp.as_slice(), &[0.0, 0.0, 10.0]); [INFO] [stdout] 157 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/real.rs:155:27 [INFO] [stdout] | [INFO] [stdout] 151 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_150_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 155 | real_sexp.set_elt(2, 10.0)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 151 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_150_0() -> Result<(), Box> { [INFO] [stdout] 152 | use savvy::OwnedRealSexp; [INFO] [stdout] ... [INFO] [stdout] 156 | assert_eq!(real_sexp.as_slice(), &[0.0, 0.0, 10.0]); [INFO] [stdout] 157 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/real.rs - sexp::real::RealSexp::as_slice (line 30) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/real.rs:32:70 [INFO] [stdout] | [INFO] [stdout] 31 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_30_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 32 | let real_sexp = savvy::OwnedRealSexp::try_from_slice([1.0, 2.0, 3.0])?.as_read_only(); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 31 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_30_0() -> Result<(), Box> { [INFO] [stdout] 32 | let real_sexp = savvy::OwnedRealSexp::try_from_slice([1.0, 2.0, 3.0])?.as_read_only(); [INFO] [stdout] 33 | // `real_sexp` is c(1.0, 2.0, 3.0) [INFO] [stdout] 34 | assert_eq!(real_sexp.as_slice(), &[1.0, 2.0, 3.0]); [INFO] [stdout] 35 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::try_from_iter (line 247) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/logical.rs:252:53 [INFO] [stdout] | [INFO] [stdout] 248 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_247_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 252 | let lgl_sexp = OwnedLogicalSexp::try_from_iter(iter)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 248 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_247_0() -> Result<(), Box> { [INFO] [stdout] 249 | use savvy::OwnedLogicalSexp; [INFO] [stdout] ... [INFO] [stdout] 253 | assert_eq!(lgl_sexp.to_vec(), vec![true, true]); [INFO] [stdout] 254 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/real.rs - sexp::real::OwnedRealSexp::as_mut_slice (line 106) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/real.rs:110:42 [INFO] [stdout] | [INFO] [stdout] 107 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_106_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 110 | let mut real_sexp = OwnedRealSexp::new(3)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 107 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_106_0() -> Result<(), Box> { [INFO] [stdout] 108 | use savvy::OwnedRealSexp; [INFO] [stdout] ... [INFO] [stdout] 113 | assert_eq!(real_sexp.as_slice(), &[0.0, 0.0, 10.0]); [INFO] [stdout] 114 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/raw.rs - sexp::raw::OwnedRawSexp::new_without_init (line 200) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/raw.rs:222:46 [INFO] [stdout] | [INFO] [stdout] 201 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_200_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 222 | let raw_sexp = ::try_from(pair)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 201 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_200_0() -> Result<(), Box> { [INFO] [stdout] 202 | use savvy::OwnedRawSexp; [INFO] [stdout] ... [INFO] [stdout] 223 | assert_eq!(raw_sexp.as_slice(), &[1, 2]); [INFO] [stdout] 224 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/real.rs - sexp::real::OwnedRealSexp::try_from_scalar (line 362) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/real.rs:366:52 [INFO] [stdout] | [INFO] [stdout] 363 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_362_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 366 | let real_sexp = OwnedRealSexp::try_from_scalar(1.0)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 363 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_362_0() -> Result<(), Box> { [INFO] [stdout] 364 | use savvy::OwnedRealSexp; [INFO] [stdout] ... [INFO] [stdout] 367 | assert_eq!(real_sexp.as_slice(), &[1.0]); [INFO] [stdout] 368 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/raw.rs - sexp::raw::OwnedRawSexp::try_from_slice (line 318) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/raw.rs:322:58 [INFO] [stdout] | [INFO] [stdout] 319 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_318_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 322 | let raw_sexp = OwnedRawSexp::try_from_slice([1_u8, 2, 3])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 319 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_318_0() -> Result<(), Box> { [INFO] [stdout] 320 | use savvy::OwnedRawSexp; [INFO] [stdout] ... [INFO] [stdout] 323 | assert_eq!(raw_sexp.as_slice(), &[1, 2, 3]); [INFO] [stdout] 324 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/real.rs - sexp::real::OwnedRealSexp::iter_mut (line 130) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/real.rs:134:67 [INFO] [stdout] | [INFO] [stdout] 131 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_130_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 134 | let mut real_sexp = OwnedRealSexp::try_from_slice([1.0, 2.0, 3.0])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 131 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_130_0() -> Result<(), Box> { [INFO] [stdout] 132 | use savvy::OwnedRealSexp; [INFO] [stdout] ... [INFO] [stdout] 136 | assert_eq!(real_sexp.as_slice(), &[2.0, 4.0, 6.0]); [INFO] [stdout] 137 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/raw.rs - sexp::raw::RawSexp::to_vec (line 67) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/raw.rs:69:65 [INFO] [stdout] | [INFO] [stdout] 68 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_67_0() { [INFO] [stdout] | --------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 69 | let raw_sexp = savvy::OwnedRawSexp::try_from_slice([1_u8, 2, 3])?.as_read_only(); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 68 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_67_0() -> Result<(), Box> { [INFO] [stdout] 69 | let raw_sexp = savvy::OwnedRawSexp::try_from_slice([1_u8, 2, 3])?.as_read_only(); [INFO] [stdout] 70 | // `raw_sexp` is c(1L, 2L, 3L) [INFO] [stdout] 71 | assert_eq!(raw_sexp.to_vec(), vec![1, 2, 3]); [INFO] [stdout] 72 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/real.rs - sexp::real::RealSexp::to_vec (line 68) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/real.rs:70:70 [INFO] [stdout] | [INFO] [stdout] 69 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_68_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 70 | let real_sexp = savvy::OwnedRealSexp::try_from_slice([1.0, 2.0, 3.0])?.as_read_only(); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 69 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_68_0() -> Result<(), Box> { [INFO] [stdout] 70 | let real_sexp = savvy::OwnedRealSexp::try_from_slice([1.0, 2.0, 3.0])?.as_read_only(); [INFO] [stdout] 71 | // `real_sexp` is c(1.0, 2.0, 3.0) [INFO] [stdout] 72 | assert_eq!(real_sexp.to_vec(), vec![1.0, 2.0, 3.0]); [INFO] [stdout] 73 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/real.rs - sexp::real::OwnedRealSexp::try_from_iter (line 279) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/real.rs:284:51 [INFO] [stdout] | [INFO] [stdout] 280 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_279_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 284 | let real_sexp = OwnedRealSexp::try_from_iter(iter)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 280 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_279_0() -> Result<(), Box> { [INFO] [stdout] 281 | use savvy::OwnedRealSexp; [INFO] [stdout] ... [INFO] [stdout] 285 | assert_eq!(real_sexp.as_slice(), &[2.0, 3.0]); [INFO] [stdout] 286 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/real.rs - sexp::real::RealSexp::iter (line 46) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/real.rs:48:70 [INFO] [stdout] | [INFO] [stdout] 47 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_46_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 48 | let real_sexp = savvy::OwnedRealSexp::try_from_slice([1.0, 2.0, 3.0])?.as_read_only(); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 47 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_46_0() -> Result<(), Box> { [INFO] [stdout] 48 | let real_sexp = savvy::OwnedRealSexp::try_from_slice([1.0, 2.0, 3.0])?.as_read_only(); [INFO] [stdout] ... [INFO] [stdout] 52 | assert_eq!(iter.as_slice(), &[2.0, 3.0]); [INFO] [stdout] 53 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/real.rs - sexp::real::OwnedRealSexp::new_without_init (line 224) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/real.rs:246:48 [INFO] [stdout] | [INFO] [stdout] 225 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_224_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 246 | let real_sexp = ::try_from(pair)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 225 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_224_0() -> Result<(), Box> { [INFO] [stdout] 226 | use savvy::OwnedRealSexp; [INFO] [stdout] ... [INFO] [stdout] 247 | assert_eq!(real_sexp.as_slice(), &[1.0, 2.0]); [INFO] [stdout] 248 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/string.rs - sexp::string::OwnedStringSexp::iter (line 67) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/string.rs:71:64 [INFO] [stdout] | [INFO] [stdout] 68 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_67_0() { [INFO] [stdout] | ------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 71 | let str_sexp = OwnedStringSexp::try_from_slice(["a", "b", "c"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 68 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_67_0() -> Result<(), Box> { [INFO] [stdout] 69 | use savvy::OwnedStringSexp; [INFO] [stdout] ... [INFO] [stdout] 74 | assert_eq!(iter.collect::>(), vec!["b", "c"]); [INFO] [stdout] 75 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/string.rs - sexp::string::StringSexp::iter (line 27) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/string.rs:29:71 [INFO] [stdout] | [INFO] [stdout] 28 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_27_0() { [INFO] [stdout] | ------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 29 | let str_sexp = savvy::OwnedStringSexp::try_from_slice(["a", "b", "c"])?.as_read_only(); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 28 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_27_0() -> Result<(), Box> { [INFO] [stdout] 29 | let str_sexp = savvy::OwnedStringSexp::try_from_slice(["a", "b", "c"])?.as_read_only(); [INFO] [stdout] ... [INFO] [stdout] 33 | assert_eq!(iter.collect::>(), vec!["b", "c"]); [INFO] [stdout] 34 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/raw.rs - sexp::raw::RawSexp::iter (line 45) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/raw.rs:47:65 [INFO] [stdout] | [INFO] [stdout] 46 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_45_0() { [INFO] [stdout] | --------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 47 | let raw_sexp = savvy::OwnedRawSexp::try_from_slice([1_u8, 2, 3])?.as_read_only(); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 46 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_45_0() -> Result<(), Box> { [INFO] [stdout] 47 | let raw_sexp = savvy::OwnedRawSexp::try_from_slice([1_u8, 2, 3])?.as_read_only(); [INFO] [stdout] ... [INFO] [stdout] 51 | assert_eq!(iter.as_slice(), &[2, 3]); [INFO] [stdout] 52 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/string.rs - sexp::string::OwnedStringSexp::new (line 135) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/string.rs:137:39 [INFO] [stdout] | [INFO] [stdout] 136 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_135_0() { [INFO] [stdout] | ------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 137 | let x = savvy::OwnedStringSexp::new(3)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 136 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_135_0() -> Result<(), Box> { [INFO] [stdout] 137 | let x = savvy::OwnedStringSexp::new(3)?; [INFO] [stdout] 138 | assert_eq!(x.to_vec(), vec!["", "", ""]); [INFO] [stdout] 139 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/real.rs - sexp::real::OwnedRealSexp::new (line 208) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/real.rs:210:37 [INFO] [stdout] | [INFO] [stdout] 209 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_208_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 210 | let x = savvy::OwnedRealSexp::new(3)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 209 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_208_0() -> Result<(), Box> { [INFO] [stdout] 210 | let x = savvy::OwnedRealSexp::new(3)?; [INFO] [stdout] 211 | assert_eq!(x.as_slice(), &[0.0, 0.0, 0.0]); [INFO] [stdout] 212 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/string.rs - sexp::string::OwnedStringSexp::try_from_slice (line 228) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/string.rs:232:68 [INFO] [stdout] | [INFO] [stdout] 229 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_228_0() { [INFO] [stdout] | ------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 232 | let str_sexp = OwnedStringSexp::try_from_slice(["foo", "❤", "bar"])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 229 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_228_0() -> Result<(), Box> { [INFO] [stdout] 230 | use savvy::OwnedStringSexp; [INFO] [stdout] ... [INFO] [stdout] 233 | assert_eq!(str_sexp.to_vec(), vec!["foo", "❤", "bar"]); [INFO] [stdout] 234 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/raw.rs - sexp::raw::RawSexp::as_slice (line 29) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/raw.rs:31:65 [INFO] [stdout] | [INFO] [stdout] 30 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_29_0() { [INFO] [stdout] | --------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 31 | let raw_sexp = savvy::OwnedRawSexp::try_from_slice([1_u8, 2, 3])?.as_read_only(); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 30 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_29_0() -> Result<(), Box> { [INFO] [stdout] 31 | let raw_sexp = savvy::OwnedRawSexp::try_from_slice([1_u8, 2, 3])?.as_read_only(); [INFO] [stdout] 32 | // `raw_sexp` is c(1L, 2L, 3L) [INFO] [stdout] 33 | assert_eq!(raw_sexp.as_slice(), &[1, 2, 3]); [INFO] [stdout] 34 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/real.rs - sexp::real::OwnedRealSexp::try_from_slice (line 342) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/real.rs:346:63 [INFO] [stdout] | [INFO] [stdout] 343 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_342_0() { [INFO] [stdout] | ----------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 346 | let real_sexp = OwnedRealSexp::try_from_slice([1.0, 2.0, 3.0])?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 343 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_342_0() -> Result<(), Box> { [INFO] [stdout] 344 | use savvy::OwnedRealSexp; [INFO] [stdout] ... [INFO] [stdout] 347 | assert_eq!(real_sexp.as_slice(), &[1.0, 2.0, 3.0]); [INFO] [stdout] 348 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/string.rs - sexp::string::OwnedStringSexp::try_from_scalar (line 252) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/string.rs:256:53 [INFO] [stdout] | [INFO] [stdout] 253 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_252_0() { [INFO] [stdout] | ------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 256 | let str_sexp = OwnedStringSexp::try_from_scalar("❤")?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 253 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_252_0() -> Result<(), Box> { [INFO] [stdout] 254 | use savvy::OwnedStringSexp; [INFO] [stdout] ... [INFO] [stdout] 257 | assert_eq!(str_sexp.to_vec(), vec!["❤"]); [INFO] [stdout] 258 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/string.rs - sexp::string::OwnedStringSexp::set_na (line 117) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/string.rs:122:43 [INFO] [stdout] | [INFO] [stdout] 118 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_117_0() { [INFO] [stdout] | ------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 122 | let mut str_sexp = OwnedStringSexp::new(3)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 118 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_117_0() -> Result<(), Box> { [INFO] [stdout] 119 | use savvy::OwnedStringSexp; [INFO] [stdout] ... [INFO] [stdout] 124 | assert_eq!(str_sexp.to_vec(), vec!["", "", <&str>::na()]); [INFO] [stdout] 125 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/string.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 118 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_117_0() { [INFO] [stdout] | ------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 123 | str_sexp.set_na(2)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 118 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_117_0() -> Result<(), Box> { [INFO] [stdout] 119 | use savvy::OwnedStringSexp; [INFO] [stdout] ... [INFO] [stdout] 124 | assert_eq!(str_sexp.to_vec(), vec!["", "", <&str>::na()]); [INFO] [stdout] 125 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/raw.rs - sexp::raw::OwnedRawSexp::try_from_scalar (line 338) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/raw.rs:342:48 [INFO] [stdout] | [INFO] [stdout] 339 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_338_0() { [INFO] [stdout] | ---------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 342 | let raw_sexp = OwnedRawSexp::try_from_scalar(1)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 339 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_338_0() -> Result<(), Box> { [INFO] [stdout] 340 | use savvy::OwnedRawSexp; [INFO] [stdout] ... [INFO] [stdout] 343 | assert_eq!(raw_sexp.as_slice(), &[1]); [INFO] [stdout] 344 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/string.rs - sexp::string::OwnedStringSexp::set_elt (line 92) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/string.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 93 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_92_0() { [INFO] [stdout] | ------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 96 | let mut str_sexp = OwnedStringSexp::new(3)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 93 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_92_0() -> Result<(), Box> { [INFO] [stdout] 94 | use savvy::OwnedStringSexp; [INFO] [stdout] ... [INFO] [stdout] 98 | assert_eq!(str_sexp.to_vec(), &["", "", "foo"]); [INFO] [stdout] 99 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/string.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 93 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_92_0() { [INFO] [stdout] | ------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 97 | str_sexp.set_elt(2, "foo")?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 93 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_92_0() -> Result<(), Box> { [INFO] [stdout] 94 | use savvy::OwnedStringSexp; [INFO] [stdout] ... [INFO] [stdout] 98 | assert_eq!(str_sexp.to_vec(), &["", "", "foo"]); [INFO] [stdout] 99 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/string.rs - sexp::string::StringSexp::to_vec (line 46) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/string.rs:48:71 [INFO] [stdout] | [INFO] [stdout] 47 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_46_0() { [INFO] [stdout] | ------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 48 | let str_sexp = savvy::OwnedStringSexp::try_from_slice(["a", "b", "c"])?.as_read_only(); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 47 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_46_0() -> Result<(), Box> { [INFO] [stdout] 48 | let str_sexp = savvy::OwnedStringSexp::try_from_slice(["a", "b", "c"])?.as_read_only(); [INFO] [stdout] 49 | // `str_sexp` is c("a", "b", "c") [INFO] [stdout] 50 | assert_eq!(str_sexp.to_vec(), vec!["a", "b", "c"]); [INFO] [stdout] 51 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sexp/string.rs - sexp::string::OwnedStringSexp::try_from_iter (line 167) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sexp/string.rs:172:52 [INFO] [stdout] | [INFO] [stdout] 168 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_167_0() { [INFO] [stdout] | ------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 172 | let str_sexp = OwnedStringSexp::try_from_iter(iter)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 168 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_167_0() -> Result<(), Box> { [INFO] [stdout] 169 | use savvy::OwnedStringSexp; [INFO] [stdout] ... [INFO] [stdout] 173 | assert_eq!(str_sexp.to_vec(), vec!["foo", "bar"]); [INFO] [stdout] 174 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/eval.rs - eval::assert_eq_r_code (line 74) [INFO] [stdout] src/lib.rs - (line 20) [INFO] [stdout] src/sexp/integer.rs - sexp::integer::IntegerSexp::as_slice (line 30) [INFO] [stdout] src/sexp/integer.rs - sexp::integer::IntegerSexp::iter (line 46) [INFO] [stdout] src/sexp/integer.rs - sexp::integer::IntegerSexp::to_vec (line 68) [INFO] [stdout] src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::as_mut_slice (line 106) [INFO] [stdout] src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::as_slice (line 89) [INFO] [stdout] src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::iter_mut (line 130) [INFO] [stdout] src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::new (line 205) [INFO] [stdout] src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::new_without_init (line 221) [INFO] [stdout] src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::set_elt (line 150) [INFO] [stdout] src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::set_na (line 174) [INFO] [stdout] src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::try_from_iter (line 276) [INFO] [stdout] src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::try_from_scalar (line 359) [INFO] [stdout] src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::try_from_slice (line 339) [INFO] [stdout] src/sexp/logical.rs - sexp::logical::LogicalSexp::as_slice_raw (line 28) [INFO] [stdout] src/sexp/logical.rs - sexp::logical::LogicalSexp::iter (line 48) [INFO] [stdout] src/sexp/logical.rs - sexp::logical::LogicalSexp::to_vec (line 65) [INFO] [stdout] src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::iter (line 96) [INFO] [stdout] src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::new (line 177) [INFO] [stdout] src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::new_without_init (line 193) [INFO] [stdout] src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::set_elt (line 120) [INFO] [stdout] src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::set_na (line 146) [INFO] [stdout] src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::try_from_iter (line 247) [INFO] [stdout] src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::try_from_scalar (line 333) [INFO] [stdout] src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::try_from_slice (line 310) [INFO] [stdout] src/sexp/numeric.rs - sexp::numeric::NumericSexp::as_slice_f64 (line 192) [INFO] [stdout] src/sexp/numeric.rs - sexp::numeric::NumericSexp::as_slice_i32 (line 158) [INFO] [stdout] src/sexp/numeric.rs - sexp::numeric::NumericSexp::iter_f64 (line 271) [INFO] [stdout] src/sexp/numeric.rs - sexp::numeric::NumericSexp::iter_i32 (line 229) [INFO] [stdout] src/sexp/raw.rs - sexp::raw::OwnedRawSexp::as_mut_slice (line 105) [INFO] [stdout] src/sexp/raw.rs - sexp::raw::OwnedRawSexp::as_slice (line 88) [INFO] [stdout] src/sexp/raw.rs - sexp::raw::OwnedRawSexp::iter_mut (line 129) [INFO] [stdout] src/sexp/raw.rs - sexp::raw::OwnedRawSexp::new (line 184) [INFO] [stdout] src/sexp/raw.rs - sexp::raw::OwnedRawSexp::new_without_init (line 200) [INFO] [stdout] src/sexp/raw.rs - sexp::raw::OwnedRawSexp::set_elt (line 149) [INFO] [stdout] src/sexp/raw.rs - sexp::raw::OwnedRawSexp::try_from_iter (line 255) [INFO] [stdout] src/sexp/raw.rs - sexp::raw::OwnedRawSexp::try_from_scalar (line 338) [INFO] [stdout] src/sexp/raw.rs - sexp::raw::OwnedRawSexp::try_from_slice (line 318) [INFO] [stdout] src/sexp/raw.rs - sexp::raw::RawSexp::as_slice (line 29) [INFO] [stdout] src/sexp/raw.rs - sexp::raw::RawSexp::iter (line 45) [INFO] [stdout] src/sexp/raw.rs - sexp::raw::RawSexp::to_vec (line 67) [INFO] [stdout] src/sexp/real.rs - sexp::real::OwnedRealSexp::as_mut_slice (line 106) [INFO] [stdout] src/sexp/real.rs - sexp::real::OwnedRealSexp::as_slice (line 89) [INFO] [stdout] src/sexp/real.rs - sexp::real::OwnedRealSexp::iter_mut (line 130) [INFO] [stdout] src/sexp/real.rs - sexp::real::OwnedRealSexp::new (line 208) [INFO] [stdout] src/sexp/real.rs - sexp::real::OwnedRealSexp::new_without_init (line 224) [INFO] [stdout] src/sexp/real.rs - sexp::real::OwnedRealSexp::set_elt (line 150) [INFO] [stdout] src/sexp/real.rs - sexp::real::OwnedRealSexp::set_na (line 174) [INFO] [stdout] src/sexp/real.rs - sexp::real::OwnedRealSexp::try_from_iter (line 279) [INFO] [stdout] src/sexp/real.rs - sexp::real::OwnedRealSexp::try_from_scalar (line 362) [INFO] [stdout] src/sexp/real.rs - sexp::real::OwnedRealSexp::try_from_slice (line 342) [INFO] [stdout] src/sexp/real.rs - sexp::real::RealSexp::as_slice (line 30) [INFO] [stdout] src/sexp/real.rs - sexp::real::RealSexp::iter (line 46) [INFO] [stdout] src/sexp/real.rs - sexp::real::RealSexp::to_vec (line 68) [INFO] [stdout] src/sexp/string.rs - sexp::string::OwnedStringSexp::iter (line 67) [INFO] [stdout] src/sexp/string.rs - sexp::string::OwnedStringSexp::new (line 135) [INFO] [stdout] src/sexp/string.rs - sexp::string::OwnedStringSexp::set_elt (line 92) [INFO] [stdout] src/sexp/string.rs - sexp::string::OwnedStringSexp::set_na (line 117) [INFO] [stdout] src/sexp/string.rs - sexp::string::OwnedStringSexp::try_from_iter (line 167) [INFO] [stdout] src/sexp/string.rs - sexp::string::OwnedStringSexp::try_from_scalar (line 252) [INFO] [stdout] src/sexp/string.rs - sexp::string::OwnedStringSexp::try_from_slice (line 228) [INFO] [stdout] src/sexp/string.rs - sexp::string::StringSexp::iter (line 27) [INFO] [stdout] src/sexp/string.rs - sexp::string::StringSexp::to_vec (line 46) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 64 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.48s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.71s; merged doctests compilation took 0.22s [INFO] running `Command { std: "docker" "inspect" "8733cd781c8233ddcfcef66bcc897a7eb157e3d27cb1e3ea810fc11e3bb86e66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8733cd781c8233ddcfcef66bcc897a7eb157e3d27cb1e3ea810fc11e3bb86e66", kill_on_drop: false }` [INFO] [stdout] 8733cd781c8233ddcfcef66bcc897a7eb157e3d27cb1e3ea810fc11e3bb86e66