[INFO] fetching crate plctag-derive 0.3.3... [INFO] testing plctag-derive-0.3.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate plctag-derive 0.3.3 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate plctag-derive 0.3.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate plctag-derive 0.3.3 [INFO] tweaked toml for crates.io crate plctag-derive 0.3.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate plctag-derive 0.3.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 16 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c834a7e77fbfbaffd0e1fcb4978cb8c7663aa03b5bee10b71a9a36659977c11 [INFO] running `Command { std: "docker" "start" "-a" "6c834a7e77fbfbaffd0e1fcb4978cb8c7663aa03b5bee10b71a9a36659977c11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c834a7e77fbfbaffd0e1fcb4978cb8c7663aa03b5bee10b71a9a36659977c11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c834a7e77fbfbaffd0e1fcb4978cb8c7663aa03b5bee10b71a9a36659977c11", kill_on_drop: false }` [INFO] [stdout] 6c834a7e77fbfbaffd0e1fcb4978cb8c7663aa03b5bee10b71a9a36659977c11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91cf9850aadbc0f5332477f7bf3934b6c0346b5060ed9c6e6e2eed9f48a389dd [INFO] running `Command { std: "docker" "start" "-a" "91cf9850aadbc0f5332477f7bf3934b6c0346b5060ed9c6e6e2eed9f48a389dd", kill_on_drop: false }` [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling proc-quote-impl v0.3.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-quote v0.4.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling plctag-derive v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/shared.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct TagAttr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 126 | pub offset: Option, [INFO] [stdout] 127 | pub size: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.97s [INFO] running `Command { std: "docker" "inspect" "91cf9850aadbc0f5332477f7bf3934b6c0346b5060ed9c6e6e2eed9f48a389dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91cf9850aadbc0f5332477f7bf3934b6c0346b5060ed9c6e6e2eed9f48a389dd", kill_on_drop: false }` [INFO] [stdout] 91cf9850aadbc0f5332477f7bf3934b6c0346b5060ed9c6e6e2eed9f48a389dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 367aeb152520a92f815aa988241904f5415e96c9c8ff4f0a93e2ac0e5b3c99e8 [INFO] running `Command { std: "docker" "start" "-a" "367aeb152520a92f815aa988241904f5415e96c9c8ff4f0a93e2ac0e5b3c99e8", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-quote-impl v0.3.2 [INFO] [stderr] Compiling proc-quote v0.4.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling plctag-derive v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/shared.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct TagAttr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 126 | pub offset: Option, [INFO] [stdout] 127 | pub size: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/shared.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct TagAttr { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 126 | pub offset: Option, [INFO] [stdout] 127 | pub size: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `plctag_core` [INFO] [stdout] --> tests/test_derive.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use plctag_core::{RawTag, ValueExt}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `plctag_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plctag_core`, use `cargo add plctag_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Encode` in the crate root [INFO] [stdout] --> tests/test_derive.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Default, Decode, Encode)] [INFO] [stdout] | ^^^^^^ could not find `Encode` in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Encode` in the crate root [INFO] [stdout] --> tests/test_derive.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Default, Decode, Encode)] [INFO] [stdout] | ^^^^^^ could not find `Encode` in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `crate::Decode` [INFO] [stdout] --> tests/test_derive.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Default, Decode, Encode)] [INFO] [stdout] | ^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in the crate root [INFO] [stdout] --> tests/test_derive.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Default, Decode, Encode)] [INFO] [stdout] | ^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 7 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 7 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 7 + use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] = and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `crate::Encode` [INFO] [stdout] --> tests/test_derive.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Default, Decode, Encode)] [INFO] [stdout] | ^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in the crate root [INFO] [stdout] --> tests/test_derive.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Default, Decode, Encode)] [INFO] [stdout] | ^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 7 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 7 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 7 + use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] = and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `crate::Decode` [INFO] [stdout] --> tests/test_derive.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Default, Decode, Encode)] [INFO] [stdout] | ^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in the crate root [INFO] [stdout] --> tests/test_derive.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Default, Decode, Encode)] [INFO] [stdout] | ^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 7 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 7 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 7 + use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] = and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0404]: expected trait, found derive macro `crate::Encode` [INFO] [stdout] --> tests/test_derive.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Default, Decode, Encode)] [INFO] [stdout] | ^^^^^^ not a trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in the crate root [INFO] [stdout] --> tests/test_derive.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Default, Decode, Encode)] [INFO] [stdout] | ^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 + use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 7 + use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 7 + use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 7 + use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] = and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `plctag_core` [INFO] [stdout] --> tests/test_derive.rs:26:53 [INFO] [stdout] | [INFO] [stdout] 26 | fn my_encode(v: &u32, tag: &RawTag, offset: u32) -> plctag_core::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `plctag_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plctag_core`, use `cargo add plctag_core` 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 `plctag_core` [INFO] [stdout] --> tests/test_derive.rs:30:44 [INFO] [stdout] | [INFO] [stdout] 30 | fn my_decode(tag: &RawTag, offset: u32) -> plctag_core::Result { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `plctag_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `plctag_core`, use `cargo add plctag_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0404, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0404`. [INFO] [stdout] [INFO] [stderr] error: could not compile `plctag-derive` (test "test_derive") due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "367aeb152520a92f815aa988241904f5415e96c9c8ff4f0a93e2ac0e5b3c99e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "367aeb152520a92f815aa988241904f5415e96c9c8ff4f0a93e2ac0e5b3c99e8", kill_on_drop: false }` [INFO] [stdout] 367aeb152520a92f815aa988241904f5415e96c9c8ff4f0a93e2ac0e5b3c99e8