[INFO] fetching crate r4d 1.7.0... [INFO] testing r4d-1.7.0 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate r4d 1.7.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate r4d 1.7.0 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate r4d 1.7.0 [INFO] finished tweaking crates.io crate r4d 1.7.0 [INFO] tweaked toml for crates.io crate r4d 1.7.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate crates.io crate r4d 1.7.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded signal-hook-mio v0.2.1 [INFO] [stderr] Downloaded crossterm v0.20.0 [INFO] [stderr] Downloaded clap v3.0.3 [INFO] [stderr] Downloaded cindex v0.3.2 [INFO] [stderr] Downloaded similar v2.0.0 [INFO] [stderr] Downloaded lipsum v0.8.0 [INFO] [stderr] Downloaded crossterm_winapi v0.8.0 [INFO] [stderr] Downloaded evalexpr v6.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff6bac29cb6ea837f0e2a85a4909afadae997a6f1213185a80b27b8d46eaa606 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ff6bac29cb6ea837f0e2a85a4909afadae997a6f1213185a80b27b8d46eaa606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff6bac29cb6ea837f0e2a85a4909afadae997a6f1213185a80b27b8d46eaa606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff6bac29cb6ea837f0e2a85a4909afadae997a6f1213185a80b27b8d46eaa606", kill_on_drop: false }` [INFO] [stdout] ff6bac29cb6ea837f0e2a85a4909afadae997a6f1213185a80b27b8d46eaa606 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b813b169c90ee0a60d9e7c6d6ca9ab8622c14c7038c38cd49b1c2c9006437c2b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b813b169c90ee0a60d9e7c6d6ca9ab8622c14c7038c38cd49b1c2c9006437c2b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling r4d v1.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/basic_map.rs:79:52 [INFO] [stdout] | [INFO] [stdout] 79 | let mut map = HashMap::from_iter(IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `basic_map::BasicMacroMap::temp_redirect`: redir is deprecated and will be removed in 2.0. Use relay and hold instead [INFO] [stdout] --> src/basic_map.rs:124:85 [INFO] [stdout] | [INFO] [stdout] 124 | ("redir".to_owned(), BMacroSign::new("redir", ["a_redirect?"],Self::temp_redirect)), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/keyword_map.rs:26:48 [INFO] [stdout] | [INFO] [stdout] 26 | let map = HashMap::from_iter(IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `keyword_map::KeywordMacroMap::bind_depre`: Bind is deprecated and will be removed in 2.0 [INFO] [stdout] --> src/keyword_map.rs:27:107 [INFO] [stdout] | [INFO] [stdout] 27 | ("bind".to_owned(), KMacroSign::new("bind", ["a_macro_name","a_value"],KeywordMacroMap::bind_depre)), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `keyword_map::KeywordMacroMap::global_depre`: Global is deprecated and will be removed in 2.0 [INFO] [stdout] --> src/keyword_map.rs:32:107 [INFO] [stdout] | [INFO] [stdout] 32 | ("global".to_owned(), KMacroSign::new("global", ["a_macro_name","a_value"],KeywordMacroMap::global_depre)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/processor.rs:1530:146 [INFO] [stdout] | [INFO] [stdout] 1530 | ...t String, lexor : &mut Lexor, level: usize) -> RadResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pipe` [INFO] [stdout] --> src/processor.rs:1676:19 [INFO] [stdout] | [INFO] [stdout] 1676 | pub(crate) fn set_pipe(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [INFO] [stdout] --> src/models.rs:405:19 [INFO] [stdout] | [INFO] [stdout] 405 | pub(crate) fn from_str(text : &str) -> RadResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.16s [INFO] running `Command { std: "docker" "inspect" "b813b169c90ee0a60d9e7c6d6ca9ab8622c14c7038c38cd49b1c2c9006437c2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b813b169c90ee0a60d9e7c6d6ca9ab8622c14c7038c38cd49b1c2c9006437c2b", kill_on_drop: false }` [INFO] [stdout] b813b169c90ee0a60d9e7c6d6ca9ab8622c14c7038c38cd49b1c2c9006437c2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11890ddc5d40131ccd5e8ba7378cc7f88555f5a7d0f2c3627d0a5ac0378369f4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "11890ddc5d40131ccd5e8ba7378cc7f88555f5a7d0f2c3627d0a5ac0378369f4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling r4d v1.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/basic_map.rs:79:52 [INFO] [stdout] | [INFO] [stdout] 79 | let mut map = HashMap::from_iter(IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `basic_map::BasicMacroMap::temp_redirect`: redir is deprecated and will be removed in 2.0. Use relay and hold instead [INFO] [stdout] --> src/basic_map.rs:124:85 [INFO] [stdout] | [INFO] [stdout] 124 | ("redir".to_owned(), BMacroSign::new("redir", ["a_redirect?"],Self::temp_redirect)), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/keyword_map.rs:26:48 [INFO] [stdout] | [INFO] [stdout] 26 | let map = HashMap::from_iter(IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `keyword_map::KeywordMacroMap::bind_depre`: Bind is deprecated and will be removed in 2.0 [INFO] [stdout] --> src/keyword_map.rs:27:107 [INFO] [stdout] | [INFO] [stdout] 27 | ("bind".to_owned(), KMacroSign::new("bind", ["a_macro_name","a_value"],KeywordMacroMap::bind_depre)), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `keyword_map::KeywordMacroMap::global_depre`: Global is deprecated and will be removed in 2.0 [INFO] [stdout] --> src/keyword_map.rs:32:107 [INFO] [stdout] | [INFO] [stdout] 32 | ("global".to_owned(), KMacroSign::new("global", ["a_macro_name","a_value"],KeywordMacroMap::global_depre)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/processor.rs:1530:146 [INFO] [stdout] | [INFO] [stdout] 1530 | ...t String, lexor : &mut Lexor, level: usize) -> RadResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pipe` [INFO] [stdout] --> src/processor.rs:1676:19 [INFO] [stdout] | [INFO] [stdout] 1676 | pub(crate) fn set_pipe(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [INFO] [stdout] --> src/models.rs:405:19 [INFO] [stdout] | [INFO] [stdout] 405 | pub(crate) fn from_str(text : &str) -> RadResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/basic_map.rs:79:52 [INFO] [stdout] | [INFO] [stdout] 79 | let mut map = HashMap::from_iter(IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `basic_map::BasicMacroMap::temp_redirect`: redir is deprecated and will be removed in 2.0. Use relay and hold instead [INFO] [stdout] --> src/basic_map.rs:124:85 [INFO] [stdout] | [INFO] [stdout] 124 | ("redir".to_owned(), BMacroSign::new("redir", ["a_redirect?"],Self::temp_redirect)), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/keyword_map.rs:26:48 [INFO] [stdout] | [INFO] [stdout] 26 | let map = HashMap::from_iter(IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `keyword_map::KeywordMacroMap::bind_depre`: Bind is deprecated and will be removed in 2.0 [INFO] [stdout] --> src/keyword_map.rs:27:107 [INFO] [stdout] | [INFO] [stdout] 27 | ("bind".to_owned(), KMacroSign::new("bind", ["a_macro_name","a_value"],KeywordMacroMap::bind_depre)), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `keyword_map::KeywordMacroMap::global_depre`: Global is deprecated and will be removed in 2.0 [INFO] [stdout] --> src/keyword_map.rs:32:107 [INFO] [stdout] | [INFO] [stdout] 32 | ("global".to_owned(), KMacroSign::new("global", ["a_macro_name","a_value"],KeywordMacroMap::global_depre)), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/processor.rs:1530:146 [INFO] [stdout] | [INFO] [stdout] 1530 | ...t String, lexor : &mut Lexor, level: usize) -> RadResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pipe` [INFO] [stdout] --> src/processor.rs:1676:19 [INFO] [stdout] | [INFO] [stdout] 1676 | pub(crate) fn set_pipe(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [INFO] [stdout] --> src/models.rs:405:19 [INFO] [stdout] | [INFO] [stdout] 405 | pub(crate) fn from_str(text : &str) -> RadResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.74s [INFO] running `Command { std: "docker" "inspect" "11890ddc5d40131ccd5e8ba7378cc7f88555f5a7d0f2c3627d0a5ac0378369f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11890ddc5d40131ccd5e8ba7378cc7f88555f5a7d0f2c3627d0a5ac0378369f4", kill_on_drop: false }` [INFO] [stdout] 11890ddc5d40131ccd5e8ba7378cc7f88555f5a7d0f2c3627d0a5ac0378369f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d4e9e31d334c1233114403b3e119706ae26e0f0fa889cda7ea11ec1bb20d1bf4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d4e9e31d334c1233114403b3e119706ae26e0f0fa889cda7ea11ec1bb20d1bf4", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stderr] --> src/basic_map.rs:79:52 [INFO] [stderr] | [INFO] [stderr] 79 | let mut map = HashMap::from_iter(IntoIter::new([ [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `basic_map::BasicMacroMap::temp_redirect`: redir is deprecated and will be removed in 2.0. Use relay and hold instead [INFO] [stderr] --> src/basic_map.rs:124:85 [INFO] [stderr] | [INFO] [stderr] 124 | ("redir".to_owned(), BMacroSign::new("redir", ["a_redirect?"],Self::temp_redirect)), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stderr] --> src/keyword_map.rs:26:48 [INFO] [stderr] | [INFO] [stderr] 26 | let map = HashMap::from_iter(IntoIter::new([ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `keyword_map::KeywordMacroMap::bind_depre`: Bind is deprecated and will be removed in 2.0 [INFO] [stderr] --> src/keyword_map.rs:27:107 [INFO] [stderr] | [INFO] [stderr] 27 | ("bind".to_owned(), KMacroSign::new("bind", ["a_macro_name","a_value"],KeywordMacroMap::bind_depre)), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `keyword_map::KeywordMacroMap::global_depre`: Global is deprecated and will be removed in 2.0 [INFO] [stderr] --> src/keyword_map.rs:32:107 [INFO] [stderr] | [INFO] [stderr] 32 | ("global".to_owned(), KMacroSign::new("global", ["a_macro_name","a_value"],KeywordMacroMap::global_depre)), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `level` [INFO] [stderr] --> src/processor.rs:1530:146 [INFO] [stderr] | [INFO] [stderr] 1530 | ...t String, lexor : &mut Lexor, level: usize) -> RadResult<()> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_pipe` [INFO] [stderr] --> src/processor.rs:1676:19 [INFO] [stderr] | [INFO] [stderr] 1676 | pub(crate) fn set_pipe(&mut self, value: &str) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_str` [INFO] [stderr] --> src/models.rs:405:19 [INFO] [stderr] | [INFO] [stderr] 405 | pub(crate) fn from_str(text : &str) -> RadResult { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `r4d` (lib) generated 8 warnings [INFO] [stderr] warning: `r4d` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rad-6f551f592fffa005) [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rad-c4b1a2abbae4b5f6) [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 rad [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] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/processor.rs - processor::Processor::add_static_rules (line 710) ... FAILED [INFO] [stdout] test src/processor.rs - processor::Processor::add_closure_rule (line 660) ... FAILED [INFO] [stdout] test src/lib.rs - (line 36) ... FAILED [INFO] [stdout] test src/processor.rs - processor::Processor::add_custom_rules (line 681) ... FAILED [INFO] [stdout] test src/basic_map.rs - basic_map::MacroType (line 43) ... FAILED [INFO] [stdout] test src/processor.rs - processor (line 11) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/processor.rs - processor::Processor::add_static_rules (line 710) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `processor` in this scope [INFO] [stdout] --> src/processor.rs:711:1 [INFO] [stdout] | [INFO] [stdout] 3 | processor.add_custom_rules(vec![("macro_name","Macro body without arguments")]); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/processor.rs - processor::Processor::add_closure_rule (line 660) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `processor` in this scope [INFO] [stdout] --> src/processor.rs:661:1 [INFO] [stdout] | [INFO] [stdout] 3 | processor.add_closure_rule( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 36) stdout ---- [INFO] [stdout] error: expected `;`, found `processor` [INFO] [stdout] --> src/lib.rs:43:50 [INFO] [stdout] | [INFO] [stdout] 10 | .write_to_file(Some(Path::new("cache.txt")))? [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 11 | [INFO] [stdout] 12 | processor.from_file(Path::new("input.txt"))?; [INFO] [stdout] | --------- unexpected token [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/lib.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_36_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use rad::{Processor, RadResult}; [INFO] [stdout] 5 | | use std::path::Path; [INFO] [stdout] 6 | | [INFO] [stdout] ... | [INFO] [stdout] 10 | | .write_to_file(Some(Path::new("cache.txt")))? [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 13 | | processor.print_result()?; [INFO] [stdout] 14 | | } _doctest_main_src_lib_rs_36_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [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/lib.rs:45:44 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_36_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use rad::{Processor, RadResult}; [INFO] [stdout] 5 | | use std::path::Path; [INFO] [stdout] 6 | | [INFO] [stdout] ... | [INFO] [stdout] 12 | | processor.from_file(Path::new("input.txt"))?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 13 | | processor.print_result()?; [INFO] [stdout] 14 | | } _doctest_main_src_lib_rs_36_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [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/lib.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_36_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use rad::{Processor, RadResult}; [INFO] [stdout] 5 | | use std::path::Path; [INFO] [stdout] 6 | | [INFO] [stdout] ... | [INFO] [stdout] 13 | | processor.print_result()?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 14 | | } _doctest_main_src_lib_rs_36_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [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/processor.rs - processor::Processor::add_custom_rules (line 681) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `processor` in this scope [INFO] [stdout] --> src/processor.rs:682:1 [INFO] [stdout] | [INFO] [stdout] 3 | processor.add_custom_rules(vec![("macro_name","macro_arg1 macro_arg2","macro_body=$macro_arg1()")]); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/basic_map.rs - basic_map::MacroType (line 43) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Processor` in this scope [INFO] [stdout] --> src/basic_map.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 3 | fn demo(args: &str, greedy: bool, processor: &mut Processor) -> RadResult> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rad::Processor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RadResult` in this scope [INFO] [stdout] --> src/basic_map.rs:44:65 [INFO] [stdout] | [INFO] [stdout] 3 | fn demo(args: &str, greedy: bool, processor: &mut Processor) -> RadResult> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 | fn demo(args: &str, greedy: bool, processor: &mut Processor) -> Result> { [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 | use rad::RadResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `this_macro_prints_something` in this scope [INFO] [stdout] --> src/basic_map.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 6 | if this_macro_prints_something { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `processor` in this scope [INFO] [stdout] --> src/basic_map.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 15 | processor.add_basic_rules(vec![("test", test as MacroType)]); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found attribute macro `test` [INFO] [stdout] --> src/basic_map.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 15 | processor.add_basic_rules(vec![("test", test as MacroType)]); [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MacroType` in this scope [INFO] [stdout] --> src/basic_map.rs:56:49 [INFO] [stdout] | [INFO] [stdout] 15 | processor.add_basic_rules(vec![("test", test as MacroType)]); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 | use rad::MacroType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/processor.rs - processor (line 11) stdout ---- [INFO] [stdout] error: expected `;`, found `processor` [INFO] [stdout] --> src/processor.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 35 | .interactive(true) // Use interactive mode [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] ... [INFO] [stdout] 45 | processor.print_permission()?; [INFO] [stdout] | --------- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `processor` [INFO] [stdout] --> src/processor.rs:76:2 [INFO] [stdout] | [INFO] [stdout] 68 | ) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] ... [INFO] [stdout] 71 | processor.add_custom_rules(vec![("test","a_src a_link","$a_src() -> $a_link()")]); [INFO] [stdout] | --------- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HookType` [INFO] [stdout] --> src/processor.rs:71:2 [INFO] [stdout] | [INFO] [stdout] 63 | HookType::Macro, // Macro type [INFO] [stdout] | ^^^^^^^^ use of undeclared type `HookType` [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found attribute macro `test` [INFO] [stdout] --> src/processor.rs:57:41 [INFO] [stdout] | [INFO] [stdout] 49 | processor.add_basic_rules(vec![("test", test as MacroType)]); [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `trigger_macro` in this scope [INFO] [stdout] --> src/processor.rs:72:2 [INFO] [stdout] | [INFO] [stdout] 64 | trigger_macro, // Macro that triggers [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `hook_div` in this scope [INFO] [stdout] --> src/processor.rs:73:2 [INFO] [stdout] | [INFO] [stdout] 65 | hook_div, // Macro to be executed [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `rad::Processor::<'processor>::comment`: Comment is deprecated and will be removed in 2.0 version. [INFO] [stdout] --> src/processor.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 14 | .comment(CommentType::Start) // Use comment [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/processor.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 14 | .comment(CommentType::Start) // Use comment [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `bool`, found enum `CommentType` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `custom_comment_char` found for enum `Result` in the current scope [INFO] [stdout] --> src/processor.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 16 | .custom_comment_char('#') // use custom comment character [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `Result, RadError>` [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/processor.rs:31:53 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_processor_rs_11_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use rad::RadResult; [INFO] [stdout] 5 | | use rad::Processor; [INFO] [stdout] 6 | | use rad::MacroType; [INFO] [stdout] ... | [INFO] [stdout] 23 | | .custom_rules(Some(vec![Path::new("rule.r4f")]))? // Read from frozen rule files [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 94 | | processor.print_result()?; [INFO] [stdout] 95 | | } _doctest_main_src_processor_rs_11_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [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/processor.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_processor_rs_11_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use rad::RadResult; [INFO] [stdout] 5 | | use rad::Processor; [INFO] [stdout] 6 | | use rad::MacroType; [INFO] [stdout] ... | [INFO] [stdout] 24 | | .write_to_file(Some(Path::new("out.txt")))? // default is stdout [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 94 | | processor.print_result()?; [INFO] [stdout] 95 | | } _doctest_main_src_processor_rs_11_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [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/processor.rs:33:47 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_processor_rs_11_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use rad::RadResult; [INFO] [stdout] 5 | | use rad::Processor; [INFO] [stdout] 6 | | use rad::MacroType; [INFO] [stdout] ... | [INFO] [stdout] 25 | | .error_to_file(Some(Path::new("err.txt")))? // default is stderr [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 94 | | processor.print_result()?; [INFO] [stdout] 95 | | } _doctest_main_src_processor_rs_11_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [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/processor.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_processor_rs_11_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use rad::RadResult; [INFO] [stdout] 5 | | use rad::Processor; [INFO] [stdout] 6 | | use rad::MacroType; [INFO] [stdout] ... | [INFO] [stdout] 45 | | processor.print_permission()?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 94 | | processor.print_result()?; [INFO] [stdout] 95 | | } _doctest_main_src_processor_rs_11_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [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/processor.rs:92:47 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_processor_rs_11_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use rad::RadResult; [INFO] [stdout] 5 | | use rad::Processor; [INFO] [stdout] 6 | | use rad::MacroType; [INFO] [stdout] ... | [INFO] [stdout] 84 | | processor.from_string(r#"$define(test=Test)"#)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 94 | | processor.print_result()?; [INFO] [stdout] 95 | | } _doctest_main_src_processor_rs_11_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [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/processor.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_processor_rs_11_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use rad::RadResult; [INFO] [stdout] 5 | | use rad::Processor; [INFO] [stdout] 6 | | use rad::MacroType; [INFO] [stdout] ... | [INFO] [stdout] 85 | | processor.from_stdin()?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 94 | | processor.print_result()?; [INFO] [stdout] 95 | | } _doctest_main_src_processor_rs_11_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [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/processor.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_processor_rs_11_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use rad::RadResult; [INFO] [stdout] 5 | | use rad::Processor; [INFO] [stdout] 6 | | use rad::MacroType; [INFO] [stdout] ... | [INFO] [stdout] 86 | | processor.from_file(Path::new("from.txt"))?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 94 | | processor.print_result()?; [INFO] [stdout] 95 | | } _doctest_main_src_processor_rs_11_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [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/processor.rs:96:47 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_processor_rs_11_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use rad::RadResult; [INFO] [stdout] 5 | | use rad::Processor; [INFO] [stdout] 6 | | use rad::MacroType; [INFO] [stdout] ... | [INFO] [stdout] 88 | | processor.freeze_to_file(Path::new("out.r4f"))?; // Create frozen file [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 94 | | processor.print_result()?; [INFO] [stdout] 95 | | } _doctest_main_src_processor_rs_11_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [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/processor.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_processor_rs_11_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use rad::RadResult; [INFO] [stdout] 5 | | use rad::Processor; [INFO] [stdout] 6 | | use rad::MacroType; [INFO] [stdout] ... | [INFO] [stdout] 94 | | processor.print_result()?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 95 | | } _doctest_main_src_processor_rs_11_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0423, E0425, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/basic_map.rs - basic_map::MacroType (line 43) [INFO] [stdout] src/lib.rs - (line 36) [INFO] [stdout] src/processor.rs - processor (line 11) [INFO] [stdout] src/processor.rs - processor::Processor::add_closure_rule (line 660) [INFO] [stdout] src/processor.rs - processor::Processor::add_custom_rules (line 681) [INFO] [stdout] src/processor.rs - processor::Processor::add_static_rules (line 710) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.48s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "d4e9e31d334c1233114403b3e119706ae26e0f0fa889cda7ea11ec1bb20d1bf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4e9e31d334c1233114403b3e119706ae26e0f0fa889cda7ea11ec1bb20d1bf4", kill_on_drop: false }` [INFO] [stdout] d4e9e31d334c1233114403b3e119706ae26e0f0fa889cda7ea11ec1bb20d1bf4