[INFO] fetching crate atomiq-derive 0.2.1... [INFO] checking atomiq-derive-0.2.1 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate atomiq-derive 0.2.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate atomiq-derive 0.2.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate atomiq-derive 0.2.1 [INFO] tweaked toml for crates.io crate atomiq-derive 0.2.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate atomiq-derive 0.2.1 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 34 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25e98d72bef91935a4e3ea6d370979961038522f7660d8bc04968412f1e41d03 [INFO] running `Command { std: "docker" "start" "-a" "25e98d72bef91935a4e3ea6d370979961038522f7660d8bc04968412f1e41d03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25e98d72bef91935a4e3ea6d370979961038522f7660d8bc04968412f1e41d03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25e98d72bef91935a4e3ea6d370979961038522f7660d8bc04968412f1e41d03", kill_on_drop: false }` [INFO] [stdout] 25e98d72bef91935a4e3ea6d370979961038522f7660d8bc04968412f1e41d03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d3f9a1d4b6bdafc1399ad7194d652871290b4ad80f91bcbf934a40d05e151ef [INFO] running `Command { std: "docker" "start" "-a" "9d3f9a1d4b6bdafc1399ad7194d652871290b4ad80f91bcbf934a40d05e151ef", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking winnow v0.7.11 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking syn v2.0.104 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking atomiq-derive v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking trybuild v1.0.105 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `atomiq` [INFO] [stdout] --> tests/pass_derive_struct_named.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use atomiq::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `atomiq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `atomiq`, use `cargo add atomiq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `atomiq` [INFO] [stdout] --> tests/pass_derive_enum.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use atomiq::{Atomic, Atomizable, Atomize, Ordering}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `atomiq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `atomiq`, use `cargo add atomiq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `atomiq` [INFO] [stdout] --> tests/pass_derive_struct_unnamed.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use atomiq::{Atomic, Atomizable, Atomize, Ordering}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `atomiq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `atomiq`, use `cargo add atomiq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `atomiq` in the list of imported crates [INFO] [stdout] --> tests/pass_derive_struct_named.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Atomizable)] [INFO] [stdout] | ^^^^^^^^^^ could not find `atomiq` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Atomizable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Atomizable can only be derived for structs with a single field. [INFO] [stdout] --> tests/fail_derive_multiple.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | struct TestStruct(i32, i32); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Atomic` in this scope [INFO] [stdout] --> tests/pass_derive_struct_named.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let atomic_struct: Atomic = test_struct.atomize(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::atomic::Atomic; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ordering` [INFO] [stdout] --> tests/pass_derive_struct_named.rs:19:56 [INFO] [stdout] | [INFO] [stdout] 19 | atomic_struct.store(TestStruct { test_value: 43 }, Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ordering` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use std::cmp::Ordering; [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::atomic::Ordering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ordering` [INFO] [stdout] --> tests/pass_derive_struct_named.rs:21:49 [INFO] [stdout] | [INFO] [stdout] 21 | let loaded: TestStruct = atomic_struct.load(Ordering::Relaxed); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ordering` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use std::cmp::Ordering; [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::atomic::Ordering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Atomizable can only be derived for enums with only unit variants. [INFO] [stdout] --> tests/fail_derive_enum_args.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | B(u8), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `atomiq` [INFO] [stdout] --> tests/pass_derive_bit_int_atomizable.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use atomiq::{Atomic, Atomizable, Atomize, Ordering}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `atomiq` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `atomiq`, use `cargo add atomiq` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Atomizable can only be derived for enums with only unit variants. [INFO] [stdout] --> tests/fail_derive_enum_args.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | C { value: u8 }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `atomiq-derive` (test "pass_derive_struct_named") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `atomiq-derive` (test "fail_derive_multiple") due to 1 previous error [INFO] [stdout] error: Atomizable can only be derived for enums with an explicit repr attribute. [INFO] [stdout] --> tests/fail_derive_enum_no_repr.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Atomizable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Atomizable` (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 `atomiq` in the list of imported crates [INFO] [stdout] --> tests/pass_derive_struct_unnamed.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Atomizable)] [INFO] [stdout] | ^^^^^^^^^^ could not find `atomiq` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Atomizable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `atomiq-derive` (test "fail_derive_enum_args") due to 2 previous errors [INFO] [stderr] error: could not compile `atomiq-derive` (test "fail_derive_enum_no_repr") due to 1 previous error [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: Atomizable can only be derived for structs with a single field. [INFO] [stdout] --> tests/fail_derive_empty.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Atomizable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Atomizable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `atomiq-derive` (test "pass_derive_struct_unnamed") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: could not find `atomiq` in the list of imported crates [INFO] [stdout] --> tests/pass_derive_bit_int_atomizable.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Atomizable, BitAtomizable, IntAtomizable)] [INFO] [stdout] | ^^^^^^^^^^ could not find `atomiq` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Atomizable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `atomiq-derive` (test "fail_derive_empty") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: could not find `atomiq` in the list of imported crates [INFO] [stdout] --> tests/pass_derive_enum.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Atomizable, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ could not find `atomiq` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Atomizable` (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 `atomiq` in the list of imported crates [INFO] [stdout] --> tests/pass_derive_bit_int_atomizable.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Atomizable, BitAtomizable, IntAtomizable)] [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `atomiq` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `BitAtomizable` (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 `atomiq` in the list of imported crates [INFO] [stdout] --> tests/pass_derive_bit_int_atomizable.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Atomizable, BitAtomizable, IntAtomizable)] [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `atomiq` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `IntAtomizable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `atomiq-derive` (test "pass_derive_bit_int_atomizable") due to 4 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `atomiq-derive` (test "pass_derive_enum") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "9d3f9a1d4b6bdafc1399ad7194d652871290b4ad80f91bcbf934a40d05e151ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d3f9a1d4b6bdafc1399ad7194d652871290b4ad80f91bcbf934a40d05e151ef", kill_on_drop: false }` [INFO] [stdout] 9d3f9a1d4b6bdafc1399ad7194d652871290b4ad80f91bcbf934a40d05e151ef