[INFO] fetching crate atomiq-derive 0.2.1... [INFO] checking atomiq-derive-0.2.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate atomiq-derive 0.2.1 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate atomiq-derive 0.2.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 35 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66e93f5628e428de32fd2374794de7ab1026a26c8688aaea0917e7b3542efbec [INFO] running `Command { std: "docker" "start" "-a" "66e93f5628e428de32fd2374794de7ab1026a26c8688aaea0917e7b3542efbec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66e93f5628e428de32fd2374794de7ab1026a26c8688aaea0917e7b3542efbec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66e93f5628e428de32fd2374794de7ab1026a26c8688aaea0917e7b3542efbec", kill_on_drop: false }` [INFO] [stdout] 66e93f5628e428de32fd2374794de7ab1026a26c8688aaea0917e7b3542efbec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aea1bde62d20c73a8c0ef49f2316cda9ba521491aa6fff5e73f260aad1d88efb [INFO] running `Command { std: "docker" "start" "-a" "aea1bde62d20c73a8c0ef49f2316cda9ba521491aa6fff5e73f260aad1d88efb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking toml_writer v1.0.2 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Checking atomiq-derive v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking toml v0.9.5 [INFO] [stderr] Checking trybuild v1.0.110 [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: 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 "fail_derive_empty") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: could not compile `atomiq-derive` (test "fail_derive_multiple") due to 1 previous error [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_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[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_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: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] [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 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: 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] 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[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] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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] 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 "pass_derive_struct_named") due to 5 previous errors [INFO] [stderr] error: could not compile `atomiq-derive` (test "fail_derive_enum_args") due to 2 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] [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_struct_unnamed") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `atomiq-derive` (test "pass_derive_bit_int_atomizable") due to 4 previous errors [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] [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] [stderr] error: could not compile `atomiq-derive` (test "fail_derive_enum_no_repr") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "aea1bde62d20c73a8c0ef49f2316cda9ba521491aa6fff5e73f260aad1d88efb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aea1bde62d20c73a8c0ef49f2316cda9ba521491aa6fff5e73f260aad1d88efb", kill_on_drop: false }` [INFO] [stdout] aea1bde62d20c73a8c0ef49f2316cda9ba521491aa6fff5e73f260aad1d88efb