[INFO] cloning repository https://github.com/Kuruyia/sinjoh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kuruyia/sinjoh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKuruyia%2Fsinjoh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKuruyia%2Fsinjoh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ffb8f9efb8d30583993f15f7b0a38242e9520a3 [INFO] testing Kuruyia/sinjoh against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKuruyia%2Fsinjoh" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Kuruyia/sinjoh [INFO] finished tweaking git repo https://github.com/Kuruyia/sinjoh [INFO] tweaked toml for git repo https://github.com/Kuruyia/sinjoh written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Kuruyia/sinjoh on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Kuruyia/sinjoh 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74aea53eaba8d4ad50ae3ca9cfdaafa2fea54d31951fc0ee999c1bcd96cf902c [INFO] running `Command { std: "docker" "start" "-a" "74aea53eaba8d4ad50ae3ca9cfdaafa2fea54d31951fc0ee999c1bcd96cf902c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74aea53eaba8d4ad50ae3ca9cfdaafa2fea54d31951fc0ee999c1bcd96cf902c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74aea53eaba8d4ad50ae3ca9cfdaafa2fea54d31951fc0ee999c1bcd96cf902c", kill_on_drop: false }` [INFO] [stdout] 74aea53eaba8d4ad50ae3ca9cfdaafa2fea54d31951fc0ee999c1bcd96cf902c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89315d9a015bbefdbcfa68108b85d60aa132a62956876c4ec09a17bdeef33d59 [INFO] running `Command { std: "docker" "start" "-a" "89315d9a015bbefdbcfa68108b85d60aa132a62956876c4ec09a17bdeef33d59", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling tz-rs v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling is_debug v1.1.0 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling fixed v1.29.0 [INFO] [stderr] Compiling half v2.5.0 [INFO] [stderr] Compiling libsqlite3-sys v0.32.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling tzdb_data v0.2.1 [INFO] [stderr] Compiling clap_builder v4.5.32 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling papergrid v0.14.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling time v0.3.39 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling jiff v0.2.4 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rusqlite v0.34.0 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libgit2-sys v0.18.0+1.9.0 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling tzdb v0.7.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.7 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tabled_derive v0.10.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tabled v0.18.0 [INFO] [stderr] Compiling clap v4.5.32 [INFO] [stderr] Compiling clap-verbosity-flag v3.0.2 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling sinjoh_nds v0.1.0 (/opt/rustwide/workdir/sinjoh_nds) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> sinjoh_nds/src/narc/reader.rs:417:23 [INFO] [stdout] | [INFO] [stdout] 417 | pub fn files_iter(&mut self) -> NarcReaderFilesIter { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 417 | pub fn files_iter(&mut self) -> NarcReaderFilesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sinjoh_plat v0.1.0 (/opt/rustwide/workdir/sinjoh_plat) [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling cargo_metadata v0.19.2 [INFO] [stderr] Compiling git2 v0.20.0 [INFO] [stderr] Compiling shadow-rs v1.0.1 [INFO] [stderr] Compiling pokeplat_utils v0.1.0 (/opt/rustwide/workdir/pokeplat_utils) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "89315d9a015bbefdbcfa68108b85d60aa132a62956876c4ec09a17bdeef33d59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89315d9a015bbefdbcfa68108b85d60aa132a62956876c4ec09a17bdeef33d59", kill_on_drop: false }` [INFO] [stdout] 89315d9a015bbefdbcfa68108b85d60aa132a62956876c4ec09a17bdeef33d59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb8ac765e1b0fb789e267e86aa0b45a041a8c813ad14ebb05e78705540a04bb8 [INFO] running `Command { std: "docker" "start" "-a" "fb8ac765e1b0fb789e267e86aa0b45a041a8c813ad14ebb05e78705540a04bb8", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> sinjoh_nds/src/narc/reader.rs:417:23 [INFO] [stdout] | [INFO] [stdout] 417 | pub fn files_iter(&mut self) -> NarcReaderFilesIter { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 417 | pub fn files_iter(&mut self) -> NarcReaderFilesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sinjoh_plat v0.1.0 (/opt/rustwide/workdir/sinjoh_plat) [INFO] [stderr] Compiling sinjoh_nds v0.1.0 (/opt/rustwide/workdir/sinjoh_nds) [INFO] [stderr] Compiling pokeplat_utils v0.1.0 (/opt/rustwide/workdir/pokeplat_utils) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> sinjoh_nds/src/narc/reader.rs:417:23 [INFO] [stdout] | [INFO] [stdout] 417 | pub fn files_iter(&mut self) -> NarcReaderFilesIter { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 417 | pub fn files_iter(&mut self) -> NarcReaderFilesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.34s [INFO] running `Command { std: "docker" "inspect" "fb8ac765e1b0fb789e267e86aa0b45a041a8c813ad14ebb05e78705540a04bb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb8ac765e1b0fb789e267e86aa0b45a041a8c813ad14ebb05e78705540a04bb8", kill_on_drop: false }` [INFO] [stdout] fb8ac765e1b0fb789e267e86aa0b45a041a8c813ad14ebb05e78705540a04bb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bf2bd88cb69655c640b1db778577f7cb2e40275c37402b77fc5d583a3d51be75 [INFO] running `Command { std: "docker" "start" "-a" "bf2bd88cb69655c640b1db778577f7cb2e40275c37402b77fc5d583a3d51be75", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> sinjoh_nds/src/narc/reader.rs:417:23 [INFO] [stderr] | [INFO] [stderr] 417 | pub fn files_iter(&mut self) -> NarcReaderFilesIter { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 417 | pub fn files_iter(&mut self) -> NarcReaderFilesIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `sinjoh_nds` (lib) generated 1 warning (run `cargo fix --lib -p sinjoh_nds` to apply 1 suggestion) [INFO] [stderr] Compiling pokeplat_utils v0.1.0 (/opt/rustwide/workdir/pokeplat_utils) [INFO] [stderr] warning: `sinjoh_nds` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.79s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pokeplat_utils-f6fd76062265eba3) [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sinjoh_nds-aaa4e203b8017f65) [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sinjoh_plat-7f9f0aaf0def8798) [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 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 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 sinjoh_nds [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: doctest failed, to rerun pass `-p sinjoh_nds --doc` [INFO] [stdout] test sinjoh_nds/src/narc/reader.rs - narc::reader::NarcReader (line 138) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- sinjoh_nds/src/narc/reader.rs - narc::reader::NarcReader (line 138) 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] --> sinjoh_nds/src/narc/reader.rs:143:84 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_sinjoh_nds_src_narc_reader_rs_138_0() { [INFO] [stdout] | ------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 8 | NarcReader::read_from_file("/path/to/archive.narc", NarcReaderFlags::default())?; [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_sinjoh_nds_src_narc_reader_rs_138_0() -> Result<(), Box> { [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] sinjoh_nds/src/narc/reader.rs - narc::reader::NarcReader (line 138) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.22s; merged doctests compilation took 0.10s [INFO] running `Command { std: "docker" "inspect" "bf2bd88cb69655c640b1db778577f7cb2e40275c37402b77fc5d583a3d51be75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf2bd88cb69655c640b1db778577f7cb2e40275c37402b77fc5d583a3d51be75", kill_on_drop: false }` [INFO] [stdout] bf2bd88cb69655c640b1db778577f7cb2e40275c37402b77fc5d583a3d51be75