[INFO] fetching crate plctag-derive 0.3.3... [INFO] testing plctag-derive-0.3.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate plctag-derive 0.3.3 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate plctag-derive 0.3.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4dfee3c27d143fccbeca1c471038109faaa8aad0f26c343817d9905ff2d84215 [INFO] running `Command { std: "docker" "start" "-a" "4dfee3c27d143fccbeca1c471038109faaa8aad0f26c343817d9905ff2d84215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4dfee3c27d143fccbeca1c471038109faaa8aad0f26c343817d9905ff2d84215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dfee3c27d143fccbeca1c471038109faaa8aad0f26c343817d9905ff2d84215", kill_on_drop: false }` [INFO] [stdout] 4dfee3c27d143fccbeca1c471038109faaa8aad0f26c343817d9905ff2d84215 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b94f60ed89deac21d2e8371b6e1f86a0a6d928f517578f6cc701c0fc5905bb7 [INFO] running `Command { std: "docker" "start" "-a" "3b94f60ed89deac21d2e8371b6e1f86a0a6d928f517578f6cc701c0fc5905bb7", 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.91s [INFO] running `Command { std: "docker" "inspect" "3b94f60ed89deac21d2e8371b6e1f86a0a6d928f517578f6cc701c0fc5905bb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b94f60ed89deac21d2e8371b6e1f86a0a6d928f517578f6cc701c0fc5905bb7", kill_on_drop: false }` [INFO] [stdout] 3b94f60ed89deac21d2e8371b6e1f86a0a6d928f517578f6cc701c0fc5905bb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69f8b8b14b748196faa29dc7836cca790b287ad3dbf5faf357a456b8c029fbe9 [INFO] running `Command { std: "docker" "start" "-a" "69f8b8b14b748196faa29dc7836cca790b287ad3dbf5faf357a456b8c029fbe9", kill_on_drop: false }` [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-quote-impl v0.3.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [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] [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" "69f8b8b14b748196faa29dc7836cca790b287ad3dbf5faf357a456b8c029fbe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69f8b8b14b748196faa29dc7836cca790b287ad3dbf5faf357a456b8c029fbe9", kill_on_drop: false }` [INFO] [stdout] 69f8b8b14b748196faa29dc7836cca790b287ad3dbf5faf357a456b8c029fbe9