[INFO] fetching crate plctag-derive 0.3.3... [INFO] checking plctag-derive-0.3.3 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate plctag-derive 0.3.3 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate plctag-derive 0.3.3 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f61fe73e2ad2b7947bd7f0b2f3878b2c3fdeba8165580260da5417a0aa610dde [INFO] running `Command { std: "docker" "start" "-a" "f61fe73e2ad2b7947bd7f0b2f3878b2c3fdeba8165580260da5417a0aa610dde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f61fe73e2ad2b7947bd7f0b2f3878b2c3fdeba8165580260da5417a0aa610dde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f61fe73e2ad2b7947bd7f0b2f3878b2c3fdeba8165580260da5417a0aa610dde", kill_on_drop: false }` [INFO] [stdout] f61fe73e2ad2b7947bd7f0b2f3878b2c3fdeba8165580260da5417a0aa610dde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f24e03fac527e95f7d1113048b4d55e22804b7943c7efc6b3e74f556b9741412 [INFO] running `Command { std: "docker" "start" "-a" "f24e03fac527e95f7d1113048b4d55e22804b7943c7efc6b3e74f556b9741412", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Checking syn v2.0.106 [INFO] [stderr] Compiling proc-quote-impl v0.3.2 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking proc-quote v0.4.0 [INFO] [stderr] Checking proc-macro-crate v3.3.0 [INFO] [stderr] Checking 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)]` 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)]` 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)]` 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" "f24e03fac527e95f7d1113048b4d55e22804b7943c7efc6b3e74f556b9741412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f24e03fac527e95f7d1113048b4d55e22804b7943c7efc6b3e74f556b9741412", kill_on_drop: false }` [INFO] [stdout] f24e03fac527e95f7d1113048b4d55e22804b7943c7efc6b3e74f556b9741412