[INFO] fetching crate gutters 0.1.1... [INFO] testing gutters-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate gutters 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate gutters 0.1.1 [INFO] finished tweaking crates.io crate gutters 0.1.1 [INFO] tweaked toml for crates.io crate gutters 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gutters 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a2f9305c42606ed9d50f7dcd57b900adc841042eb222fd93ef5e8383d4998cc [INFO] running `Command { std: "docker" "start" "-a" "5a2f9305c42606ed9d50f7dcd57b900adc841042eb222fd93ef5e8383d4998cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a2f9305c42606ed9d50f7dcd57b900adc841042eb222fd93ef5e8383d4998cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a2f9305c42606ed9d50f7dcd57b900adc841042eb222fd93ef5e8383d4998cc", kill_on_drop: false }` [INFO] [stdout] 5a2f9305c42606ed9d50f7dcd57b900adc841042eb222fd93ef5e8383d4998cc [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a492878a143bbf55ce9c5160447dd9ab8513a863d067751df26a24fd262891a [INFO] running `Command { std: "docker" "start" "-a" "3a492878a143bbf55ce9c5160447dd9ab8513a863d067751df26a24fd262891a", kill_on_drop: false }` [INFO] [stderr] Compiling gutters v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] running `Command { std: "docker" "inspect" "3a492878a143bbf55ce9c5160447dd9ab8513a863d067751df26a24fd262891a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a492878a143bbf55ce9c5160447dd9ab8513a863d067751df26a24fd262891a", kill_on_drop: false }` [INFO] [stdout] 3a492878a143bbf55ce9c5160447dd9ab8513a863d067751df26a24fd262891a [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04a2d8e50b6da7adff25c1ce8b99c356ed5f11797eaf6cb6d627040585788999 [INFO] running `Command { std: "docker" "start" "-a" "04a2d8e50b6da7adff25c1ce8b99c356ed5f11797eaf6cb6d627040585788999", kill_on_drop: false }` [INFO] [stderr] Compiling gutters v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "04a2d8e50b6da7adff25c1ce8b99c356ed5f11797eaf6cb6d627040585788999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04a2d8e50b6da7adff25c1ce8b99c356ed5f11797eaf6cb6d627040585788999", kill_on_drop: false }` [INFO] [stdout] 04a2d8e50b6da7adff25c1ce8b99c356ed5f11797eaf6cb6d627040585788999 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 152c48530a55f43be6f1625f169a6158dd952884e77e6245a3cef8c7b34f0eeb [INFO] running `Command { std: "docker" "start" "-a" "152c48530a55f43be6f1625f169a6158dd952884e77e6245a3cef8c7b34f0eeb", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gutters-7f667bf5d276ab4e) [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 gutters [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - throw (line 95) - compile ... FAILED [INFO] [stdout] test src/lib.rs - hail (line 115) - compile ... FAILED [INFO] [stdout] test src/lib.rs - throw_and_wait (line 185) - compile ... FAILED [INFO] [stdout] test src/lib.rs - pick_up (line 73) - compile ... FAILED [INFO] [stdout] test src/lib.rs - pick_up_and_hail (line 159) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 7) ... FAILED [INFO] [stdout] test src/lib.rs - wait (line 135) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - throw (line 95) stdout ---- [INFO] [stdout] error: expected `;`, found `throw` [INFO] [stdout] --> src/lib.rs:97:51 [INFO] [stdout] | [INFO] [stdout] 4 | let stream = TcpStream::connect("127.0.0.1:34567") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 5 | [INFO] [stdout] 6 | throw(&mut stream, &64.0)?; [INFO] [stdout] | ----- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `throw` in this scope [INFO] [stdout] --> src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 6 | throw(&mut stream, &64.0)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use gutters::throw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - hail (line 115) stdout ---- [INFO] [stdout] error: expected `;`, found `hail` [INFO] [stdout] --> src/lib.rs:117:51 [INFO] [stdout] | [INFO] [stdout] 4 | let stream = TcpStream::connect("127.0.0.1:34567") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 5 | [INFO] [stdout] 6 | hail(&mut stream)?; [INFO] [stdout] | ---- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hail` in this scope [INFO] [stdout] --> src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 6 | hail(&mut stream)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use gutters::hail; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - throw_and_wait (line 185) stdout ---- [INFO] [stdout] error: expected `;`, found `throw` [INFO] [stdout] --> src/lib.rs:187:51 [INFO] [stdout] | [INFO] [stdout] 4 | let stream = TcpStream::connect("127.0.0.1:34567") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 5 | [INFO] [stdout] 6 | throw(&mut stream, &64.0)?; [INFO] [stdout] | ----- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `throw` in this scope [INFO] [stdout] --> src/lib.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 6 | throw(&mut stream, &64.0)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use gutters::throw; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - pick_up (line 73) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/lib.rs:75:51 [INFO] [stdout] | [INFO] [stdout] 4 | let stream = TcpStream::connect("127.0.0.1:34567") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 5 | [INFO] [stdout] 6 | let mut data = 0.0f64 [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `pick_up` [INFO] [stdout] --> src/lib.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 6 | let mut data = 0.0f64 [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 7 | pick_up(&mut stream, &mut data)?; [INFO] [stdout] | ------- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pick_up` in this scope [INFO] [stdout] --> src/lib.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 7 | pick_up(&mut stream, &mut data)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use gutters::pick_up; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [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 - pick_up_and_hail (line 159) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/lib.rs:161:51 [INFO] [stdout] | [INFO] [stdout] 4 | let stream = TcpStream::connect("127.0.0.1:34567") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 5 | [INFO] [stdout] 6 | let mut data = 0.0f64 [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `pick_up_and_hail` [INFO] [stdout] --> src/lib.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 6 | let mut data = 0.0f64 [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 7 | pick_up_and_hail(&mut stream, &mut data)?; [INFO] [stdout] | ---------------- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pick_up_and_hail` in this scope [INFO] [stdout] --> src/lib.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 7 | pick_up_and_hail(&mut stream, &mut data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use gutters::pick_up_and_hail; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [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 7) stdout ---- [INFO] [stdout] error: expected `;`, found `throw` [INFO] [stdout] --> src/lib.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 16 | let log = 123.4f64 [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 17 | throw(&mut stream, &log)?; [INFO] [stdout] | ----- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `throw` [INFO] [stdout] --> src/lib.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 21 | let log = 567.8f64 [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 22 | throw(&mut stream, &log)?; [INFO] [stdout] | ----- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `throw_and_wait` [INFO] [stdout] --> src/lib.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 41 | let log = 567.8f64 [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 42 | throw_and_wait(&mut stream, &log)?; [INFO] [stdout] | -------------- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result: std::io::Read` is not satisfied [INFO] [stdout] --> src/lib.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 17 | throw(&mut stream, &log)?; [INFO] [stdout] | ----- ^^^^^^^^^^^ the trait `std::io::Read` is not implemented for `Result` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `throw` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn throw(gutter: &mut G, buffer: &T) -> Result<()> { [INFO] [stdout] | ^^^^ required by this bound in `throw` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result: std::io::Write` is not satisfied [INFO] [stdout] --> src/lib.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 17 | throw(&mut stream, &log)?; [INFO] [stdout] | ----- ^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Result` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `throw` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn throw(gutter: &mut G, buffer: &T) -> Result<()> { [INFO] [stdout] | ^^^^^ required by this bound in `throw` [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:21:25 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() { [INFO] [stdout] | --------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 17 | throw(&mut stream, &log)?; [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_7_0() -> Result<(), Box> { [INFO] [stdout] 5 | use gutters::{pick_up, throw, hail, wait, throw_and_wait, pick_up_and_hail}; [INFO] [stdout] ... [INFO] [stdout] 46 | println!("{}", log)?; [INFO] [stdout] 47 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result: std::io::Read` is not satisfied [INFO] [stdout] --> src/lib.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 22 | throw(&mut stream, &log)?; [INFO] [stdout] | ----- ^^^^^^^^^^^ the trait `std::io::Read` is not implemented for `Result` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `throw` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn throw(gutter: &mut G, buffer: &T) -> Result<()> { [INFO] [stdout] | ^^^^ required by this bound in `throw` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result: std::io::Write` is not satisfied [INFO] [stdout] --> src/lib.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 22 | throw(&mut stream, &log)?; [INFO] [stdout] | ----- ^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Result` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `throw` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn throw(gutter: &mut G, buffer: &T) -> Result<()> { [INFO] [stdout] | ^^^^^ required by this bound in `throw` [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:26:25 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() { [INFO] [stdout] | --------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 22 | throw(&mut stream, &log)?; [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_7_0() -> Result<(), Box> { [INFO] [stdout] 5 | use gutters::{pick_up, throw, hail, wait, throw_and_wait, pick_up_and_hail}; [INFO] [stdout] ... [INFO] [stdout] 46 | println!("{}", log)?; [INFO] [stdout] 47 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result: std::io::Read` is not satisfied [INFO] [stdout] --> src/lib.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 23 | throw(&mut stream, &log)?; [INFO] [stdout] | ----- ^^^^^^^^^^^ the trait `std::io::Read` is not implemented for `Result` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `throw` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn throw(gutter: &mut G, buffer: &T) -> Result<()> { [INFO] [stdout] | ^^^^ required by this bound in `throw` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result: std::io::Write` is not satisfied [INFO] [stdout] --> src/lib.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 23 | throw(&mut stream, &log)?; [INFO] [stdout] | ----- ^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Result` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `throw` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn throw(gutter: &mut G, buffer: &T) -> Result<()> { [INFO] [stdout] | ^^^^^ required by this bound in `throw` [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:27:25 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() { [INFO] [stdout] | --------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 23 | throw(&mut stream, &log)?; [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_7_0() -> Result<(), Box> { [INFO] [stdout] 5 | use gutters::{pick_up, throw, hail, wait, throw_and_wait, pick_up_and_hail}; [INFO] [stdout] ... [INFO] [stdout] 46 | println!("{}", log)?; [INFO] [stdout] 47 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result: std::io::Read` is not satisfied [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 27 | pick_up(&mut stream, &mut log)?; [INFO] [stdout] | ------- ^^^^^^^^^^^ the trait `std::io::Read` is not implemented for `Result` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pick_up` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn pick_up(gutter: &mut G, buffer: &mut T) -> Result<()> { [INFO] [stdout] | ^^^^ required by this bound in `pick_up` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result: std::io::Write` is not satisfied [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 27 | pick_up(&mut stream, &mut log)?; [INFO] [stdout] | ------- ^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Result` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pick_up` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn pick_up(gutter: &mut G, buffer: &mut T) -> Result<()> { [INFO] [stdout] | ^^^^^ required by this bound in `pick_up` [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:31:31 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() { [INFO] [stdout] | --------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 27 | pick_up(&mut stream, &mut log)?; [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_7_0() -> Result<(), Box> { [INFO] [stdout] 5 | use gutters::{pick_up, throw, hail, wait, throw_and_wait, pick_up_and_hail}; [INFO] [stdout] ... [INFO] [stdout] 46 | println!("{}", log)?; [INFO] [stdout] 47 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 28 | println!("{}", log)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` 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:32:20 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() { [INFO] [stdout] | --------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 28 | println!("{}", log)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result: std::io::Read` is not satisfied [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 29 | pick_up(&mut stream, &mut log)?; [INFO] [stdout] | ------- ^^^^^^^^^^^ the trait `std::io::Read` is not implemented for `Result` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pick_up` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn pick_up(gutter: &mut G, buffer: &mut T) -> Result<()> { [INFO] [stdout] | ^^^^ required by this bound in `pick_up` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result: std::io::Write` is not satisfied [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 29 | pick_up(&mut stream, &mut log)?; [INFO] [stdout] | ------- ^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Result` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pick_up` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:80:26 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn pick_up(gutter: &mut G, buffer: &mut T) -> Result<()> { [INFO] [stdout] | ^^^^^ required by this bound in `pick_up` [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:33:31 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() { [INFO] [stdout] | --------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 29 | pick_up(&mut stream, &mut log)?; [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_7_0() -> Result<(), Box> { [INFO] [stdout] 5 | use gutters::{pick_up, throw, hail, wait, throw_and_wait, pick_up_and_hail}; [INFO] [stdout] ... [INFO] [stdout] 46 | println!("{}", log)?; [INFO] [stdout] 47 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 30 | println!("{}", log)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` 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:34:20 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() { [INFO] [stdout] | --------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 30 | println!("{}", log)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result: std::io::Write` is not satisfied [INFO] [stdout] --> src/lib.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 34 | hail(&mut stream)?; [INFO] [stdout] | ---- ^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Result` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `hail` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn hail(gutter: &mut G) -> Result<()> { [INFO] [stdout] | ^^^^^ required by this bound in `hail` [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:38:18 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() { [INFO] [stdout] | --------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 34 | hail(&mut stream)?; [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_7_0() -> Result<(), Box> { [INFO] [stdout] 5 | use gutters::{pick_up, throw, hail, wait, throw_and_wait, pick_up_and_hail}; [INFO] [stdout] ... [INFO] [stdout] 46 | println!("{}", log)?; [INFO] [stdout] 47 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result: std::io::Read` is not satisfied [INFO] [stdout] --> src/lib.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 37 | wait(&mut stream)?; [INFO] [stdout] | ---- ^^^^^^^^^^^ the trait `std::io::Read` is not implemented for `Result` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `wait` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn wait(gutter: &mut G) -> Result<()> { [INFO] [stdout] | ^^^^ required by this bound in `wait` [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:41:18 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() { [INFO] [stdout] | --------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 37 | wait(&mut stream)?; [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_7_0() -> Result<(), Box> { [INFO] [stdout] 5 | use gutters::{pick_up, throw, hail, wait, throw_and_wait, pick_up_and_hail}; [INFO] [stdout] ... [INFO] [stdout] 46 | println!("{}", log)?; [INFO] [stdout] 47 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result: std::io::Read` is not satisfied [INFO] [stdout] --> src/lib.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 42 | throw_and_wait(&mut stream, &log)?; [INFO] [stdout] | -------------- ^^^^^^^^^^^ the trait `std::io::Read` is not implemented for `Result` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `throw_and_wait` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn throw_and_wait(gutter: &mut G, buffer: &T) -> Result<()> { [INFO] [stdout] | ^^^^ required by this bound in `throw_and_wait` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result: std::io::Write` is not satisfied [INFO] [stdout] --> src/lib.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 42 | throw_and_wait(&mut stream, &log)?; [INFO] [stdout] | -------------- ^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Result` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `throw_and_wait` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:191:33 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn throw_and_wait(gutter: &mut G, buffer: &T) -> Result<()> { [INFO] [stdout] | ^^^^^ required by this bound in `throw_and_wait` [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:34 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() { [INFO] [stdout] | --------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 42 | throw_and_wait(&mut stream, &log)?; [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_7_0() -> Result<(), Box> { [INFO] [stdout] 5 | use gutters::{pick_up, throw, hail, wait, throw_and_wait, pick_up_and_hail}; [INFO] [stdout] ... [INFO] [stdout] 46 | println!("{}", log)?; [INFO] [stdout] 47 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result: std::io::Read` is not satisfied [INFO] [stdout] --> src/lib.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 45 | pick_up_and_hail(&mut stream, &mut log)?; [INFO] [stdout] | ---------------- ^^^^^^^^^^^ the trait `std::io::Read` is not implemented for `Result` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pick_up_and_hail` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:166:28 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn pick_up_and_hail(gutter: &mut G, buffer: &mut T) -> Result<()> { [INFO] [stdout] | ^^^^ required by this bound in `pick_up_and_hail` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result: std::io::Write` is not satisfied [INFO] [stdout] --> src/lib.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 45 | pick_up_and_hail(&mut stream, &mut log)?; [INFO] [stdout] | ---------------- ^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Result` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `pick_up_and_hail` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:166:35 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn pick_up_and_hail(gutter: &mut G, buffer: &mut T) -> Result<()> { [INFO] [stdout] | ^^^^^ required by this bound in `pick_up_and_hail` [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:49:40 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() { [INFO] [stdout] | --------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 45 | pick_up_and_hail(&mut stream, &mut log)?; [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_7_0() -> Result<(), Box> { [INFO] [stdout] 5 | use gutters::{pick_up, throw, hail, wait, throw_and_wait, pick_up_and_hail}; [INFO] [stdout] ... [INFO] [stdout] 46 | println!("{}", log)?; [INFO] [stdout] 47 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/lib.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 46 | println!("{}", log)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` 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:50:20 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() { [INFO] [stdout] | --------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 46 | println!("{}", log)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 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/lib.rs - wait (line 135) stdout ---- [INFO] [stdout] error: expected `;`, found `wait` [INFO] [stdout] --> src/lib.rs:137:51 [INFO] [stdout] | [INFO] [stdout] 4 | let stream = TcpStream::connect("127.0.0.1:34567") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 5 | [INFO] [stdout] 6 | wait(&mut stream)?; [INFO] [stdout] | ---- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wait` in this scope [INFO] [stdout] --> src/lib.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 6 | wait(&mut stream)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use gutters::wait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 7) [INFO] [stdout] src/lib.rs - hail (line 115) [INFO] [stdout] src/lib.rs - pick_up (line 73) [INFO] [stdout] src/lib.rs - pick_up_and_hail (line 159) [INFO] [stdout] src/lib.rs - throw (line 95) [INFO] [stdout] src/lib.rs - throw_and_wait (line 185) [INFO] [stdout] src/lib.rs - wait (line 135) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "152c48530a55f43be6f1625f169a6158dd952884e77e6245a3cef8c7b34f0eeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "152c48530a55f43be6f1625f169a6158dd952884e77e6245a3cef8c7b34f0eeb", kill_on_drop: false }` [INFO] [stdout] 152c48530a55f43be6f1625f169a6158dd952884e77e6245a3cef8c7b34f0eeb