[INFO] fetching crate supply-chain-trust-example-crate-000048 1.10.2... [INFO] testing supply-chain-trust-example-crate-000048-1.10.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate supply-chain-trust-example-crate-000048 1.10.2 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate supply-chain-trust-example-crate-000048 1.10.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate supply-chain-trust-example-crate-000048 1.10.2 [INFO] tweaked toml for crates.io crate supply-chain-trust-example-crate-000048 1.10.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate supply-chain-trust-example-crate-000048 1.10.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 57 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 878e7fcc79d4cd5af003119cf4a68c81fef17f3fcd6d7c3354c1d3b5700c6448 [INFO] running `Command { std: "docker" "start" "-a" "878e7fcc79d4cd5af003119cf4a68c81fef17f3fcd6d7c3354c1d3b5700c6448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "878e7fcc79d4cd5af003119cf4a68c81fef17f3fcd6d7c3354c1d3b5700c6448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "878e7fcc79d4cd5af003119cf4a68c81fef17f3fcd6d7c3354c1d3b5700c6448", kill_on_drop: false }` [INFO] [stdout] 878e7fcc79d4cd5af003119cf4a68c81fef17f3fcd6d7c3354c1d3b5700c6448 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82e4981236f0a30315c398424c0fd223310f287e205986575b3002395a23a3e2 [INFO] running `Command { std: "docker" "start" "-a" "82e4981236f0a30315c398424c0fd223310f287e205986575b3002395a23a3e2", kill_on_drop: false }` [INFO] [stderr] Compiling supply-chain-trust-example-crate-000048 v1.10.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `Command { std: "docker" "inspect" "82e4981236f0a30315c398424c0fd223310f287e205986575b3002395a23a3e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82e4981236f0a30315c398424c0fd223310f287e205986575b3002395a23a3e2", kill_on_drop: false }` [INFO] [stdout] 82e4981236f0a30315c398424c0fd223310f287e205986575b3002395a23a3e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 865a23d236c7338530e30d863ff94ed35145f06dc963dd63b831b50efac4dc72 [INFO] running `Command { std: "docker" "start" "-a" "865a23d236c7338530e30d863ff94ed35145f06dc963dd63b831b50efac4dc72", kill_on_drop: false }` [INFO] [stderr] Compiling serde_test v1.0.177 [INFO] [stderr] Compiling supply-chain-trust-example-crate-000048 v1.10.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bytes` [INFO] [stdout] --> tests/test_take.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::buf::Buf; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_take.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::Bytes; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bytes` [INFO] [stdout] --> tests/test_iter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{buf::IntoIter, Bytes}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_iter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{buf::IntoIter, Bytes}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000048` (test "test_take") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_reader.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bytes::Buf; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000048` (test "test_iter") due to 2 previous errors [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_bytes_vec_alloc.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bytes` [INFO] [stdout] --> tests/test_buf_mut.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::buf::UninitSlice; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_buf_mut.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::{BufMut, BytesMut}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_chain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Buf, BufMut, Bytes}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000048` (test "test_buf_mut") due to 2 previous errors [INFO] [stdout] error[E0599]: no method named `chain_mut` found for mutable reference `&mut [u8]` in the current scope [INFO] [stdout] --> tests/test_chain.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | let mut buf = (&mut a[..]).chain_mut(&mut b[..]); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `chunk_mut` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/buf/buf_mut.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | fn chunk_mut(&mut self) -> &mut UninitSlice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `BufMut` which provides `chain_mut` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use supply_chain_trust_example_crate_000048::BufMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chain_mut` found for mutable reference `&mut [u8]` in the current scope [INFO] [stdout] --> tests/test_chain.rs:141:39 [INFO] [stdout] | [INFO] [stdout] 141 | let mut chained = (&mut buff[..]).chain_mut(&mut vec).chain_mut(Vec::new()); // Required for potential overflow because remaining_mut... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `chunk_mut` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/buf/buf_mut.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | fn chunk_mut(&mut self) -> &mut UninitSlice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `BufMut` which provides `chain_mut` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use supply_chain_trust_example_crate_000048::BufMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chain_mut` found for struct `Vec` in the current scope [INFO] [stdout] --> tests/test_chain.rs:151:40 [INFO] [stdout] | [INFO] [stdout] 151 | let mut chained = Vec::::new().chain_mut(Vec::new()).chain_mut(Vec::new()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/buf/buf_mut.rs:1345:8 [INFO] [stdout] | [INFO] [stdout] 1345 | fn chain_mut(self, next: U) -> Chain [INFO] [stdout] | --------- the method is available for `Vec` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `chunk_mut` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/buf/buf_mut.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | fn chunk_mut(&mut self) -> &mut UninitSlice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `BufMut` which provides `chain_mut` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use supply_chain_trust_example_crate_000048::BufMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_bytes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Buf, BufMut, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_bytes.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | use bytes::{Buf, BytesMut}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_bytes_odd_alloc.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use bytes::{Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_debug.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::Bytes; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000048` (test "test_chain") due to 4 previous errors [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000048` (test "test_reader") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000048` (test "test_bytes_odd_alloc") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000048` (test "test_debug") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_buf.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | use ::bytes::{Buf, Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ help: a similar path exists: `self::bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000048` (test "test_bytes") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000048` (test "test_buf") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000048` (test "test_bytes_vec_alloc") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "865a23d236c7338530e30d863ff94ed35145f06dc963dd63b831b50efac4dc72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "865a23d236c7338530e30d863ff94ed35145f06dc963dd63b831b50efac4dc72", kill_on_drop: false }` [INFO] [stdout] 865a23d236c7338530e30d863ff94ed35145f06dc963dd63b831b50efac4dc72