[INFO] fetching crate memstream 0.0.1...
[INFO] checking memstream-0.0.1 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate memstream 0.0.1 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate memstream 0.0.1 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate memstream 0.0.1
[INFO] finished tweaking crates.io crate memstream 0.0.1
[INFO] tweaked toml for crates.io crate memstream 0.0.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cd482560e3a568d9a1f1cdbedf2cb69a2e8296609b21345498ff9947b99b2128
[INFO] running `Command { std: "docker" "start" "-a" "cd482560e3a568d9a1f1cdbedf2cb69a2e8296609b21345498ff9947b99b2128", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cd482560e3a568d9a1f1cdbedf2cb69a2e8296609b21345498ff9947b99b2128", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd482560e3a568d9a1f1cdbedf2cb69a2e8296609b21345498ff9947b99b2128", kill_on_drop: false }`
[INFO] [stdout] cd482560e3a568d9a1f1cdbedf2cb69a2e8296609b21345498ff9947b99b2128
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5defef29ef5f5f6626fa1992b06be68573419266fdc3f239286af575c6390564
[INFO] running `Command { std: "docker" "start" "-a" "5defef29ef5f5f6626fa1992b06be68573419266fdc3f239286af575c6390564", kill_on_drop: false }`
[INFO] [stderr]     Checking memstream v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unknown lint: `missing_doc`
[INFO] [stdout]  --> src/lib.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![deny(missing_doc)]
[INFO] [stdout]   |         ^^^^^^^^^^^ help: did you mean: `missing_docs`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unknown lint: `missing_doc`
[INFO] [stdout]  --> src/lib.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![deny(missing_doc)]
[INFO] [stdout]   |         ^^^^^^^^^^^ help: did you mean: `missing_docs`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]   --> src/lib.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 73 |     extern crate test;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]    = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write` found for struct `MemStream` in the current scope
[INFO] [stdout]   --> src/lib.rs:79:16
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct MemStream {
[INFO] [stdout]    | -------------------- method `write` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 79 |         stream.write([0, 1, 2, 3]).unwrap();
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/io/mod.rs:1590:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `MemStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 73 +     use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `write_all` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 79 |         stream.write_all([0, 1, 2, 3]).unwrap();
[INFO] [stdout]    |                ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write` found for struct `MemStream` in the current scope
[INFO] [stdout]   --> src/lib.rs:80:16
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct MemStream {
[INFO] [stdout]    | -------------------- method `write` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 80 |         stream.write([4, 5, 6, 7]).unwrap();
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/io/mod.rs:1590:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `MemStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 73 +     use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `write_all` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 80 |         stream.write_all([4, 5, 6, 7]).unwrap();
[INFO] [stdout]    |                ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for struct `MemStream` in the current scope
[INFO] [stdout]   --> src/lib.rs:84:27
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct MemStream {
[INFO] [stdout]    | -------------------- method `read` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 84 |         assert_eq!(stream.read(buf), Ok(0));
[INFO] [stdout]    |                           ^^^^ method not found in `MemStream`
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/io/mod.rs:742:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `MemStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 73 +     use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for struct `MemStream` in the current scope
[INFO] [stdout]   --> src/lib.rs:86:27
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct MemStream {
[INFO] [stdout]    | -------------------- method `read` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 86 |         assert_eq!(stream.read(buf), Ok(1));
[INFO] [stdout]    |                           ^^^^ method not found in `MemStream`
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/io/mod.rs:742:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `MemStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 73 +     use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:89:27
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let mut buf = [0, ..4];
[INFO] [stdout]    |                           ^^^ expected integer, found `RangeTo<{integer}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `{integer}`
[INFO] [stdout]             found struct `RangeTo<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for struct `MemStream` in the current scope
[INFO] [stdout]   --> src/lib.rs:90:27
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct MemStream {
[INFO] [stdout]    | -------------------- method `read` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 90 |         assert_eq!(stream.read(buf), Ok(4));
[INFO] [stdout]    |                           ^^^^ method not found in `MemStream`
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/io/mod.rs:742:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `MemStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 73 +     use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for struct `MemStream` in the current scope
[INFO] [stdout]   --> src/lib.rs:93:27
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct MemStream {
[INFO] [stdout]    | -------------------- method `read` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 93 |         assert_eq!(stream.read(buf), Ok(3));
[INFO] [stdout]    |                           ^^^^ method not found in `MemStream`
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/io/mod.rs:742:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `MemStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 73 +     use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for struct `MemStream` in the current scope
[INFO] [stdout]   --> src/lib.rs:96:24
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct MemStream {
[INFO] [stdout]    | -------------------- method `read` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 96 |         assert!(stream.read(buf).is_err());
[INFO] [stdout]    |                        ^^^^ method not found in `MemStream`
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/io/mod.rs:742:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `MemStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 73 +     use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `memstream` (lib test) due to 10 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "5defef29ef5f5f6626fa1992b06be68573419266fdc3f239286af575c6390564", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5defef29ef5f5f6626fa1992b06be68573419266fdc3f239286af575c6390564", kill_on_drop: false }`
[INFO] [stdout] 5defef29ef5f5f6626fa1992b06be68573419266fdc3f239286af575c6390564
[INFO] checking memstream-0.0.1 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate memstream 0.0.1 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate memstream 0.0.1 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate memstream 0.0.1
[INFO] finished tweaking crates.io crate memstream 0.0.1
[INFO] tweaked toml for crates.io crate memstream 0.0.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 29cbaece0f5c257c99afa33b67200b9afb21a0aca27194c85de2bfbb34e773b1
[INFO] running `Command { std: "docker" "start" "-a" "29cbaece0f5c257c99afa33b67200b9afb21a0aca27194c85de2bfbb34e773b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "29cbaece0f5c257c99afa33b67200b9afb21a0aca27194c85de2bfbb34e773b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29cbaece0f5c257c99afa33b67200b9afb21a0aca27194c85de2bfbb34e773b1", kill_on_drop: false }`
[INFO] [stdout] 29cbaece0f5c257c99afa33b67200b9afb21a0aca27194c85de2bfbb34e773b1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8b2c4cc7833e9e0e2efd79b1b256c5519320c1e17e3e2fa9cf3a7489126d01d0
[INFO] running `Command { std: "docker" "start" "-a" "8b2c4cc7833e9e0e2efd79b1b256c5519320c1e17e3e2fa9cf3a7489126d01d0", kill_on_drop: false }`
[INFO] [stderr]     Checking memstream v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unknown lint: `missing_doc`
[INFO] [stdout]  --> src/lib.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![deny(missing_doc)]
[INFO] [stdout]   |         ^^^^^^^^^^^ help: did you mean: `missing_docs`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unknown lint: `missing_doc`
[INFO] [stdout]  --> src/lib.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![deny(missing_doc)]
[INFO] [stdout]   |         ^^^^^^^^^^^ help: did you mean: `missing_docs`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'test'
[INFO] [stdout]   --> src/lib.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 73 |     extern crate test;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]    = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write` found for struct `MemStream` in the current scope
[INFO] [stdout]   --> src/lib.rs:79:16
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct MemStream {
[INFO] [stdout]    | -------------------- method `write` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 79 |         stream.write([0, 1, 2, 3]).unwrap();
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/io/mod.rs:1590:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `MemStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 73 +     use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `write_all` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 79 |         stream.write_all([0, 1, 2, 3]).unwrap();
[INFO] [stdout]    |                ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write` found for struct `MemStream` in the current scope
[INFO] [stdout]   --> src/lib.rs:80:16
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct MemStream {
[INFO] [stdout]    | -------------------- method `write` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 80 |         stream.write([4, 5, 6, 7]).unwrap();
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/io/mod.rs:1590:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `MemStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 73 +     use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `write_all` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 80 |         stream.write_all([4, 5, 6, 7]).unwrap();
[INFO] [stdout]    |                ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for struct `MemStream` in the current scope
[INFO] [stdout]   --> src/lib.rs:84:27
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct MemStream {
[INFO] [stdout]    | -------------------- method `read` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 84 |         assert_eq!(stream.read(buf), Ok(0));
[INFO] [stdout]    |                           ^^^^ method not found in `MemStream`
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/io/mod.rs:742:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `MemStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 73 +     use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for struct `MemStream` in the current scope
[INFO] [stdout]   --> src/lib.rs:86:27
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct MemStream {
[INFO] [stdout]    | -------------------- method `read` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 86 |         assert_eq!(stream.read(buf), Ok(1));
[INFO] [stdout]    |                           ^^^^ method not found in `MemStream`
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/io/mod.rs:742:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `MemStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 73 +     use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:89:27
[INFO] [stdout]    |
[INFO] [stdout] 89 |         let mut buf = [0, ..4];
[INFO] [stdout]    |                           ^^^ expected integer, found `RangeTo<{integer}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `{integer}`
[INFO] [stdout]             found struct `RangeTo<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for struct `MemStream` in the current scope
[INFO] [stdout]   --> src/lib.rs:90:27
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct MemStream {
[INFO] [stdout]    | -------------------- method `read` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 90 |         assert_eq!(stream.read(buf), Ok(4));
[INFO] [stdout]    |                           ^^^^ method not found in `MemStream`
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/io/mod.rs:742:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `MemStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 73 +     use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for struct `MemStream` in the current scope
[INFO] [stdout]   --> src/lib.rs:93:27
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct MemStream {
[INFO] [stdout]    | -------------------- method `read` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 93 |         assert_eq!(stream.read(buf), Ok(3));
[INFO] [stdout]    |                           ^^^^ method not found in `MemStream`
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/io/mod.rs:742:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `MemStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 73 +     use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read` found for struct `MemStream` in the current scope
[INFO] [stdout]   --> src/lib.rs:96:24
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct MemStream {
[INFO] [stdout]    | -------------------- method `read` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 96 |         assert!(stream.read(buf).is_err());
[INFO] [stdout]    |                        ^^^^ method not found in `MemStream`
[INFO] [stdout]   --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/io/mod.rs:742:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `MemStream` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Read` which provides `read` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 73 +     use std::io::Read;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `memstream` (lib test) due to 10 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "8b2c4cc7833e9e0e2efd79b1b256c5519320c1e17e3e2fa9cf3a7489126d01d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b2c4cc7833e9e0e2efd79b1b256c5519320c1e17e3e2fa9cf3a7489126d01d0", kill_on_drop: false }`
[INFO] [stdout] 8b2c4cc7833e9e0e2efd79b1b256c5519320c1e17e3e2fa9cf3a7489126d01d0
