[INFO] fetching crate mystem 0.2.2... [INFO] testing mystem-0.2.2 against 1.91.0 for beta-1.92-2 [INFO] extracting crate mystem 0.2.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate mystem 0.2.2 [INFO] finished tweaking crates.io crate mystem 0.2.2 [INFO] tweaked toml for crates.io crate mystem 0.2.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mystem 0.2.2 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mystem 0.2.2 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.60 [INFO] [stderr] Downloaded libc v0.2.81 [INFO] [stderr] Downloaded subprocess v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ede25ffc3ccdcd1744082f1087fffcf4d7814d8a361c2544ce93fc7bf379f52 [INFO] running `Command { std: "docker" "start" "-a" "0ede25ffc3ccdcd1744082f1087fffcf4d7814d8a361c2544ce93fc7bf379f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ede25ffc3ccdcd1744082f1087fffcf4d7814d8a361c2544ce93fc7bf379f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ede25ffc3ccdcd1744082f1087fffcf4d7814d8a361c2544ce93fc7bf379f52", kill_on_drop: false }` [INFO] [stdout] 0ede25ffc3ccdcd1744082f1087fffcf4d7814d8a361c2544ce93fc7bf379f52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 615507769e1e73a0776a43208649e96f31020672aefea0447b3359b62fcc8627 [INFO] running `Command { std: "docker" "start" "-a" "615507769e1e73a0776a43208649e96f31020672aefea0447b3359b62fcc8627", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling subprocess v0.2.6 [INFO] [stderr] Compiling mystem v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.77s [INFO] running `Command { std: "docker" "inspect" "615507769e1e73a0776a43208649e96f31020672aefea0447b3359b62fcc8627", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "615507769e1e73a0776a43208649e96f31020672aefea0447b3359b62fcc8627", kill_on_drop: false }` [INFO] [stdout] 615507769e1e73a0776a43208649e96f31020672aefea0447b3359b62fcc8627 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16ca405923f564b081fdcb23b497c6d0d8d4a92f60f96a964c44de576d013492 [INFO] running `Command { std: "docker" "start" "-a" "16ca405923f564b081fdcb23b497c6d0d8d4a92f60f96a964c44de576d013492", kill_on_drop: false }` [INFO] [stderr] Compiling mystem v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "16ca405923f564b081fdcb23b497c6d0d8d4a92f60f96a964c44de576d013492", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16ca405923f564b081fdcb23b497c6d0d8d4a92f60f96a964c44de576d013492", kill_on_drop: false }` [INFO] [stdout] 16ca405923f564b081fdcb23b497c6d0d8d4a92f60f96a964c44de576d013492 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] de25fa52a01dd0d4eb83b24b16f2bad2cb010787ed1d70550156de70cb75764c [INFO] running `Command { std: "docker" "start" "-a" "de25fa52a01dd0d4eb83b24b16f2bad2cb010787ed1d70550156de70cb75764c", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mystem-da500891da45392b) [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 mystem [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - MyStem::stemming (line 89) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - MyStem::stemming (line 89) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:91:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_89_0() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 5 | let mut instance = mystem::MyStem::new()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_89_0() -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:92:81 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_89_0() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 5 | let mut instance = mystem::MyStem::new()?; [INFO] [stdout] 6 | for stem in instance.stemming("Связался с лучшим - подохни как все.".into())? { [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_89_0() -> Result<(), Box> { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: `Vec` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:93:42 [INFO] [stdout] | [INFO] [stdout] 7 | println!("{} is a lexeme of {}", stem.lex, stem.text) [INFO] [stdout] | -- ^^^^^^^^ `Vec` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Vec` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - MyStem::stemming (line 89) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "de25fa52a01dd0d4eb83b24b16f2bad2cb010787ed1d70550156de70cb75764c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de25fa52a01dd0d4eb83b24b16f2bad2cb010787ed1d70550156de70cb75764c", kill_on_drop: false }` [INFO] [stdout] de25fa52a01dd0d4eb83b24b16f2bad2cb010787ed1d70550156de70cb75764c