[INFO] crate memstream 0.0.1 is already in cache [INFO] extracting crate memstream 0.0.1 into work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/memstream/0.0.1 [INFO] extracting crate memstream 0.0.1 into work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/memstream/0.0.1 [INFO] validating manifest of memstream-0.0.1 on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of memstream-0.0.1 on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing memstream-0.0.1 [INFO] finished frobbing memstream-0.0.1 [INFO] frobbed toml for memstream-0.0.1 written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/memstream/0.0.1/Cargo.toml [INFO] started frobbing memstream-0.0.1 [INFO] finished frobbing memstream-0.0.1 [INFO] frobbed toml for memstream-0.0.1 written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/memstream/0.0.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking memstream-0.0.1 against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-4/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/memstream/0.0.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] ce2c4619733eb624451aaccb1615fd720603cec525f5e5e24e73a6d36b1af7a4 [INFO] running `"docker" "start" "-a" "ce2c4619733eb624451aaccb1615fd720603cec525f5e5e24e73a6d36b1af7a4"` [INFO] [stderr] Checking memstream v0.0.1 (/opt/crater/workdir) [INFO] [stderr] warning: unknown lint: `missing_doc` [INFO] [stderr] --> src/lib.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(missing_doc)] [INFO] [stderr] | ^^^^^^^^^^^ help: did you mean: `missing_docs` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unknown_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unknown lint: `missing_doc` [INFO] [stderr] --> src/lib.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(missing_doc)] [INFO] [stderr] | ^^^^^^^^^^^ help: did you mean: `missing_docs` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unknown_lints)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'test' [INFO] [stderr] --> src/lib.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | extern crate test; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/50297 [INFO] [stderr] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write` found for type `MemStream` in the current scope [INFO] [stderr] --> src/lib.rs:79:16 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct MemStream { [INFO] [stderr] | -------------------- method `write` not found for this [INFO] [stderr] ... [INFO] [stderr] 79 | stream.write([0, 1, 2, 3]).unwrap(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::io::Write;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write` found for type `MemStream` in the current scope [INFO] [stderr] --> src/lib.rs:80:16 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct MemStream { [INFO] [stderr] | -------------------- method `write` not found for this [INFO] [stderr] ... [INFO] [stderr] 80 | stream.write([4, 5, 6, 7]).unwrap(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::io::Write;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read` found for type `MemStream` in the current scope [INFO] [stderr] --> src/lib.rs:84:27 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct MemStream { [INFO] [stderr] | -------------------- method `read` not found for this [INFO] [stderr] ... [INFO] [stderr] 84 | assert_eq!(stream.read(buf), Ok(0)); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::io::Read;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read` found for type `MemStream` in the current scope [INFO] [stderr] --> src/lib.rs:86:27 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct MemStream { [INFO] [stderr] | -------------------- method `read` not found for this [INFO] [stderr] ... [INFO] [stderr] 86 | assert_eq!(stream.read(buf), Ok(1)); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::io::Read;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `[{integer}; 1]` in the current scope [INFO] [stderr] --> src/lib.rs:88:24 [INFO] [stderr] | [INFO] [stderr] 88 | assert_eq!(buf.as_slice(), b); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::array::FixedSizeArray;` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:89:27 [INFO] [stderr] | [INFO] [stderr] 89 | let mut buf = [0, ..4]; [INFO] [stderr] | ^^^ expected integer, found struct `std::ops::RangeTo` [INFO] [stderr] | [INFO] [stderr] = note: expected type `{integer}` [INFO] [stderr] found type `std::ops::RangeTo<{integer}>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read` found for type `MemStream` in the current scope [INFO] [stderr] --> src/lib.rs:90:27 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct MemStream { [INFO] [stderr] | -------------------- method `read` not found for this [INFO] [stderr] ... [INFO] [stderr] 90 | assert_eq!(stream.read(buf), Ok(4)); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::io::Read;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read` found for type `MemStream` in the current scope [INFO] [stderr] --> src/lib.rs:93:27 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct MemStream { [INFO] [stderr] | -------------------- method `read` not found for this [INFO] [stderr] ... [INFO] [stderr] 93 | assert_eq!(stream.read(buf), Ok(3)); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::io::Read;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read` found for type `MemStream` in the current scope [INFO] [stderr] --> src/lib.rs:96:24 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct MemStream { [INFO] [stderr] | -------------------- method `read` not found for this [INFO] [stderr] ... [INFO] [stderr] 96 | assert!(stream.read(buf).is_err()); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use std::io::Read;` [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0599, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `memstream`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ce2c4619733eb624451aaccb1615fd720603cec525f5e5e24e73a6d36b1af7a4"` [INFO] running `"docker" "rm" "-f" "ce2c4619733eb624451aaccb1615fd720603cec525f5e5e24e73a6d36b1af7a4"` [INFO] [stdout] ce2c4619733eb624451aaccb1615fd720603cec525f5e5e24e73a6d36b1af7a4