[INFO] fetching crate bytes-expand 0.4.12... [INFO] checking bytes-expand-0.4.12 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate bytes-expand 0.4.12 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate bytes-expand 0.4.12 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bytes-expand 0.4.12 [INFO] finished tweaking crates.io crate bytes-expand 0.4.12 [INFO] tweaked toml for crates.io crate bytes-expand 0.4.12 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 514dbfce41dd104ce845ca0e8cbf2dd6e57554c50af2afda1d3ac6e08d727bd5 [INFO] running `Command { std: "docker" "start" "-a" "514dbfce41dd104ce845ca0e8cbf2dd6e57554c50af2afda1d3ac6e08d727bd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "514dbfce41dd104ce845ca0e8cbf2dd6e57554c50af2afda1d3ac6e08d727bd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "514dbfce41dd104ce845ca0e8cbf2dd6e57554c50af2afda1d3ac6e08d727bd5", kill_on_drop: false }` [INFO] [stdout] 514dbfce41dd104ce845ca0e8cbf2dd6e57554c50af2afda1d3ac6e08d727bd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f252a3a1c2f1fa50593dc5f984ae2c8846e557f1d31f07e941b58d4a8e9e54c [INFO] running `Command { std: "docker" "start" "-a" "1f252a3a1c2f1fa50593dc5f984ae2c8846e557f1d31f07e941b58d4a8e9e54c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking bytes-expand v0.4.12 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stdout] error[E0463]: can't find crate for `bytes` [INFO] [stdout] --> tests/test_take.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `bytes` [INFO] [stdout] --> tests/test_from_buf.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `bytes` [INFO] [stdout] --> tests/test_debug.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `bytes` [INFO] [stdout] --> tests/test_buf_mut.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `bytes` [INFO] [stdout] --> tests/test_iter.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `bytes` [INFO] [stdout] --> tests/test_chain.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `bytes` [INFO] [stdout] --> tests/test_reader.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0599]: `std::io::Cursor<&[u8]>` is not an iterator [INFO] [stdout] --> tests/test_from_buf.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | let buf: Vec = Cursor::new(SHORT).collect(); [INFO] [stdout] | ^^^^^^^ `std::io::Cursor<&[u8]>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::io::Cursor<&[u8]>: Iterator` [INFO] [stdout] which is required by `&mut std::io::Cursor<&[u8]>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0599]: `std::io::Cursor<&[u8; 11]>` is not an iterator [INFO] [stdout] --> tests/test_take.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | let buf = Cursor::new(b"hello world").take(100); [INFO] [stdout] | ^^^^ `std::io::Cursor<&[u8; 11]>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::io::Cursor<&[u8; 11]>: Iterator` [INFO] [stdout] which is required by `&mut std::io::Cursor<&[u8; 11]>: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Read` which provides `take` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `std::io::Cursor<&[u8]>` is not an iterator [INFO] [stdout] --> tests/test_from_buf.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | let buf: Vec = Cursor::new(LONG).collect(); [INFO] [stdout] | ^^^^^^^ `std::io::Cursor<&[u8]>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::io::Cursor<&[u8]>: Iterator` [INFO] [stdout] which is required by `&mut std::io::Cursor<&[u8]>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bytes-expand` (test "test_iter") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: `std::io::Cursor<&[u8]>` is not an iterator [INFO] [stdout] --> tests/test_from_buf.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | let buf: Bytes = Cursor::new(SHORT).collect(); [INFO] [stdout] | ^^^^^^^ `std::io::Cursor<&[u8]>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::io::Cursor<&[u8]>: Iterator` [INFO] [stdout] which is required by `&mut std::io::Cursor<&[u8]>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0599]: `std::io::Cursor<&[u8]>` is not an iterator [INFO] [stdout] --> tests/test_from_buf.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | let buf: Bytes = Cursor::new(LONG).collect(); [INFO] [stdout] | ^^^^^^^ `std::io::Cursor<&[u8]>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::io::Cursor<&[u8]>: Iterator` [INFO] [stdout] which is required by `&mut std::io::Cursor<&[u8]>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0599]: `std::io::Cursor<&[u8]>` is not an iterator [INFO] [stdout] --> tests/test_from_buf.rs:29:44 [INFO] [stdout] | [INFO] [stdout] 29 | let buf: BytesMut = Cursor::new(SHORT).collect(); [INFO] [stdout] | ^^^^^^^ `std::io::Cursor<&[u8]>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::io::Cursor<&[u8]>: Iterator` [INFO] [stdout] which is required by `&mut std::io::Cursor<&[u8]>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remaining_mut` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> tests/test_buf_mut.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(buf.remaining_mut(), usize::MAX); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `retain_mut` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/vec/mod.rs:2116:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bytes-expand` (test "test_debug") due to 1 previous error [INFO] [stdout] error[E0599]: `std::io::Cursor<&[u8]>` is not an iterator [INFO] [stdout] --> tests/test_from_buf.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | let buf: BytesMut = Cursor::new(LONG).collect(); [INFO] [stdout] | ^^^^^^^ `std::io::Cursor<&[u8]>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::io::Cursor<&[u8]>: Iterator` [INFO] [stdout] which is required by `&mut std::io::Cursor<&[u8]>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bytes-expand` (test "test_take") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bytes-expand` (test "test_reader") due to 1 previous error [INFO] [stderr] error: could not compile `bytes-expand` (test "test_chain") due to 1 previous error [INFO] [stdout] error[E0599]: no method named `bytes_mut` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> tests/test_buf_mut.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | assert!(buf.bytes_mut().len() >= 64); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `bytes` with a similar name [INFO] [stdout] | [INFO] [stdout] 17 | assert!(buf.bytes().len() >= 64); [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `put` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> tests/test_buf_mut.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | buf.put(&b"zomg"[..]); [INFO] [stdout] | ^^^ method not found in `Vec<_>` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `push` [INFO] [stdout] | [INFO] [stdout] 20 | buf.push(&b"zomg"[..]); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bytes-expand` (test "test_from_buf") due to 7 previous errors [INFO] [stdout] error[E0599]: no method named `remaining_mut` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> tests/test_buf_mut.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | assert_eq!(buf.remaining_mut(), usize::MAX - 4); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `retain_mut` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/vec/mod.rs:2116:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `put` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> tests/test_buf_mut.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | buf.put(&b"zomg"[..]); [INFO] [stdout] | ^^^ method not found in `Vec<_>` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `push` [INFO] [stdout] | [INFO] [stdout] 28 | buf.push(&b"zomg"[..]); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `put` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> tests/test_buf_mut.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | buf.put::(33); [INFO] [stdout] | ^^^ method not found in `Vec<_>` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `push` [INFO] [stdout] | [INFO] [stdout] 37 | buf.push::(33); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `put_u16_be` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> tests/test_buf_mut.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | buf.put_u16_be(8532); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Vec<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `put_u16_le` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/test_buf_mut.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | buf.put_u16_le(8532); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `advance_mut` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> tests/test_buf_mut.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | buf.advance_mut(12); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Vec<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bytes-expand` (test "test_buf_mut") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "1f252a3a1c2f1fa50593dc5f984ae2c8846e557f1d31f07e941b58d4a8e9e54c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f252a3a1c2f1fa50593dc5f984ae2c8846e557f1d31f07e941b58d4a8e9e54c", kill_on_drop: false }` [INFO] [stdout] 1f252a3a1c2f1fa50593dc5f984ae2c8846e557f1d31f07e941b58d4a8e9e54c