[INFO] fetching crate atomiq-derive 0.2.1... [INFO] testing atomiq-derive-0.2.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [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 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf4eeee55d6f743fa5749198857b847521651d9b1bfcec1481a37fb3dee9c902 [INFO] running `Command { std: "docker" "start" "-a" "cf4eeee55d6f743fa5749198857b847521651d9b1bfcec1481a37fb3dee9c902", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf4eeee55d6f743fa5749198857b847521651d9b1bfcec1481a37fb3dee9c902", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf4eeee55d6f743fa5749198857b847521651d9b1bfcec1481a37fb3dee9c902", kill_on_drop: false }` [INFO] [stdout] cf4eeee55d6f743fa5749198857b847521651d9b1bfcec1481a37fb3dee9c902 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5bda43ea21d660e415490984a66513d9be142899f8d9696812f1adf99f180597 [INFO] running `Command { std: "docker" "start" "-a" "5bda43ea21d660e415490984a66513d9be142899f8d9696812f1adf99f180597", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling atomiq-derive v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.16s [INFO] running `Command { std: "docker" "inspect" "5bda43ea21d660e415490984a66513d9be142899f8d9696812f1adf99f180597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bda43ea21d660e415490984a66513d9be142899f8d9696812f1adf99f180597", kill_on_drop: false }` [INFO] [stdout] 5bda43ea21d660e415490984a66513d9be142899f8d9696812f1adf99f180597 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 85f69e6a0a44a69b9c67975742dc5891cda9b1b9f4910b6f8d73d07bbe597b5a [INFO] running `Command { std: "docker" "start" "-a" "85f69e6a0a44a69b9c67975742dc5891cda9b1b9f4910b6f8d73d07bbe597b5a", kill_on_drop: false }` [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling trybuild v1.0.105 [INFO] [stderr] Compiling atomiq-derive v0.2.1 (/opt/rustwide/workdir) [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: 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[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] [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: 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] 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 "fail_derive_enum_no_repr") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: could not compile `atomiq-derive` (test "fail_derive_multiple") 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: 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] [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_empty") due to 1 previous error [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] 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] [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: 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[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] 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[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] [stderr] error: could not compile `atomiq-derive` (test "pass_derive_struct_named") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "85f69e6a0a44a69b9c67975742dc5891cda9b1b9f4910b6f8d73d07bbe597b5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85f69e6a0a44a69b9c67975742dc5891cda9b1b9f4910b6f8d73d07bbe597b5a", kill_on_drop: false }` [INFO] [stdout] 85f69e6a0a44a69b9c67975742dc5891cda9b1b9f4910b6f8d73d07bbe597b5a