[INFO] crate memstream 0.0.1 is already in cache [INFO] checking memstream-0.0.1 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate memstream 0.0.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate memstream 0.0.1 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [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-6/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3468d23c0df4cc7e7b630884ca877c45608d0091289bd6844172786b10a9f1e1 [INFO] running `"docker" "start" "-a" "3468d23c0df4cc7e7b630884ca877c45608d0091289bd6844172786b10a9f1e1"` [INFO] [stderr] Checking memstream v0.0.1 (/opt/rustwide/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: see issue #50297 for more information [INFO] [stderr] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `write` found for struct `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] | ^^^^^ method not found in `MemStream` [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 struct `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] | ^^^^^ method not found in `MemStream` [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 struct `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] | ^^^^ method not found in `MemStream` [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 struct `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] | ^^^^ method not found in `MemStream` [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 array `[{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] | ^^^^^^^^ method not found in `[{integer}; 1]` [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 struct `std::ops::RangeTo<{integer}>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read` found for struct `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] | ^^^^ method not found in `MemStream` [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 struct `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] | ^^^^ method not found in `MemStream` [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 struct `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] | ^^^^ method not found in `MemStream` [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; 1 warning emitted [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" "3468d23c0df4cc7e7b630884ca877c45608d0091289bd6844172786b10a9f1e1"` [INFO] running `"docker" "rm" "-f" "3468d23c0df4cc7e7b630884ca877c45608d0091289bd6844172786b10a9f1e1"` [INFO] [stdout] 3468d23c0df4cc7e7b630884ca877c45608d0091289bd6844172786b10a9f1e1