[INFO] cloning repository https://github.com/Simhyeon/r4d [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Simhyeon/r4d" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimhyeon%2Fr4d", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimhyeon%2Fr4d'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 700727d26ca6c50550e31af51f8524530c7621e1 [INFO] testing Simhyeon/r4d against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimhyeon%2Fr4d" "/workspace/builds/worker-36/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-36/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Simhyeon/r4d 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 git repo https://github.com/Simhyeon/r4d [INFO] finished tweaking git repo https://github.com/Simhyeon/r4d [INFO] tweaked toml for git repo https://github.com/Simhyeon/r4d written to /workspace/builds/worker-36/source/Cargo.toml [INFO] crate git repo https://github.com/Simhyeon/r4d 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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] 2f1e87b1e8ba61fec1ee234063c5ca4175d1d55fccfd29975892dcc81cd1cf67 [INFO] running `Command { std: "docker" "start" "-a" "2f1e87b1e8ba61fec1ee234063c5ca4175d1d55fccfd29975892dcc81cd1cf67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f1e87b1e8ba61fec1ee234063c5ca4175d1d55fccfd29975892dcc81cd1cf67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f1e87b1e8ba61fec1ee234063c5ca4175d1d55fccfd29975892dcc81cd1cf67", kill_on_drop: false }` [INFO] [stdout] 2f1e87b1e8ba61fec1ee234063c5ca4175d1d55fccfd29975892dcc81cd1cf67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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] 2dd6c951b63611b95876876a6635686586d13aae3322a579087516a2275e9c78 [INFO] running `Command { std: "docker" "start" "-a" "2dd6c951b63611b95876876a6635686586d13aae3322a579087516a2275e9c78", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling regex v1.5.4 [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.8.0-rc.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/processor.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | use std::io::{self, BufReader, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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:80:52 [INFO] [stdout] | [INFO] [stdout] 80 | 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 halt instead [INFO] [stdout] --> src/basic_map.rs:254:65 [INFO] [stdout] | [INFO] [stdout] 254 | 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:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | 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:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | 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:73:38 [INFO] [stdout] | [INFO] [stdout] 73 | KeywordMacroMap::global_depre, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/processor.rs:1784:9 [INFO] [stdout] | [INFO] [stdout] 1784 | level: usize, [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:1939:19 [INFO] [stdout] | [INFO] [stdout] 1939 | 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:429:19 [INFO] [stdout] | [INFO] [stdout] 429 | pub(crate) fn from_str(text: &str) -> RadResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/bin.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.66s [INFO] running `Command { std: "docker" "inspect" "2dd6c951b63611b95876876a6635686586d13aae3322a579087516a2275e9c78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dd6c951b63611b95876876a6635686586d13aae3322a579087516a2275e9c78", kill_on_drop: false }` [INFO] [stdout] 2dd6c951b63611b95876876a6635686586d13aae3322a579087516a2275e9c78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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] 3ec797ca438dbc57bbebe5fb23e6494831bb926b1a8f7b068140e52b36e25a4c [INFO] running `Command { std: "docker" "start" "-a" "3ec797ca438dbc57bbebe5fb23e6494831bb926b1a8f7b068140e52b36e25a4c", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/processor.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | use std::io::{self, BufReader, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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:80:52 [INFO] [stdout] | [INFO] [stdout] 80 | 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] [stderr] Compiling r4d v1.8.0-rc.1 (/opt/rustwide/workdir) [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 halt instead [INFO] [stdout] --> src/basic_map.rs:254:65 [INFO] [stdout] | [INFO] [stdout] 254 | 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:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | 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:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | 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:73:38 [INFO] [stdout] | [INFO] [stdout] 73 | KeywordMacroMap::global_depre, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/processor.rs:1784:9 [INFO] [stdout] | [INFO] [stdout] 1784 | level: usize, [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:1939:19 [INFO] [stdout] | [INFO] [stdout] 1939 | 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:429:19 [INFO] [stdout] | [INFO] [stdout] 429 | pub(crate) fn from_str(text: &str) -> RadResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/bin.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/processor.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | use std::io::{self, BufReader, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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:80:52 [INFO] [stdout] | [INFO] [stdout] 80 | 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 halt instead [INFO] [stdout] --> src/basic_map.rs:254:65 [INFO] [stdout] | [INFO] [stdout] 254 | BMacroSign::new("redir", ["a_redirect?"], Self::temp_redirect), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning 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/keyword_map.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | 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:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | 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:73:38 [INFO] [stdout] | [INFO] [stdout] 73 | KeywordMacroMap::global_depre, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/processor.rs:1784:9 [INFO] [stdout] | [INFO] [stdout] 1784 | level: usize, [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:1939:19 [INFO] [stdout] | [INFO] [stdout] 1939 | 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:429:19 [INFO] [stdout] | [INFO] [stdout] 429 | pub(crate) fn from_str(text: &str) -> RadResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `Command { std: "docker" "inspect" "3ec797ca438dbc57bbebe5fb23e6494831bb926b1a8f7b068140e52b36e25a4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ec797ca438dbc57bbebe5fb23e6494831bb926b1a8f7b068140e52b36e25a4c", kill_on_drop: false }` [INFO] [stdout] 3ec797ca438dbc57bbebe5fb23e6494831bb926b1a8f7b068140e52b36e25a4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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] 2fc7e9b849cbc5a6bab8ae7094380c00a026003405e8cd3f86d3057c588a8e3d [INFO] running `Command { std: "docker" "start" "-a" "2fc7e9b849cbc5a6bab8ae7094380c00a026003405e8cd3f86d3057c588a8e3d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/processor.rs:139:32 [INFO] [stderr] | [INFO] [stderr] 139 | use std::io::{self, BufReader, Read, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stderr] --> src/basic_map.rs:80:52 [INFO] [stderr] | [INFO] [stderr] 80 | 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 halt instead [INFO] [stderr] --> src/basic_map.rs:254:65 [INFO] [stderr] | [INFO] [stderr] 254 | 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:27:48 [INFO] [stderr] | [INFO] [stderr] 27 | 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:33:38 [INFO] [stderr] | [INFO] [stderr] 33 | 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:73:38 [INFO] [stderr] | [INFO] [stderr] 73 | KeywordMacroMap::global_depre, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `level` [INFO] [stderr] --> src/processor.rs:1784:9 [INFO] [stderr] | [INFO] [stderr] 1784 | level: usize, [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:1939:19 [INFO] [stderr] | [INFO] [stderr] 1939 | 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:429:19 [INFO] [stderr] | [INFO] [stderr] 429 | pub(crate) fn from_str(text: &str) -> RadResult { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `r4d` (lib) generated 9 warnings [INFO] [stderr] warning: `r4d` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] warning: unused import: `std::io::Write` [INFO] [stderr] --> src/bin.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | use std::io::Write; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `r4d` (bin "rad" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rad-50b051c378365ab5) [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] Running unittests (/opt/rustwide/target/debug/deps/rad-192fbc452e7fc95b) [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 rad [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - (line 36) ... FAILED [INFO] [stdout] test src/processor.rs - processor::Processor::add_custom_rules (line 736) ... FAILED [INFO] [stdout] test src/processor.rs - processor::Processor::add_static_rules (line 771) ... FAILED [INFO] [stdout] test src/basic_map.rs - basic_map::MacroType (line 44) ... FAILED [INFO] [stdout] test src/processor.rs - processor::Processor::add_closure_rule (line 710) ... FAILED [INFO] [stdout] test src/processor.rs - processor (line 11) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 736) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `processor` in this scope [INFO] [stdout] --> src/processor.rs:737: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/processor.rs - processor::Processor::add_static_rules (line 771) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `processor` in this scope [INFO] [stdout] --> src/processor.rs:772: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/basic_map.rs - basic_map::MacroType (line 44) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Processor` in this scope [INFO] [stdout] --> src/basic_map.rs:45: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:45: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:48: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:57: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:57: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:57: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::Processor::add_closure_rule (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_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/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 44) [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 710) [INFO] [stdout] src/processor.rs - processor::Processor::add_custom_rules (line 736) [INFO] [stdout] src/processor.rs - processor::Processor::add_static_rules (line 771) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "2fc7e9b849cbc5a6bab8ae7094380c00a026003405e8cd3f86d3057c588a8e3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fc7e9b849cbc5a6bab8ae7094380c00a026003405e8cd3f86d3057c588a8e3d", kill_on_drop: false }` [INFO] [stdout] 2fc7e9b849cbc5a6bab8ae7094380c00a026003405e8cd3f86d3057c588a8e3d