[INFO] fetching crate zerocopy 0.8.48... [INFO] checking zerocopy-0.8.48 against try#fe84aa3583bb2681b5d0580316bde6d58ccfd6b5 for pr-154149-1 [INFO] extracting crate zerocopy 0.8.48 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate zerocopy 0.8.48 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate zerocopy 0.8.48 [INFO] tweaked toml for crates.io crate zerocopy 0.8.48 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zerocopy 0.8.48 on toolchain fe84aa3583bb2681b5d0580316bde6d58ccfd6b5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe84aa3583bb2681b5d0580316bde6d58ccfd6b5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate zerocopy 0.8.48 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe84aa3583bb2681b5d0580316bde6d58ccfd6b5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+fe84aa3583bb2681b5d0580316bde6d58ccfd6b5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d334e851e08a3454a96ba44b91e8db7212073cae5be76479fab8f48bfd31c877 [INFO] running `Command { std: "docker" "start" "-a" "d334e851e08a3454a96ba44b91e8db7212073cae5be76479fab8f48bfd31c877", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d334e851e08a3454a96ba44b91e8db7212073cae5be76479fab8f48bfd31c877", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d334e851e08a3454a96ba44b91e8db7212073cae5be76479fab8f48bfd31c877", kill_on_drop: false }` [INFO] [stdout] d334e851e08a3454a96ba44b91e8db7212073cae5be76479fab8f48bfd31c877 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+fe84aa3583bb2681b5d0580316bde6d58ccfd6b5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1240f0140bf471c8a2841abe3b8ff75d410dc9ddf08c452da2346dac0d389b76 [INFO] running `Command { std: "docker" "start" "-a" "1240f0140bf471c8a2841abe3b8ff75d410dc9ddf08c452da2346dac0d389b76", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.80 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling zerocopy v0.8.48 (/opt/rustwide/workdir) [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking elain v0.3.1 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.56 [INFO] [stderr] Checking regex v1.7.3 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> benches/formats/coco_dynamic_size.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | /// Packet begins with bytes 0xC0C0. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> benches/formats/coco_dynamic_size.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | /// Packet begins with bytes 0xC0C0. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> benches/formats/coco_dynamic_size.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | /// Packet begins with any two bytes. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> benches/formats/coco_dynamic_size.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | /// Packet begins with any two bytes. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> benches/formats/coco_dynamic_size.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | /// Packet begins with bytes 0xC0C0. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> benches/formats/coco_dynamic_size.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | /// Packet begins with any two bytes. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> benches/formats/coco_static_size.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | /// Packet begins with bytes 0xC0C0. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> benches/formats/coco_static_size.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | /// Packet begins with any two bytes. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> benches/formats/coco_static_size.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | /// Packet begins with bytes 0xC0C0. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> benches/formats/coco_static_size.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | /// Packet begins with any two bytes. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> benches/formats/coco_static_size.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | /// Packet begins with bytes 0xC0C0. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> benches/formats/coco_static_size.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | /// Packet begins with any two bytes. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocoPacket` is never constructed [INFO] [stdout] --> benches/formats/coco_dynamic_size.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | define_packet!(LocoPacket, FromBytes, [u8; 2]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `define_packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> benches/formats/coco_dynamic_size.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | /// Packet begins with bytes 0xC0C0. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> benches/formats/coco_dynamic_size.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | /// Packet begins with any two bytes. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> benches/insert_vec_zeroed.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | FromZeros::insert_vec_zeroed(v, position, additional).ok() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 12 | ::insert_vec_zeroed(v, position, additional).ok() [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocoPacket` is never constructed [INFO] [stdout] --> benches/formats/coco_dynamic_size.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | define_packet!(LocoPacket, FromBytes, [u8; 2]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `define_packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `C0C0` is never used [INFO] [stdout] --> benches/formats/coco_static_size.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum C0C0 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CocoPacket` is never constructed [INFO] [stdout] --> benches/formats/coco_static_size.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | define_packet!(CocoPacket, TryFromBytes, C0C0); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0782`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zerocopy` (bench "insert_vec_zeroed") due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `LocoPacket` is never constructed [INFO] [stdout] --> benches/formats/coco_dynamic_size.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | define_packet!(LocoPacket, FromBytes, [u8; 2]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `define_packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `C0C0` is never used [INFO] [stdout] --> benches/formats/coco_static_size.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum C0C0 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CocoPacket` is never constructed [INFO] [stdout] --> benches/formats/coco_static_size.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | define_packet!(CocoPacket, TryFromBytes, C0C0); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `define_packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LocoPacket` is never used [INFO] [stdout] --> benches/formats/coco_dynamic_padding.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub type LocoPacket = Packet<[u8; 2]>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocoPacket` is never constructed [INFO] [stdout] --> benches/formats/coco_dynamic_size.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | define_packet!(LocoPacket, FromBytes, [u8; 2]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `define_packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> benches/formats/coco_dynamic_size.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | /// Packet begins with bytes 0xC0C0. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> benches/formats/coco_dynamic_size.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | /// Packet begins with any two bytes. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocoPacket` is never constructed [INFO] [stdout] --> benches/formats/coco_dynamic_size.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | define_packet!(LocoPacket, FromBytes, [u8; 2]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `define_packet` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `_::WARNING`: Development of zerocopy using cargo is not supported. Please use `cargo.sh` or `win-cargo.bat` instead. [INFO] [stdout] --> src/lib.rs:430:5 [INFO] [stdout] | [INFO] [stdout] 430 | WARNING [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:429:12 [INFO] [stdout] | [INFO] [stdout] 429 | #[warn(deprecated)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1240f0140bf471c8a2841abe3b8ff75d410dc9ddf08c452da2346dac0d389b76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1240f0140bf471c8a2841abe3b8ff75d410dc9ddf08c452da2346dac0d389b76", kill_on_drop: false }` [INFO] [stdout] 1240f0140bf471c8a2841abe3b8ff75d410dc9ddf08c452da2346dac0d389b76