[INFO] fetching crate memstream 0.0.1... [INFO] checking memstream-0.0.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate memstream 0.0.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate memstream 0.0.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b1abfdc4f5a1c67b1c081e68098ee18986c07a1f42cf874313813e933b44a80f [INFO] running `Command { std: "docker" "start" "-a" "b1abfdc4f5a1c67b1c081e68098ee18986c07a1f42cf874313813e933b44a80f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1abfdc4f5a1c67b1c081e68098ee18986c07a1f42cf874313813e933b44a80f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1abfdc4f5a1c67b1c081e68098ee18986c07a1f42cf874313813e933b44a80f", kill_on_drop: false }` [INFO] [stdout] b1abfdc4f5a1c67b1c081e68098ee18986c07a1f42cf874313813e933b44a80f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b72d9dd2dfc8e88e3c4c01af6da490453118312b1e00e0712cb464699e129287 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b72d9dd2dfc8e88e3c4c01af6da490453118312b1e00e0712cb464699e129287", 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 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [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 [INFO] [stdout] ... [INFO] [stdout] 79 | stream.write([0, 1, 2, 3]).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `MemStream` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::io::Write;` [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 [INFO] [stdout] ... [INFO] [stdout] 80 | stream.write([4, 5, 6, 7]).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `MemStream` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::io::Write;` [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 [INFO] [stdout] ... [INFO] [stdout] 84 | assert_eq!(stream.read(buf), Ok(0)); [INFO] [stdout] | ^^^^ method not found in `MemStream` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::io::Read;` [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 [INFO] [stdout] ... [INFO] [stdout] 86 | assert_eq!(stream.read(buf), Ok(1)); [INFO] [stdout] | ^^^^ method not found in `MemStream` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::io::Read;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'array_methods' [INFO] [stdout] --> src/lib.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | assert_eq!(buf.as_slice(), b); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76118 for more information [INFO] [stdout] = help: add `#![feature(array_methods)]` to the crate attributes to enable [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 struct `RangeTo` [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 [INFO] [stdout] ... [INFO] [stdout] 90 | assert_eq!(stream.read(buf), Ok(4)); [INFO] [stdout] | ^^^^ method not found in `MemStream` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::io::Read;` [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 [INFO] [stdout] ... [INFO] [stdout] 93 | assert_eq!(stream.read(buf), Ok(3)); [INFO] [stdout] | ^^^^ method not found in `MemStream` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::io::Read;` [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 [INFO] [stdout] ... [INFO] [stdout] 96 | assert!(stream.read(buf).is_err()); [INFO] [stdout] | ^^^^ method not found in `MemStream` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::io::Read;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "b72d9dd2dfc8e88e3c4c01af6da490453118312b1e00e0712cb464699e129287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b72d9dd2dfc8e88e3c4c01af6da490453118312b1e00e0712cb464699e129287", kill_on_drop: false }` [INFO] [stdout] b72d9dd2dfc8e88e3c4c01af6da490453118312b1e00e0712cb464699e129287