[INFO] fetching crate savvy 0.8.13... [INFO] testing savvy-0.8.13 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate savvy 0.8.13 into /workspace/builds/worker-7-tc2/source [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate savvy 0.8.13 [INFO] finished tweaking crates.io crate savvy 0.8.13 [INFO] tweaked toml for crates.io crate savvy 0.8.13 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate savvy 0.8.13 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate savvy 0.8.13 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75b92b7a9cdc49d016b86ba68b938560931d061ced0d980189964b3c2e1c224f [INFO] running `Command { std: "docker" "start" "-a" "75b92b7a9cdc49d016b86ba68b938560931d061ced0d980189964b3c2e1c224f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75b92b7a9cdc49d016b86ba68b938560931d061ced0d980189964b3c2e1c224f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75b92b7a9cdc49d016b86ba68b938560931d061ced0d980189964b3c2e1c224f", kill_on_drop: false }` [INFO] [stdout] 75b92b7a9cdc49d016b86ba68b938560931d061ced0d980189964b3c2e1c224f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fcecc4d3fd2cb8327d2c75143e43a9ead7565ddaeb07fe2c4329792217dbb4b [INFO] running `Command { std: "docker" "start" "-a" "8fcecc4d3fd2cb8327d2c75143e43a9ead7565ddaeb07fe2c4329792217dbb4b", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling savvy-ffi v0.8.13 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling savvy v0.8.13 (/opt/rustwide/workdir) [INFO] [stderr] warning: savvy@0.8.13: R_INCLUDE_DIR envvar should be provided. [INFO] [stderr] Compiling savvy-bindgen v0.8.13 [INFO] [stderr] Compiling savvy-macro v0.8.13 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.32s [INFO] running `Command { std: "docker" "inspect" "8fcecc4d3fd2cb8327d2c75143e43a9ead7565ddaeb07fe2c4329792217dbb4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fcecc4d3fd2cb8327d2c75143e43a9ead7565ddaeb07fe2c4329792217dbb4b", kill_on_drop: false }` [INFO] [stdout] 8fcecc4d3fd2cb8327d2c75143e43a9ead7565ddaeb07fe2c4329792217dbb4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0669ce7272dffe4c66c65d8b62af1f6ebe57c7bfcba1bc47cfb901c6385e1f1 [INFO] running `Command { std: "docker" "start" "-a" "a0669ce7272dffe4c66c65d8b62af1f6ebe57c7bfcba1bc47cfb901c6385e1f1", kill_on_drop: false }` [INFO] [stderr] warning: savvy@0.8.13: R_INCLUDE_DIR envvar should be provided. [INFO] [stderr] Compiling savvy v0.8.13 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "a0669ce7272dffe4c66c65d8b62af1f6ebe57c7bfcba1bc47cfb901c6385e1f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0669ce7272dffe4c66c65d8b62af1f6ebe57c7bfcba1bc47cfb901c6385e1f1", kill_on_drop: false }` [INFO] [stdout] a0669ce7272dffe4c66c65d8b62af1f6ebe57c7bfcba1bc47cfb901c6385e1f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6ccaefe075063fed37bf57ffe6e8e9907dc2011a6c4301e5360e40e2043381e5 [INFO] running `Command { std: "docker" "start" "-a" "6ccaefe075063fed37bf57ffe6e8e9907dc2011a6c4301e5360e40e2043381e5", kill_on_drop: false }` [INFO] [stderr] warning: savvy@0.8.13: R_INCLUDE_DIR envvar should be provided. [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/savvy-ef69c4981839f9f6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests savvy [INFO] [stdout] [INFO] [stdout] running 64 tests [INFO] [stdout] test src/lib.rs - (line 20) - compile ... FAILED [INFO] [stdout] test src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::iter_mut (line 130) ... FAILED [INFO] [stdout] test src/eval.rs - eval::assert_eq_r_code (line 73) ... FAILED [INFO] [stdout] test src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::new (line 205) ... FAILED [INFO] [stdout] test src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::as_slice (line 89) ... FAILED [INFO] [stdout] test src/sexp/integer.rs - sexp::integer::IntegerSexp::to_vec (line 68) ... FAILED [INFO] [stdout] test src/sexp/integer.rs - sexp::integer::IntegerSexp::as_slice (line 30) ... FAILED [INFO] [stdout] test src/sexp/integer.rs - sexp::integer::IntegerSexp::iter (line 46) ... FAILED [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::set_elt (line 150) ... FAILED [INFO] [stdout] test src/sexp/logical.rs - sexp::logical::LogicalSexp::to_vec (line 65) ... FAILED [INFO] [stdout] test src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::new_without_init (line 221) ... 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::try_from_slice (line 339) ... FAILED [INFO] [stdout] test src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::try_from_iter (line 276) ... FAILED [INFO] [stdout] test src/sexp/logical.rs - sexp::logical::LogicalSexp::as_slice_raw (line 28) ... 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::LogicalSexp::iter (line 48) ... FAILED [INFO] [stdout] test src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::new (line 177) ... FAILED [INFO] [stdout] test src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::try_from_scalar (line 333) ... FAILED [INFO] [stdout] test src/sexp/integer.rs - sexp::integer::OwnedIntegerSexp::try_from_scalar (line 359) ... 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::new_without_init (line 193) ... FAILED [INFO] [stdout] test src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::try_from_iter (line 247) ... FAILED [INFO] [stdout] test src/sexp/numeric.rs - sexp::numeric::NumericSexp::as_slice_i32 (line 162) ... FAILED [INFO] [stdout] test src/sexp/numeric.rs - sexp::numeric::NumericSexp::iter_f64 (line 275) ... FAILED [INFO] [stdout] test src/sexp/raw.rs - sexp::raw::OwnedRawSexp::as_slice (line 88) ... FAILED [INFO] [stdout] test src/sexp/numeric.rs - sexp::numeric::NumericSexp::as_slice_f64 (line 196) ... FAILED [INFO] [stdout] test src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::set_na (line 146) ... FAILED [INFO] [stdout] test src/sexp/raw.rs - sexp::raw::OwnedRawSexp::as_mut_slice (line 105) ... FAILED [INFO] [stdout] test src/sexp/numeric.rs - sexp::numeric::NumericSexp::iter_i32 (line 233) ... FAILED [INFO] [stdout] test src/sexp/raw.rs - sexp::raw::OwnedRawSexp::iter_mut (line 129) ... FAILED [INFO] [stdout] test src/sexp/logical.rs - sexp::logical::OwnedLogicalSexp::try_from_slice (line 310) ... FAILED [INFO] [stdout] test src/sexp/raw.rs - sexp::raw::OwnedRawSexp::set_elt (line 149) ... FAILED [INFO] [stdout] test src/sexp/raw.rs - sexp::raw::OwnedRawSexp::new_without_init (line 200) ... FAILED [INFO] [stdout] test src/sexp/raw.rs - sexp::raw::RawSexp::as_slice (line 29) ... FAILED [INFO] [stdout] test src/sexp/raw.rs - sexp::raw::OwnedRawSexp::new (line 184) ... 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::OwnedRealSexp::iter_mut (line 130) ... FAILED [INFO] [stdout] test src/sexp/raw.rs - sexp::raw::OwnedRawSexp::try_from_scalar (line 338) ... 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::OwnedRealSexp::as_slice (line 89) ... FAILED [INFO] [stdout] test src/sexp/raw.rs - sexp::raw::RawSexp::iter (line 45) ... FAILED [INFO] [stdout] test src/sexp/raw.rs - sexp::raw::OwnedRawSexp::try_from_iter (line 255) ... FAILED [INFO] [stdout] test src/sexp/real.rs - sexp::real::OwnedRealSexp::as_mut_slice (line 106) ... FAILED [INFO] [stdout] test src/sexp/real.rs - sexp::real::OwnedRealSexp::new (line 208) ... FAILED [INFO] [stdout] test src/sexp/real.rs - sexp::real::OwnedRealSexp::set_na (line 174) ... FAILED [INFO] [stdout] test src/sexp/real.rs - sexp::real::OwnedRealSexp::try_from_scalar (line 362) ... FAILED [INFO] [stdout] test src/sexp/real.rs - sexp::real::RealSexp::iter (line 46) ... 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::new_without_init (line 224) ... FAILED [INFO] [stdout] test src/sexp/real.rs - sexp::real::OwnedRealSexp::try_from_iter (line 279) ... 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::try_from_slice (line 342) ... 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::OwnedStringSexp::iter (line 67) ... FAILED [INFO] [stdout] test src/sexp/real.rs - sexp::real::RealSexp::as_slice (line 30) ... FAILED [INFO] [stdout] test src/sexp/string.rs - sexp::string::OwnedStringSexp::new (line 135) ... 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_scalar (line 252) ... FAILED [INFO] [stdout] test src/sexp/string.rs - sexp::string::StringSexp::iter (line 27) ... FAILED [INFO] [stdout] test src/sexp/string.rs - sexp::string::OwnedStringSexp::set_na (line 117) ... FAILED [INFO] [stdout] test src/sexp/string.rs - sexp::string::OwnedStringSexp::try_from_slice (line 228) ... FAILED [INFO] [stdout] test src/sexp/string.rs - sexp::string::OwnedStringSexp::try_from_iter (line 167) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 20) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `StringSexp` in this scope [INFO] [stdout] --> src/lib.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 12 | 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] 2 + use savvy::StringSexp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwnedStringSexp` [INFO] [stdout] --> src/lib.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 14 | 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] 2 + 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: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_130_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedIntegerSexp; [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(int_sexp.as_slice(), &[2, 4, 6]); [INFO] [stdout] 10+ 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 73) 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:77:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_eval_rs_73_0() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_eval_rs_73_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::assert_eq_r_code; [INFO] [stdout] ... [INFO] [stdout] 10| assert_eq_r_code(x, "c(0.0, 1.0, 2.0)"); [INFO] [stdout] 11+ 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] 4 | 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] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_205_0() -> Result<(), Box> { [INFO] [stdout] 5 | let x = savvy::OwnedIntegerSexp::new(3)?; [INFO] [stdout] 6 | assert_eq!(x.as_slice(), &[0, 0, 0]); [INFO] [stdout] 7 + 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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_89_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedIntegerSexp; [INFO] [stdout] ... [INFO] [stdout] 8 | assert_eq!(int_sexp.as_slice(), &[1, 2, 3]); [INFO] [stdout] 9 + 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] 4 | 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] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_68_0() -> Result<(), Box> { [INFO] [stdout] 5 | let int_sexp = savvy::OwnedIntegerSexp::try_from_slice([1, 2, 3])?.as_read_only(); [INFO] [stdout] 6 | // `int_sexp` is c(1L, 2L, 3L) [INFO] [stdout] 7 | assert_eq!(int_sexp.to_vec(), vec![1, 2, 3]); [INFO] [stdout] 8 + 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::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] 4 | 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] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_30_0() -> Result<(), Box> { [INFO] [stdout] 5 | let int_sexp = savvy::OwnedIntegerSexp::try_from_slice([1, 2, 3])?.as_read_only(); [INFO] [stdout] 6 | // `int_sexp` is c(1L, 2L, 3L) [INFO] [stdout] 7 | assert_eq!(int_sexp.as_slice(), &[1, 2, 3]); [INFO] [stdout] 8 + 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::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] 4 | 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] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_46_0() -> Result<(), Box> { [INFO] [stdout] 5 | let int_sexp = savvy::OwnedIntegerSexp::try_from_slice([1, 2, 3])?.as_read_only(); [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(iter.as_slice(), &[2, 3]); [INFO] [stdout] 10+ 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_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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_106_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedIntegerSexp; [INFO] [stdout] ... [INFO] [stdout] 10| assert_eq!(int_sexp.as_slice(), &[0, 0, 10]); [INFO] [stdout] 11+ 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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_150_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedIntegerSexp; [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(int_sexp.as_slice(), &[0, 0, 10]); [INFO] [stdout] 10+ 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] 4 | 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] 8 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_150_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedIntegerSexp; [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(int_sexp.as_slice(), &[0, 0, 10]); [INFO] [stdout] 10+ 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] 4 | 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] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_65_0() -> Result<(), Box> { [INFO] [stdout] 5 | let lgl_sexp = savvy::OwnedLogicalSexp::try_from_slice([true, true, false])?.as_read_only(); [INFO] [stdout] 6 | // `lgl_sexp` is c(TRUE, TRUE, FALSE) [INFO] [stdout] 7 | assert_eq!(lgl_sexp.to_vec(), vec![true, true, false]); [INFO] [stdout] 8 + 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_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] 4 | 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] 25 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_221_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedIntegerSexp; [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(int_sexp.as_slice(), &[1, 2]); [INFO] [stdout] 27 + 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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_96_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedLogicalSexp; [INFO] [stdout] ... [INFO] [stdout] 11| assert_eq!(iter.collect::>(), vec![true, false]); [INFO] [stdout] 12+ 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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_339_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedIntegerSexp; [INFO] [stdout] ... [INFO] [stdout] 8 | assert_eq!(int_sexp.as_slice(), &[1, 2, 3]); [INFO] [stdout] 9 + 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_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] 4 | 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] 8 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_276_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedIntegerSexp; [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(int_sexp.as_slice(), &[0, 2, 4, 6, 8]); [INFO] [stdout] 10+ 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] 4 | 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] 5 | use savvy::NotAvailableValue; [INFO] [stdout] 6 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_28_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::NotAvailableValue; [INFO] [stdout] ... [INFO] [stdout] 11| assert_eq!(lgl_sexp.as_slice_raw(), &[1, 0, ::na()]); [INFO] [stdout] 12+ 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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_28_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::NotAvailableValue; [INFO] [stdout] ... [INFO] [stdout] 11| assert_eq!(lgl_sexp.as_slice_raw(), &[1, 0, ::na()]); [INFO] [stdout] 12+ 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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_120_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedLogicalSexp; [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(lgl_sexp.to_vec(), vec![false, false, true]); [INFO] [stdout] 10+ 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] 4 | 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] 8 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_120_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedLogicalSexp; [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(lgl_sexp.to_vec(), vec![false, false, true]); [INFO] [stdout] 10+ 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::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] 4 | 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] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_48_0() -> Result<(), Box> { [INFO] [stdout] 5 | let lgl_sexp = savvy::OwnedLogicalSexp::try_from_slice([true, true, false])?.as_read_only(); [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(iter.collect::>(), vec![true, false]); [INFO] [stdout] 10+ 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 (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] 4 | 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] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_177_0() -> Result<(), Box> { [INFO] [stdout] 5 | let x = savvy::OwnedLogicalSexp::new(3)?; [INFO] [stdout] 6 | assert_eq!(x.to_vec(), vec![false, false, false]); [INFO] [stdout] 7 + 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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_333_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedLogicalSexp; [INFO] [stdout] ... [INFO] [stdout] 8 | assert_eq!(lgl_sexp.to_vec(), vec![true]); [INFO] [stdout] 9 + 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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_359_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedIntegerSexp; [INFO] [stdout] ... [INFO] [stdout] 8 | assert_eq!(int_sexp.as_slice(), &[1]); [INFO] [stdout] 9 + 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] 4 | 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] 8 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_174_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedIntegerSexp; [INFO] [stdout] ... [INFO] [stdout] 10| assert_eq!(int_sexp.as_slice(), &[0, 0, ::na()]); [INFO] [stdout] 11+ 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] 4 | 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] 9 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_integer_rs_174_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedIntegerSexp; [INFO] [stdout] ... [INFO] [stdout] 10| assert_eq!(int_sexp.as_slice(), &[0, 0, ::na()]); [INFO] [stdout] 11+ 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_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] 4 | 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] 25 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_193_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedLogicalSexp; [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(lgl_sexp.to_vec(), vec![true, false]); [INFO] [stdout] 27 + 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] 4 | 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] 8 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_247_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedLogicalSexp; [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(lgl_sexp.to_vec(), vec![true, true]); [INFO] [stdout] 10+ 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 162) 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:164:69 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_162_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_162_0() -> Result<(), Box> { [INFO] [stdout] 5 | let int_sexp = savvy::OwnedRealSexp::try_from_slice([1.0, 2.0, 3.0])?.as_read_only(); [INFO] [stdout] ... [INFO] [stdout] 8 | assert_eq!(num_sexp.as_slice_i32().unwrap(), &[1, 2, 3]); [INFO] [stdout] 9 + 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:165:55 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_162_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 5 | let int_sexp = savvy::OwnedRealSexp::try_from_slice([1.0, 2.0, 3.0])?.as_read_only(); [INFO] [stdout] 6 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_162_0() -> Result<(), Box> { [INFO] [stdout] 5 | let int_sexp = savvy::OwnedRealSexp::try_from_slice([1.0, 2.0, 3.0])?.as_read_only(); [INFO] [stdout] ... [INFO] [stdout] 8 | assert_eq!(num_sexp.as_slice_i32().unwrap(), &[1, 2, 3]); [INFO] [stdout] 9 + 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_f64 (line 275) 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:279:75 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_275_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_275_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::NotAvailableValue; [INFO] [stdout] ... [INFO] [stdout] 24| assert!(e2.unwrap().is_err()); [INFO] [stdout] 25+ 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:280:55 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_275_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 8 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_275_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::NotAvailableValue; [INFO] [stdout] ... [INFO] [stdout] 24| assert!(e2.unwrap().is_err()); [INFO] [stdout] 25+ 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:286:23 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_275_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 14 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_275_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::NotAvailableValue; [INFO] [stdout] ... [INFO] [stdout] 24 | assert!(e2.unwrap().is_err()); [INFO] [stdout] 25 + 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:291:20 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_275_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 19 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_275_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::NotAvailableValue; [INFO] [stdout] ... [INFO] [stdout] 24 | assert!(e2.unwrap().is_err()); [INFO] [stdout] 25 + 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/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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_88_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedRawSexp; [INFO] [stdout] ... [INFO] [stdout] 8 | assert_eq!(raw_sexp.as_slice(), &[1, 2, 3]); [INFO] [stdout] 9 + 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 196) 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:198:66 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_196_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_196_0() -> Result<(), Box> { [INFO] [stdout] 5 | let int_sexp = savvy::OwnedIntegerSexp::try_from_slice([1, 2, 3])?.as_read_only(); [INFO] [stdout] ... [INFO] [stdout] 8 | assert_eq!(num_sexp.as_slice_f64(), &[1.0, 2.0, 3.0]); [INFO] [stdout] 9 + 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:199:55 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_196_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 5 | let int_sexp = savvy::OwnedIntegerSexp::try_from_slice([1, 2, 3])?.as_read_only(); [INFO] [stdout] 6 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_196_0() -> Result<(), Box> { [INFO] [stdout] 5 | let int_sexp = savvy::OwnedIntegerSexp::try_from_slice([1, 2, 3])?.as_read_only(); [INFO] [stdout] ... [INFO] [stdout] 8 | assert_eq!(num_sexp.as_slice_f64(), &[1.0, 2.0, 3.0]); [INFO] [stdout] 9 + 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_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] 4 | 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] 8 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_146_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedLogicalSexp; [INFO] [stdout] ... [INFO] [stdout] 10| assert_eq!(lgl_sexp.as_read_only().as_slice_raw(), &[0, 0, ::na()]); [INFO] [stdout] 11+ 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] 4 | 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] 9 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_146_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedLogicalSexp; [INFO] [stdout] ... [INFO] [stdout] 10| assert_eq!(lgl_sexp.as_read_only().as_slice_raw(), &[0, 0, ::na()]); [INFO] [stdout] 11+ 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_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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_105_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedRawSexp; [INFO] [stdout] ... [INFO] [stdout] 10| assert_eq!(raw_sexp.as_slice(), &[0, 0, 10]); [INFO] [stdout] 11+ 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_i32 (line 233) 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:237:71 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_233_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_233_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::NotAvailableValue; [INFO] [stdout] ... [INFO] [stdout] 17| assert!(e1.unwrap().is_na()); [INFO] [stdout] 18+ 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:238:55 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_233_0() { [INFO] [stdout] | -------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 8 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_numeric_rs_233_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::NotAvailableValue; [INFO] [stdout] ... [INFO] [stdout] 17| assert!(e1.unwrap().is_na()); [INFO] [stdout] 18+ 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::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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_129_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedRawSexp; [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(raw_sexp.as_slice(), &[2, 4, 6]); [INFO] [stdout] 10+ 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_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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_logical_rs_310_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedLogicalSexp; [INFO] [stdout] ... [INFO] [stdout] 8 | assert_eq!(lgl_sexp.to_vec(), vec![false, true, true]); [INFO] [stdout] 9 + 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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_149_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedRawSexp; [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(raw_sexp.as_slice(), &[0, 0, 10]); [INFO] [stdout] 10+ 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] 4 | 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] 8 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_149_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedRawSexp; [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(raw_sexp.as_slice(), &[0, 0, 10]); [INFO] [stdout] 10+ 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::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] 4 | 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] 25 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_200_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedRawSexp; [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(raw_sexp.as_slice(), &[1, 2]); [INFO] [stdout] 27 + 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] 4 | 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] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_29_0() -> Result<(), Box> { [INFO] [stdout] 5 | let raw_sexp = savvy::OwnedRawSexp::try_from_slice([1_u8, 2, 3])?.as_read_only(); [INFO] [stdout] 6 | // `raw_sexp` is c(1L, 2L, 3L) [INFO] [stdout] 7 | assert_eq!(raw_sexp.as_slice(), &[1, 2, 3]); [INFO] [stdout] 8 + 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] 4 | 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] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_184_0() -> Result<(), Box> { [INFO] [stdout] 5 | let x = savvy::OwnedRawSexp::new(3)?; [INFO] [stdout] 6 | assert_eq!(x.as_slice(), &[0, 0, 0]); [INFO] [stdout] 7 + 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] 4 | 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] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_67_0() -> Result<(), Box> { [INFO] [stdout] 5 | let raw_sexp = savvy::OwnedRawSexp::try_from_slice([1_u8, 2, 3])?.as_read_only(); [INFO] [stdout] 6 | // `raw_sexp` is c(1L, 2L, 3L) [INFO] [stdout] 7 | assert_eq!(raw_sexp.to_vec(), vec![1, 2, 3]); [INFO] [stdout] 8 + 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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_130_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedRealSexp; [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(real_sexp.as_slice(), &[2.0, 4.0, 6.0]); [INFO] [stdout] 10+ 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_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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_338_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedRawSexp; [INFO] [stdout] ... [INFO] [stdout] 8 | assert_eq!(raw_sexp.as_slice(), &[1]); [INFO] [stdout] 9 + 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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_150_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedRealSexp; [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(real_sexp.as_slice(), &[0.0, 0.0, 10.0]); [INFO] [stdout] 10+ 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] 4 | 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] 8 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_150_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedRealSexp; [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(real_sexp.as_slice(), &[0.0, 0.0, 10.0]); [INFO] [stdout] 10+ 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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_89_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedRealSexp; [INFO] [stdout] ... [INFO] [stdout] 8 | assert_eq!(real_sexp.to_vec(), vec![1.0, 2.0, 3.0]); [INFO] [stdout] 9 + 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] 4 | 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] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_45_0() -> Result<(), Box> { [INFO] [stdout] 5 | let raw_sexp = savvy::OwnedRawSexp::try_from_slice([1_u8, 2, 3])?.as_read_only(); [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(iter.as_slice(), &[2, 3]); [INFO] [stdout] 10+ 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] 4 | 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] 8 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_255_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedRawSexp; [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(raw_sexp.as_slice(), &[0, 2, 4, 6, 8]); [INFO] [stdout] 10+ 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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_106_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedRealSexp; [INFO] [stdout] ... [INFO] [stdout] 10| assert_eq!(real_sexp.as_slice(), &[0.0, 0.0, 10.0]); [INFO] [stdout] 11+ 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] 4 | 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] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_208_0() -> Result<(), Box> { [INFO] [stdout] 5 | let x = savvy::OwnedRealSexp::new(3)?; [INFO] [stdout] 6 | assert_eq!(x.as_slice(), &[0.0, 0.0, 0.0]); [INFO] [stdout] 7 + 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] 4 | 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] 8 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_174_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedRealSexp; [INFO] [stdout] ... [INFO] [stdout] 13| assert!(real_sexp[2].is_na()); [INFO] [stdout] 14+ 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] 4 | 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] 9 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_174_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedRealSexp; [INFO] [stdout] ... [INFO] [stdout] 13| assert!(real_sexp[2].is_na()); [INFO] [stdout] 14+ 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::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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_362_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedRealSexp; [INFO] [stdout] ... [INFO] [stdout] 8 | assert_eq!(real_sexp.as_slice(), &[1.0]); [INFO] [stdout] 9 + 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] 4 | 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] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_46_0() -> Result<(), Box> { [INFO] [stdout] 5 | let real_sexp = savvy::OwnedRealSexp::try_from_slice([1.0, 2.0, 3.0])?.as_read_only(); [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(iter.as_slice(), &[2.0, 3.0]); [INFO] [stdout] 10+ 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] 4 | 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] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_68_0() -> Result<(), Box> { [INFO] [stdout] 5 | let real_sexp = savvy::OwnedRealSexp::try_from_slice([1.0, 2.0, 3.0])?.as_read_only(); [INFO] [stdout] 6 | // `real_sexp` is c(1.0, 2.0, 3.0) [INFO] [stdout] 7 | assert_eq!(real_sexp.to_vec(), vec![1.0, 2.0, 3.0]); [INFO] [stdout] 8 + 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] 4 | 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] 25 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_224_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedRealSexp; [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(real_sexp.as_slice(), &[1.0, 2.0]); [INFO] [stdout] 27 + 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] 4 | 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] 8 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_279_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedRealSexp; [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(real_sexp.as_slice(), &[2.0, 3.0]); [INFO] [stdout] 10+ 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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_raw_rs_318_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedRawSexp; [INFO] [stdout] ... [INFO] [stdout] 8 | assert_eq!(raw_sexp.as_slice(), &[1, 2, 3]); [INFO] [stdout] 9 + 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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_342_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedRealSexp; [INFO] [stdout] ... [INFO] [stdout] 8 | assert_eq!(real_sexp.as_slice(), &[1.0, 2.0, 3.0]); [INFO] [stdout] 9 + 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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_92_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedStringSexp; [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(str_sexp.to_vec(), &["", "", "foo"]); [INFO] [stdout] 10+ 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] 4 | 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] 8 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_92_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedStringSexp; [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(str_sexp.to_vec(), &["", "", "foo"]); [INFO] [stdout] 10+ 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::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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_67_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedStringSexp; [INFO] [stdout] ... [INFO] [stdout] 10| assert_eq!(iter.collect::>(), vec!["b", "c"]); [INFO] [stdout] 11+ 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::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] 4 | 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] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_real_rs_30_0() -> Result<(), Box> { [INFO] [stdout] 5 | let real_sexp = savvy::OwnedRealSexp::try_from_slice([1.0, 2.0, 3.0])?.as_read_only(); [INFO] [stdout] 6 | // `real_sexp` is c(1.0, 2.0, 3.0) [INFO] [stdout] 7 | assert_eq!(real_sexp.as_slice(), &[1.0, 2.0, 3.0]); [INFO] [stdout] 8 + 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] 4 | 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] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_135_0() -> Result<(), Box> { [INFO] [stdout] 5 | let x = savvy::OwnedStringSexp::new(3)?; [INFO] [stdout] 6 | assert_eq!(x.to_vec(), vec!["", "", ""]); [INFO] [stdout] 7 + 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::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] 4 | 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] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_46_0() -> Result<(), Box> { [INFO] [stdout] 5 | let str_sexp = savvy::OwnedStringSexp::try_from_slice(["a", "b", "c"])?.as_read_only(); [INFO] [stdout] 6 | // `str_sexp` is c("a", "b", "c") [INFO] [stdout] 7 | assert_eq!(str_sexp.to_vec(), vec!["a", "b", "c"]); [INFO] [stdout] 8 + 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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_252_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedStringSexp; [INFO] [stdout] ... [INFO] [stdout] 8 | assert_eq!(str_sexp.to_vec(), vec!["❤"]); [INFO] [stdout] 9 + 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] 4 | 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] 5 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_27_0() -> Result<(), Box> { [INFO] [stdout] 5 | let str_sexp = savvy::OwnedStringSexp::try_from_slice(["a", "b", "c"])?.as_read_only(); [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(iter.collect::>(), vec!["b", "c"]); [INFO] [stdout] 10+ 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] 4 | 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] 8 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_117_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedStringSexp; [INFO] [stdout] ... [INFO] [stdout] 10| assert_eq!(str_sexp.to_vec(), vec!["", "", <&str>::na()]); [INFO] [stdout] 11+ 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] 4 | 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] 9 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_117_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedStringSexp; [INFO] [stdout] ... [INFO] [stdout] 10| assert_eq!(str_sexp.to_vec(), vec!["", "", <&str>::na()]); [INFO] [stdout] 11+ 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::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] 4 | 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] 7 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_228_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedStringSexp; [INFO] [stdout] ... [INFO] [stdout] 8 | assert_eq!(str_sexp.to_vec(), vec!["foo", "❤", "bar"]); [INFO] [stdout] 9 + 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] 4 | 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] 8 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sexp_string_rs_167_0() -> Result<(), Box> { [INFO] [stdout] 5 | use savvy::OwnedStringSexp; [INFO] [stdout] ... [INFO] [stdout] 9 | assert_eq!(str_sexp.to_vec(), vec!["foo", "bar"]); [INFO] [stdout] 10+ 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 73) [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 196) [INFO] [stdout] src/sexp/numeric.rs - sexp::numeric::NumericSexp::as_slice_i32 (line 162) [INFO] [stdout] src/sexp/numeric.rs - sexp::numeric::NumericSexp::iter_f64 (line 275) [INFO] [stdout] src/sexp/numeric.rs - sexp::numeric::NumericSexp::iter_i32 (line 233) [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 2.45s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "6ccaefe075063fed37bf57ffe6e8e9907dc2011a6c4301e5360e40e2043381e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ccaefe075063fed37bf57ffe6e8e9907dc2011a6c4301e5360e40e2043381e5", kill_on_drop: false }` [INFO] [stdout] 6ccaefe075063fed37bf57ffe6e8e9907dc2011a6c4301e5360e40e2043381e5