[INFO] fetching crate hi-tension 0.1.0...
[INFO] testing hi-tension-0.1.0 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate hi-tension 0.1.0 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate hi-tension 0.1.0 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate hi-tension 0.1.0
[INFO] finished tweaking crates.io crate hi-tension 0.1.0
[INFO] tweaked toml for crates.io crate hi-tension 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] daa99ec7befe0a8d45c6819163c8498c31de6eded7f70776505c127fdaaa302d
[INFO] running `Command { std: "docker" "start" "-a" "daa99ec7befe0a8d45c6819163c8498c31de6eded7f70776505c127fdaaa302d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "daa99ec7befe0a8d45c6819163c8498c31de6eded7f70776505c127fdaaa302d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "daa99ec7befe0a8d45c6819163c8498c31de6eded7f70776505c127fdaaa302d", kill_on_drop: false }`
[INFO] [stdout] daa99ec7befe0a8d45c6819163c8498c31de6eded7f70776505c127fdaaa302d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6f0442cb9a06ec1449221a5aee53f012757ba6fe74968c613118214c1ccf7fe0
[INFO] running `Command { std: "docker" "start" "-a" "6f0442cb9a06ec1449221a5aee53f012757ba6fe74968c613118214c1ccf7fe0", kill_on_drop: false }`
[INFO] [stderr]    Compiling hi-tension v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> src/lib.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |             drop(buf_view);
[INFO] [stdout]     |             ^^^^^--------^
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  argument has type `&mut [u8]`
[INFO] [stdout]     |
[INFO] [stdout]     = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] running `Command { std: "docker" "inspect" "6f0442cb9a06ec1449221a5aee53f012757ba6fe74968c613118214c1ccf7fe0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f0442cb9a06ec1449221a5aee53f012757ba6fe74968c613118214c1ccf7fe0", kill_on_drop: false }`
[INFO] [stdout] 6f0442cb9a06ec1449221a5aee53f012757ba6fe74968c613118214c1ccf7fe0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fdf8a0abfcb95f0b1f22337c72cd5d245fd359c30d60bcb1f3d93f51e1539562
[INFO] running `Command { std: "docker" "start" "-a" "fdf8a0abfcb95f0b1f22337c72cd5d245fd359c30d60bcb1f3d93f51e1539562", kill_on_drop: false }`
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> src/lib.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |             drop(buf_view);
[INFO] [stdout]     |             ^^^^^--------^
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  argument has type `&mut [u8]`
[INFO] [stdout]     |
[INFO] [stdout]     = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling hi-tension v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> src/lib.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |             drop(buf_view);
[INFO] [stdout]     |             ^^^^^--------^
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  argument has type `&mut [u8]`
[INFO] [stdout]     |
[INFO] [stdout]     = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s
[INFO] running `Command { std: "docker" "inspect" "fdf8a0abfcb95f0b1f22337c72cd5d245fd359c30d60bcb1f3d93f51e1539562", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fdf8a0abfcb95f0b1f22337c72cd5d245fd359c30d60bcb1f3d93f51e1539562", kill_on_drop: false }`
[INFO] [stdout] fdf8a0abfcb95f0b1f22337c72cd5d245fd359c30d60bcb1f3d93f51e1539562
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ddbcb47a7aaa58e8306ee032e3f693508dde6114c56fc17081821d1665f3098b
[INFO] running `Command { std: "docker" "start" "-a" "ddbcb47a7aaa58e8306ee032e3f693508dde6114c56fc17081821d1665f3098b", kill_on_drop: false }`
[INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stderr]    --> src/lib.rs:110:13
[INFO] [stderr]     |
[INFO] [stderr] 110 |             drop(buf_view);
[INFO] [stderr]     |             ^^^^^--------^
[INFO] [stderr]     |                  |
[INFO] [stderr]     |                  argument has type `&mut [u8]`
[INFO] [stderr]     |
[INFO] [stderr]     = note: use `let _ = ...` to ignore the expression or result
[INFO] [stderr]     = note: `#[warn(dropping_references)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `hi-tension` (lib) generated 1 warning
[INFO] [stderr] warning: `hi-tension` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.00s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hi_tension-a97ee48faa83e3c9)
[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 hi_tension
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - hiread (line 97) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - hidelimiter (line 186) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 8) ... FAILED
[INFO] [stdout] test src/lib.rs - hiwrite (line 143) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - hiread (line 97) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]  --> src/lib.rs:99: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 data = hiread(&mut stream);
[INFO] [stdout]   | --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hiread` in this scope
[INFO] [stdout]  --> src/lib.rs:101:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | let data = hiread(&mut stream);
[INFO] [stdout]   |            ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use hi_tension::hiread;
[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 - hidelimiter (line 186) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]  --> src/lib.rs:188: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 data = vec![0.0; 1_000_000]; // 8 MB
[INFO] [stdout]   | --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hiwrite` in this scope
[INFO] [stdout]  --> src/lib.rs:192:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | hiwrite(&mut stream, &data)?;
[INFO] [stdout]   | ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use hi_tension::hiwrite;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hidelimiter` in this scope
[INFO] [stdout]  --> src/lib.rs:193:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | hidelimiter(&mut stream);
[INFO] [stdout]   | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use hi_tension::hidelimiter;
[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 8) stdout ----
[INFO] [stdout] error[E0277]: the trait bound `Result<TcpStream, std::io::Error>: std::io::Write` is not satisfied
[INFO] [stdout]    --> src/lib.rs:26:9
[INFO] [stdout]     |
[INFO] [stdout] 21  | hiwrite(&mut stream, &data)?;
[INFO] [stdout]     | ------- ^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Result<TcpStream, std::io::Error>`
[INFO] [stdout]     | |
[INFO] [stdout]     | required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `hiwrite`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:159:19
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub fn hiwrite<W: Write>(stream: &mut W, data: &[f64]) -> Result<()> {
[INFO] [stdout]     |                   ^^^^^ required by this bound in `hiwrite`
[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:28
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_8_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 21 | hiwrite(&mut stream, &data)?;
[INFO] [stdout]    |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<TcpStream, std::io::Error>: std::io::Read` is not satisfied
[INFO] [stdout]    --> src/lib.rs:27:13
[INFO] [stdout]     |
[INFO] [stdout] 22  | hidelimiter(&mut stream);
[INFO] [stdout]     | ----------- ^^^^^^^^^^^ the trait `std::io::Read` is not implemented for `Result<TcpStream, std::io::Error>`
[INFO] [stdout]     | |
[INFO] [stdout]     | required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `hidelimiter`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:195:23
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub fn hidelimiter<S: Read + Write>(stream: &mut S) -> Result<()> {
[INFO] [stdout]     |                       ^^^^ required by this bound in `hidelimiter`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<TcpStream, std::io::Error>: std::io::Write` is not satisfied
[INFO] [stdout]    --> src/lib.rs:27:13
[INFO] [stdout]     |
[INFO] [stdout] 22  | hidelimiter(&mut stream);
[INFO] [stdout]     | ----------- ^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Result<TcpStream, std::io::Error>`
[INFO] [stdout]     | |
[INFO] [stdout]     | required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `hidelimiter`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:195:30
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub fn hidelimiter<S: Read + Write>(stream: &mut S) -> Result<()> {
[INFO] [stdout]     |                              ^^^^^ required by this bound in `hidelimiter`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<TcpStream, std::io::Error>: std::io::Write` is not satisfied
[INFO] [stdout]    --> src/lib.rs:30:9
[INFO] [stdout]     |
[INFO] [stdout] 25  | hiwrite(&mut stream, &data[..500_000])?;
[INFO] [stdout]     | ------- ^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Result<TcpStream, std::io::Error>`
[INFO] [stdout]     | |
[INFO] [stdout]     | required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `hiwrite`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:159:19
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub fn hiwrite<W: Write>(stream: &mut W, data: &[f64]) -> Result<()> {
[INFO] [stdout]     |                   ^^^^^ required by this bound in `hiwrite`
[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:30:39
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_8_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 25 | hiwrite(&mut stream, &data[..500_000])?;
[INFO] [stdout]    |                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<TcpStream, std::io::Error>: std::io::Write` is not satisfied
[INFO] [stdout]    --> src/lib.rs:31:9
[INFO] [stdout]     |
[INFO] [stdout] 26  | hiwrite(&mut stream, &data[500_000..])?;
[INFO] [stdout]     | ------- ^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Result<TcpStream, std::io::Error>`
[INFO] [stdout]     | |
[INFO] [stdout]     | required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `hiwrite`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:159:19
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub fn hiwrite<W: Write>(stream: &mut W, data: &[f64]) -> Result<()> {
[INFO] [stdout]     |                   ^^^^^ required by this bound in `hiwrite`
[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:39
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_8_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 26 | hiwrite(&mut stream, &data[500_000..])?;
[INFO] [stdout]    |                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<TcpStream, std::io::Error>: std::io::Read` is not satisfied
[INFO] [stdout]    --> src/lib.rs:32:13
[INFO] [stdout]     |
[INFO] [stdout] 27  | hidelimiter(&mut stream);
[INFO] [stdout]     | ----------- ^^^^^^^^^^^ the trait `std::io::Read` is not implemented for `Result<TcpStream, std::io::Error>`
[INFO] [stdout]     | |
[INFO] [stdout]     | required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `hidelimiter`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:195:23
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub fn hidelimiter<S: Read + Write>(stream: &mut S) -> Result<()> {
[INFO] [stdout]     |                       ^^^^ required by this bound in `hidelimiter`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<TcpStream, std::io::Error>: std::io::Write` is not satisfied
[INFO] [stdout]    --> src/lib.rs:32:13
[INFO] [stdout]     |
[INFO] [stdout] 27  | hidelimiter(&mut stream);
[INFO] [stdout]     | ----------- ^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Result<TcpStream, std::io::Error>`
[INFO] [stdout]     | |
[INFO] [stdout]     | required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `hidelimiter`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:195:30
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub fn hidelimiter<S: Read + Write>(stream: &mut S) -> Result<()> {
[INFO] [stdout]     |                              ^^^^^ required by this bound in `hidelimiter`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<TcpStream, std::io::Error>: std::io::Read` is not satisfied
[INFO] [stdout]    --> src/lib.rs:37:18
[INFO] [stdout]     |
[INFO] [stdout] 32  | let vec = hiread(&mut stream)?;
[INFO] [stdout]     |           ------ ^^^^^^^^^^^ the trait `std::io::Read` is not implemented for `Result<TcpStream, std::io::Error>`
[INFO] [stdout]     |           |
[INFO] [stdout]     |           required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `hiread`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:103:18
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub fn hiread<S: Read + Write>(stream: &mut S) -> Result<Vec<f64>> {
[INFO] [stdout]     |                  ^^^^ required by this bound in `hiread`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<TcpStream, std::io::Error>: std::io::Write` is not satisfied
[INFO] [stdout]    --> src/lib.rs:37:18
[INFO] [stdout]     |
[INFO] [stdout] 32  | let vec = hiread(&mut stream)?;
[INFO] [stdout]     |           ------ ^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Result<TcpStream, std::io::Error>`
[INFO] [stdout]     |           |
[INFO] [stdout]     |           required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `hiread`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:103:25
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub fn hiread<S: Read + Write>(stream: &mut S) -> Result<Vec<f64>> {
[INFO] [stdout]     |                         ^^^^^ required by this bound in `hiread`
[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:37:30
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_8_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 32 | let vec = hiread(&mut stream)?;
[INFO] [stdout]    |                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 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 - hiwrite (line 143) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]  --> src/lib.rs:145: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 data = vec![0.0; 1_000_000]; // 8 MB
[INFO] [stdout]   | --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hiwrite` in this scope
[INFO] [stdout]   --> src/lib.rs:151:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | hiwrite(&mut stream, &data)?;
[INFO] [stdout]    | ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use hi_tension::hiwrite;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hidelimiter` in this scope
[INFO] [stdout]   --> src/lib.rs:152:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | hidelimiter(&mut stream);
[INFO] [stdout]    | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use hi_tension::hidelimiter;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hiwrite` in this scope
[INFO] [stdout]   --> src/lib.rs:155:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | hiwrite(&mut stream, &data[..500_000])?;
[INFO] [stdout]    | ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use hi_tension::hiwrite;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hiwrite` in this scope
[INFO] [stdout]   --> src/lib.rs:156:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | hiwrite(&mut stream, &data[500_000..])?;
[INFO] [stdout]    | ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use hi_tension::hiwrite;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hidelimiter` in this scope
[INFO] [stdout]   --> src/lib.rs:157:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | hidelimiter(&mut stream);
[INFO] [stdout]    | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use hi_tension::hidelimiter;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 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 8)
[INFO] [stdout]     src/lib.rs - hidelimiter (line 186)
[INFO] [stdout]     src/lib.rs - hiread (line 97)
[INFO] [stdout]     src/lib.rs - hiwrite (line 143)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "ddbcb47a7aaa58e8306ee032e3f693508dde6114c56fc17081821d1665f3098b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ddbcb47a7aaa58e8306ee032e3f693508dde6114c56fc17081821d1665f3098b", kill_on_drop: false }`
[INFO] [stdout] ddbcb47a7aaa58e8306ee032e3f693508dde6114c56fc17081821d1665f3098b
[INFO] testing hi-tension-0.1.0 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate hi-tension 0.1.0 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate hi-tension 0.1.0 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate hi-tension 0.1.0
[INFO] finished tweaking crates.io crate hi-tension 0.1.0
[INFO] tweaked toml for crates.io crate hi-tension 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7f93586f7fdf733404e83e0a83a57ce364d5eb7161d37876e5a9163ad25dc3be
[INFO] running `Command { std: "docker" "start" "-a" "7f93586f7fdf733404e83e0a83a57ce364d5eb7161d37876e5a9163ad25dc3be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7f93586f7fdf733404e83e0a83a57ce364d5eb7161d37876e5a9163ad25dc3be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7f93586f7fdf733404e83e0a83a57ce364d5eb7161d37876e5a9163ad25dc3be", kill_on_drop: false }`
[INFO] [stdout] 7f93586f7fdf733404e83e0a83a57ce364d5eb7161d37876e5a9163ad25dc3be
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ffb3b39b5e1e0c0f5623f8f903a90eb2c9b511ec5dd19a618b307bf15f105751
[INFO] running `Command { std: "docker" "start" "-a" "ffb3b39b5e1e0c0f5623f8f903a90eb2c9b511ec5dd19a618b307bf15f105751", kill_on_drop: false }`
[INFO] [stderr]    Compiling hi-tension v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> src/lib.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |             drop(buf_view);
[INFO] [stdout]     |             ^^^^^--------^
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  argument has type `&mut [u8]`
[INFO] [stdout]     |
[INFO] [stdout]     = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] running `Command { std: "docker" "inspect" "ffb3b39b5e1e0c0f5623f8f903a90eb2c9b511ec5dd19a618b307bf15f105751", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ffb3b39b5e1e0c0f5623f8f903a90eb2c9b511ec5dd19a618b307bf15f105751", kill_on_drop: false }`
[INFO] [stdout] ffb3b39b5e1e0c0f5623f8f903a90eb2c9b511ec5dd19a618b307bf15f105751
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f0c301892508def7cabe3a9c95d82d7ad515a7adf625020de8857ebf52ae9aa4
[INFO] running `Command { std: "docker" "start" "-a" "f0c301892508def7cabe3a9c95d82d7ad515a7adf625020de8857ebf52ae9aa4", kill_on_drop: false }`
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> src/lib.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |             drop(buf_view);
[INFO] [stdout]     |             ^^^^^--------^
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  argument has type `&mut [u8]`
[INFO] [stdout]     |
[INFO] [stdout]     = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling hi-tension v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> src/lib.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |             drop(buf_view);
[INFO] [stdout]     |             ^^^^^--------^
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  argument has type `&mut [u8]`
[INFO] [stdout]     |
[INFO] [stdout]     = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s
[INFO] running `Command { std: "docker" "inspect" "f0c301892508def7cabe3a9c95d82d7ad515a7adf625020de8857ebf52ae9aa4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0c301892508def7cabe3a9c95d82d7ad515a7adf625020de8857ebf52ae9aa4", kill_on_drop: false }`
[INFO] [stdout] f0c301892508def7cabe3a9c95d82d7ad515a7adf625020de8857ebf52ae9aa4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ca55750a6dc98737413c02ce05e333c1928817b8d9e21f172f102937eed2324f
[INFO] running `Command { std: "docker" "start" "-a" "ca55750a6dc98737413c02ce05e333c1928817b8d9e21f172f102937eed2324f", kill_on_drop: false }`
[INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stderr]    --> src/lib.rs:110:13
[INFO] [stderr]     |
[INFO] [stderr] 110 |             drop(buf_view);
[INFO] [stderr]     |             ^^^^^--------^
[INFO] [stderr]     |                  |
[INFO] [stderr]     |                  argument has type `&mut [u8]`
[INFO] [stderr]     |
[INFO] [stderr]     = note: use `let _ = ...` to ignore the expression or result
[INFO] [stderr]     = note: `#[warn(dropping_references)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `hi-tension` (lib) generated 1 warning
[INFO] [stderr] warning: `hi-tension` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.00s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hi_tension-a97ee48faa83e3c9)
[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 hi_tension
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - (line 8) ... FAILED
[INFO] [stdout] test src/lib.rs - hiread (line 97) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - hidelimiter (line 186) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - hiwrite (line 143) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 8) stdout ----
[INFO] [stdout] error[E0277]: the trait bound `Result<TcpStream, std::io::Error>: std::io::Write` is not satisfied
[INFO] [stdout]    --> src/lib.rs:26:9
[INFO] [stdout]     |
[INFO] [stdout] 21  | hiwrite(&mut stream, &data)?;
[INFO] [stdout]     | ------- ^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Result<TcpStream, std::io::Error>`
[INFO] [stdout]     | |
[INFO] [stdout]     | required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `hiwrite`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:159:19
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub fn hiwrite<W: Write>(stream: &mut W, data: &[f64]) -> Result<()> {
[INFO] [stdout]     |                   ^^^^^ required by this bound in `hiwrite`
[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:28
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_8_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 21 | hiwrite(&mut stream, &data)?;
[INFO] [stdout]    |                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<TcpStream, std::io::Error>: std::io::Read` is not satisfied
[INFO] [stdout]    --> src/lib.rs:27:13
[INFO] [stdout]     |
[INFO] [stdout] 22  | hidelimiter(&mut stream);
[INFO] [stdout]     | ----------- ^^^^^^^^^^^ the trait `std::io::Read` is not implemented for `Result<TcpStream, std::io::Error>`
[INFO] [stdout]     | |
[INFO] [stdout]     | required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `hidelimiter`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:195:23
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub fn hidelimiter<S: Read + Write>(stream: &mut S) -> Result<()> {
[INFO] [stdout]     |                       ^^^^ required by this bound in `hidelimiter`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<TcpStream, std::io::Error>: std::io::Write` is not satisfied
[INFO] [stdout]    --> src/lib.rs:27:13
[INFO] [stdout]     |
[INFO] [stdout] 22  | hidelimiter(&mut stream);
[INFO] [stdout]     | ----------- ^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Result<TcpStream, std::io::Error>`
[INFO] [stdout]     | |
[INFO] [stdout]     | required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `hidelimiter`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:195:30
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub fn hidelimiter<S: Read + Write>(stream: &mut S) -> Result<()> {
[INFO] [stdout]     |                              ^^^^^ required by this bound in `hidelimiter`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<TcpStream, std::io::Error>: std::io::Write` is not satisfied
[INFO] [stdout]    --> src/lib.rs:30:9
[INFO] [stdout]     |
[INFO] [stdout] 25  | hiwrite(&mut stream, &data[..500_000])?;
[INFO] [stdout]     | ------- ^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Result<TcpStream, std::io::Error>`
[INFO] [stdout]     | |
[INFO] [stdout]     | required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `hiwrite`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:159:19
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub fn hiwrite<W: Write>(stream: &mut W, data: &[f64]) -> Result<()> {
[INFO] [stdout]     |                   ^^^^^ required by this bound in `hiwrite`
[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:30:39
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_8_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 25 | hiwrite(&mut stream, &data[..500_000])?;
[INFO] [stdout]    |                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<TcpStream, std::io::Error>: std::io::Write` is not satisfied
[INFO] [stdout]    --> src/lib.rs:31:9
[INFO] [stdout]     |
[INFO] [stdout] 26  | hiwrite(&mut stream, &data[500_000..])?;
[INFO] [stdout]     | ------- ^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Result<TcpStream, std::io::Error>`
[INFO] [stdout]     | |
[INFO] [stdout]     | required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `hiwrite`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:159:19
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub fn hiwrite<W: Write>(stream: &mut W, data: &[f64]) -> Result<()> {
[INFO] [stdout]     |                   ^^^^^ required by this bound in `hiwrite`
[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:39
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_8_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 26 | hiwrite(&mut stream, &data[500_000..])?;
[INFO] [stdout]    |                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<TcpStream, std::io::Error>: std::io::Read` is not satisfied
[INFO] [stdout]    --> src/lib.rs:32:13
[INFO] [stdout]     |
[INFO] [stdout] 27  | hidelimiter(&mut stream);
[INFO] [stdout]     | ----------- ^^^^^^^^^^^ the trait `std::io::Read` is not implemented for `Result<TcpStream, std::io::Error>`
[INFO] [stdout]     | |
[INFO] [stdout]     | required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `hidelimiter`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:195:23
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub fn hidelimiter<S: Read + Write>(stream: &mut S) -> Result<()> {
[INFO] [stdout]     |                       ^^^^ required by this bound in `hidelimiter`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<TcpStream, std::io::Error>: std::io::Write` is not satisfied
[INFO] [stdout]    --> src/lib.rs:32:13
[INFO] [stdout]     |
[INFO] [stdout] 27  | hidelimiter(&mut stream);
[INFO] [stdout]     | ----------- ^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Result<TcpStream, std::io::Error>`
[INFO] [stdout]     | |
[INFO] [stdout]     | required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `hidelimiter`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:195:30
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub fn hidelimiter<S: Read + Write>(stream: &mut S) -> Result<()> {
[INFO] [stdout]     |                              ^^^^^ required by this bound in `hidelimiter`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<TcpStream, std::io::Error>: std::io::Read` is not satisfied
[INFO] [stdout]    --> src/lib.rs:37:18
[INFO] [stdout]     |
[INFO] [stdout] 32  | let vec = hiread(&mut stream)?;
[INFO] [stdout]     |           ------ ^^^^^^^^^^^ the trait `std::io::Read` is not implemented for `Result<TcpStream, std::io::Error>`
[INFO] [stdout]     |           |
[INFO] [stdout]     |           required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `hiread`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:103:18
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub fn hiread<S: Read + Write>(stream: &mut S) -> Result<Vec<f64>> {
[INFO] [stdout]     |                  ^^^^ required by this bound in `hiread`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<TcpStream, std::io::Error>: std::io::Write` is not satisfied
[INFO] [stdout]    --> src/lib.rs:37:18
[INFO] [stdout]     |
[INFO] [stdout] 32  | let vec = hiread(&mut stream)?;
[INFO] [stdout]     |           ------ ^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Result<TcpStream, std::io::Error>`
[INFO] [stdout]     |           |
[INFO] [stdout]     |           required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `hiread`
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:103:25
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub fn hiread<S: Read + Write>(stream: &mut S) -> Result<Vec<f64>> {
[INFO] [stdout]     |                         ^^^^^ required by this bound in `hiread`
[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:37:30
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_8_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 32 | let vec = hiread(&mut stream)?;
[INFO] [stdout]    |                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 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 - hiread (line 97) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]  --> src/lib.rs:99: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 data = hiread(&mut stream);
[INFO] [stdout]   | --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hiread` in this scope
[INFO] [stdout]  --> src/lib.rs:101:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | let data = hiread(&mut stream);
[INFO] [stdout]   |            ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use hi_tension::hiread;
[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 - hidelimiter (line 186) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]  --> src/lib.rs:188: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 data = vec![0.0; 1_000_000]; // 8 MB
[INFO] [stdout]   | --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hiwrite` in this scope
[INFO] [stdout]  --> src/lib.rs:192:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | hiwrite(&mut stream, &data)?;
[INFO] [stdout]   | ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use hi_tension::hiwrite;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hidelimiter` in this scope
[INFO] [stdout]  --> src/lib.rs:193:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | hidelimiter(&mut stream);
[INFO] [stdout]   | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use hi_tension::hidelimiter;
[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 - hiwrite (line 143) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]  --> src/lib.rs:145: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 data = vec![0.0; 1_000_000]; // 8 MB
[INFO] [stdout]   | --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hiwrite` in this scope
[INFO] [stdout]   --> src/lib.rs:151:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | hiwrite(&mut stream, &data)?;
[INFO] [stdout]    | ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use hi_tension::hiwrite;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hidelimiter` in this scope
[INFO] [stdout]   --> src/lib.rs:152:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | hidelimiter(&mut stream);
[INFO] [stdout]    | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use hi_tension::hidelimiter;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hiwrite` in this scope
[INFO] [stdout]   --> src/lib.rs:155:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | hiwrite(&mut stream, &data[..500_000])?;
[INFO] [stdout]    | ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use hi_tension::hiwrite;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hiwrite` in this scope
[INFO] [stdout]   --> src/lib.rs:156:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | hiwrite(&mut stream, &data[500_000..])?;
[INFO] [stdout]    | ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use hi_tension::hiwrite;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hidelimiter` in this scope
[INFO] [stdout]   --> src/lib.rs:157:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | hidelimiter(&mut stream);
[INFO] [stdout]    | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use hi_tension::hidelimiter;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 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 8)
[INFO] [stdout]     src/lib.rs - hidelimiter (line 186)
[INFO] [stdout]     src/lib.rs - hiread (line 97)
[INFO] [stdout]     src/lib.rs - hiwrite (line 143)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "ca55750a6dc98737413c02ce05e333c1928817b8d9e21f172f102937eed2324f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ca55750a6dc98737413c02ce05e333c1928817b8d9e21f172f102937eed2324f", kill_on_drop: false }`
[INFO] [stdout] ca55750a6dc98737413c02ce05e333c1928817b8d9e21f172f102937eed2324f
