[INFO] fetching crate bytebuffer-new 0.2.2... [INFO] checking bytebuffer-new-0.2.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate bytebuffer-new 0.2.2 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate bytebuffer-new 0.2.2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bytebuffer-new 0.2.2 [INFO] finished tweaking crates.io crate bytebuffer-new 0.2.2 [INFO] tweaked toml for crates.io crate bytebuffer-new 0.2.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e7276770ed3afd2b6cf7473a7d176ffc6e08ac27db1a34cc304c1c6f3285494 [INFO] running `Command { std: "docker" "start" "-a" "0e7276770ed3afd2b6cf7473a7d176ffc6e08ac27db1a34cc304c1c6f3285494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e7276770ed3afd2b6cf7473a7d176ffc6e08ac27db1a34cc304c1c6f3285494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e7276770ed3afd2b6cf7473a7d176ffc6e08ac27db1a34cc304c1c6f3285494", kill_on_drop: false }` [INFO] [stdout] 0e7276770ed3afd2b6cf7473a7d176ffc6e08ac27db1a34cc304c1c6f3285494 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fad1220899df5c84d30f7167c2a6a49d583133e80ce99f3df2b9f14d859ce776 [INFO] running `Command { std: "docker" "start" "-a" "fad1220899df5c84d30f7167c2a6a49d583133e80ce99f3df2b9f14d859ce776", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking bytebuffer-new v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `bytebuffer` [INFO] [stdout] --> tests/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate bytebuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Endian` [INFO] [stdout] --> tests/lib.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | buffer.set_endian(Endian::LittleEndian); [INFO] [stdout] | ^^^^^^ use of undeclared type `Endian` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Endian` [INFO] [stdout] --> tests/lib.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | buffer.set_endian(Endian::LittleEndian); [INFO] [stdout] | ^^^^^^ use of undeclared type `Endian` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Endian` [INFO] [stdout] --> tests/lib.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | buffer.set_endian(Endian::LittleEndian); [INFO] [stdout] | ^^^^^^ use of undeclared type `Endian` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Endian` [INFO] [stdout] --> tests/lib.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | buffer.set_endian(Endian::LittleEndian); [INFO] [stdout] | ^^^^^^ use of undeclared type `Endian` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | let mut buffer = ByteBuffer::from_bytes(&vec![1, 2]); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | let mut buffer = ByteBuffer::from_bytes(&vec![128]); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:149:22 [INFO] [stdout] | [INFO] [stdout] 149 | let mut buffer = ByteBuffer::from_bytes(&vec![128]); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 172 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:180:23 [INFO] [stdout] | [INFO] [stdout] 180 | let mut buffer2 = ByteBuffer::from_bytes(&vec![0xFF, 0x01]); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:190:22 [INFO] [stdout] | [INFO] [stdout] 190 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:198:22 [INFO] [stdout] | [INFO] [stdout] 198 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:207:22 [INFO] [stdout] | [INFO] [stdout] 207 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:217:22 [INFO] [stdout] | [INFO] [stdout] 217 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:229:22 [INFO] [stdout] | [INFO] [stdout] 229 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:236:22 [INFO] [stdout] | [INFO] [stdout] 236 | let mut buffer = ByteBuffer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | let mut buffer = ByteBuffer::from_bytes(&[0x1, 0xFF, 0x45]); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ByteBuffer` [INFO] [stdout] --> tests/lib.rs:250:22 [INFO] [stdout] | [INFO] [stdout] 250 | let mut buffer = ByteBuffer::from_bytes(&[0x1, 0xFF, 0x45]); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ByteBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> tests/lib.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> tests/lib.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 36 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bytebuffer-new` (test "lib") due to 37 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fad1220899df5c84d30f7167c2a6a49d583133e80ce99f3df2b9f14d859ce776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fad1220899df5c84d30f7167c2a6a49d583133e80ce99f3df2b9f14d859ce776", kill_on_drop: false }` [INFO] [stdout] fad1220899df5c84d30f7167c2a6a49d583133e80ce99f3df2b9f14d859ce776