[INFO] fetching crate blockz 0.2.2... [INFO] testing blockz-0.2.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate blockz 0.2.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate blockz 0.2.2 [INFO] finished tweaking crates.io crate blockz 0.2.2 [INFO] tweaked toml for crates.io crate blockz 0.2.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate blockz 0.2.2 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] Updating crates.io index [INFO] [stderr] Locking 73 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded blockz_derive v0.2.2 [INFO] [stderr] Downloaded envy v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 18fbfe135eb8bec0c96d0377f450140f6766b5a9f8c71f28c6517d4b14c44137 [INFO] running `Command { std: "docker" "start" "-a" "18fbfe135eb8bec0c96d0377f450140f6766b5a9f8c71f28c6517d4b14c44137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18fbfe135eb8bec0c96d0377f450140f6766b5a9f8c71f28c6517d4b14c44137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18fbfe135eb8bec0c96d0377f450140f6766b5a9f8c71f28c6517d4b14c44137", kill_on_drop: false }` [INFO] [stdout] 18fbfe135eb8bec0c96d0377f450140f6766b5a9f8c71f28c6517d4b14c44137 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 5103e12acedc85e0852099b5cdd4234cb21aa14bdeaaf3433077a4f382126c78 [INFO] running `Command { std: "docker" "start" "-a" "5103e12acedc85e0852099b5cdd4234cb21aa14bdeaaf3433077a4f382126c78", kill_on_drop: false }` [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling blockz_derive v0.2.2 [INFO] [stderr] Compiling blockz v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.15s [INFO] running `Command { std: "docker" "inspect" "5103e12acedc85e0852099b5cdd4234cb21aa14bdeaaf3433077a4f382126c78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5103e12acedc85e0852099b5cdd4234cb21aa14bdeaaf3433077a4f382126c78", kill_on_drop: false }` [INFO] [stdout] 5103e12acedc85e0852099b5cdd4234cb21aa14bdeaaf3433077a4f382126c78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 03515dda81a376a3f2d5412910e99cd81b12204a8da4b4fa6bac2697114689f0 [INFO] running `Command { std: "docker" "start" "-a" "03515dda81a376a3f2d5412910e99cd81b12204a8da4b4fa6bac2697114689f0", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling envy v0.4.2 [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 blockz v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.44s [INFO] running `Command { std: "docker" "inspect" "03515dda81a376a3f2d5412910e99cd81b12204a8da4b4fa6bac2697114689f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03515dda81a376a3f2d5412910e99cd81b12204a8da4b4fa6bac2697114689f0", kill_on_drop: false }` [INFO] [stdout] 03515dda81a376a3f2d5412910e99cd81b12204a8da4b4fa6bac2697114689f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d79e97385b80d238ce41f6b6f1f87547653dcbfe28d7acc2afa25f2316656588 [INFO] running `Command { std: "docker" "start" "-a" "d79e97385b80d238ce41f6b6f1f87547653dcbfe28d7acc2afa25f2316656588", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/blockz-d41e420350999de3) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling blockz_derive v0.2.2 [INFO] [stderr] Compiling blockz v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling blockz-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/blockz) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.77s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/singleton-p-0.rs [should pass] ... ok [INFO] [stderr] test tests/ui/singleton-p-1.rs [should pass] ... ok [INFO] [stderr] test tests/ui/singleton-p-2.rs [should pass] ... ok [INFO] [stderr] test tests/ui/singleton-f-0.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Unknown field: `a` [INFO] [stderr] --> $DIR/singleton-f-0.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | #[singleton(a = "mutex", b = "rwlock", c)] [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: Unknown field: `b` [INFO] [stderr] --> $DIR/singleton-f-0.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | #[singleton(a = "mutex", b = "rwlock", c)] [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: Unknown field: `c` [INFO] [stderr] --> $DIR/singleton-f-0.rs:8:40 [INFO] [stderr] | [INFO] [stderr] 8 | #[singleton(a = "mutex", b = "rwlock", c)] [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_singleton` found for struct `Dummy` in the current scope [INFO] [stderr] --> $DIR/singleton-f-0.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ----------------------- function or associated item `use_singleton` not found for this [INFO] [stderr] ... [INFO] [stderr] 12 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_singleton`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_mut_singleton` found for struct `Dummy` in the current scope [INFO] [stderr] --> $DIR/singleton-f-0.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ----------------------- function or associated item `use_mut_singleton` not found for this [INFO] [stderr] ... [INFO] [stderr] 17 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_mut_singleton`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_mut_singleton_with_arg` found for struct `Dummy` in the current scope [INFO] [stderr] --> $DIR/singleton-f-0.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ----------------------- function or associated item `use_mut_singleton_with_arg` not found for this [INFO] [stderr] ... [INFO] [stderr] 22 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_mut_singleton_with_arg`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_singleton_with_arg` found for struct `Dummy` in the current scope [INFO] [stderr] --> $DIR/singleton-f-0.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ----------------------- function or associated item `use_singleton_with_arg` not found for this [INFO] [stderr] ... [INFO] [stderr] 27 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_singleton_with_arg`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Unknown field: `a` [INFO] [stderr] --> tests/ui/singleton-f-0.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | #[singleton(a = "mutex", b = "rwlock", c)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: Unknown field: `b` [INFO] [stderr] --> tests/ui/singleton-f-0.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | #[singleton(a = "mutex", b = "rwlock", c)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: Unknown field: `c` [INFO] [stderr] --> tests/ui/singleton-f-0.rs:8:40 [INFO] [stderr] | [INFO] [stderr] 8 | #[singleton(a = "mutex", b = "rwlock", c)] [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_singleton` found for struct `Dummy` in the current scope [INFO] [stderr] --> tests/ui/singleton-f-0.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ------------ function or associated item `use_singleton` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 12 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_singleton`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in the attribute macro `singleton_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_mut_singleton` found for struct `Dummy` in the current scope [INFO] [stderr] --> tests/ui/singleton-f-0.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ------------ function or associated item `use_mut_singleton` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 17 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_mut_singleton`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in the attribute macro `singleton_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_mut_singleton_with_arg` found for struct `Dummy` in the current scope [INFO] [stderr] --> tests/ui/singleton-f-0.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ------------ function or associated item `use_mut_singleton_with_arg` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 22 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_mut_singleton_with_arg`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in the attribute macro `singleton_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_singleton_with_arg` found for struct `Dummy` in the current scope [INFO] [stderr] --> tests/ui/singleton-f-0.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ------------ function or associated item `use_singleton_with_arg` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 27 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_singleton_with_arg`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in the attribute macro `singleton_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> tests/ui/singleton-f-0.rs:28:38 [INFO] [stderr] | [INFO] [stderr] 28 | pub async fn check_equals(&self, other: Box<[i32]>) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/singleton-f-1.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Unknown field: `lok`. Did you mean `lock`? [INFO] [stderr] --> $DIR/singleton-f-1.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | #[singleton(lok = "mutex")] [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_singleton` found for struct `Dummy` in the current scope [INFO] [stderr] --> $DIR/singleton-f-1.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ----------------------- function or associated item `use_singleton` not found for this [INFO] [stderr] ... [INFO] [stderr] 12 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_singleton`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_mut_singleton` found for struct `Dummy` in the current scope [INFO] [stderr] --> $DIR/singleton-f-1.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ----------------------- function or associated item `use_mut_singleton` not found for this [INFO] [stderr] ... [INFO] [stderr] 17 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_mut_singleton`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_mut_singleton_with_arg` found for struct `Dummy` in the current scope [INFO] [stderr] --> $DIR/singleton-f-1.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ----------------------- function or associated item `use_mut_singleton_with_arg` not found for this [INFO] [stderr] ... [INFO] [stderr] 22 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_mut_singleton_with_arg`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_singleton_with_arg` found for struct `Dummy` in the current scope [INFO] [stderr] --> $DIR/singleton-f-1.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ----------------------- function or associated item `use_singleton_with_arg` not found for this [INFO] [stderr] ... [INFO] [stderr] 27 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_singleton_with_arg`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Unknown field: `lok`. Did you mean `lock`? [INFO] [stderr] --> tests/ui/singleton-f-1.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | #[singleton(lok = "mutex")] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_singleton` found for struct `Dummy` in the current scope [INFO] [stderr] --> tests/ui/singleton-f-1.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ------------ function or associated item `use_singleton` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 12 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_singleton`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in the attribute macro `singleton_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_mut_singleton` found for struct `Dummy` in the current scope [INFO] [stderr] --> tests/ui/singleton-f-1.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ------------ function or associated item `use_mut_singleton` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 17 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_mut_singleton`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in the attribute macro `singleton_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_mut_singleton_with_arg` found for struct `Dummy` in the current scope [INFO] [stderr] --> tests/ui/singleton-f-1.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ------------ function or associated item `use_mut_singleton_with_arg` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 22 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_mut_singleton_with_arg`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in the attribute macro `singleton_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_singleton_with_arg` found for struct `Dummy` in the current scope [INFO] [stderr] --> tests/ui/singleton-f-1.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ------------ function or associated item `use_singleton_with_arg` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 27 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_singleton_with_arg`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in the attribute macro `singleton_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> tests/ui/singleton-f-1.rs:28:38 [INFO] [stderr] | [INFO] [stderr] 28 | pub async fn check_equals(&self, other: Box<[i32]>) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/singleton-f-2.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Unknown literal value `mootex` [INFO] [stderr] --> $DIR/singleton-f-2.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | #[singleton(lock = "mootex")] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_singleton` found for struct `Dummy` in the current scope [INFO] [stderr] --> $DIR/singleton-f-2.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ----------------------- function or associated item `use_singleton` not found for this [INFO] [stderr] ... [INFO] [stderr] 12 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_singleton`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_mut_singleton` found for struct `Dummy` in the current scope [INFO] [stderr] --> $DIR/singleton-f-2.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ----------------------- function or associated item `use_mut_singleton` not found for this [INFO] [stderr] ... [INFO] [stderr] 17 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_mut_singleton`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_mut_singleton_with_arg` found for struct `Dummy` in the current scope [INFO] [stderr] --> $DIR/singleton-f-2.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ----------------------- function or associated item `use_mut_singleton_with_arg` not found for this [INFO] [stderr] ... [INFO] [stderr] 22 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_mut_singleton_with_arg`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_singleton_with_arg` found for struct `Dummy` in the current scope [INFO] [stderr] --> $DIR/singleton-f-2.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ----------------------- function or associated item `use_singleton_with_arg` not found for this [INFO] [stderr] ... [INFO] [stderr] 27 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_singleton_with_arg`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Unknown literal value `mootex` [INFO] [stderr] --> tests/ui/singleton-f-2.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | #[singleton(lock = "mootex")] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_singleton` found for struct `Dummy` in the current scope [INFO] [stderr] --> tests/ui/singleton-f-2.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ------------ function or associated item `use_singleton` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 12 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_singleton`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in the attribute macro `singleton_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_mut_singleton` found for struct `Dummy` in the current scope [INFO] [stderr] --> tests/ui/singleton-f-2.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ------------ function or associated item `use_mut_singleton` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 17 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_mut_singleton`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in the attribute macro `singleton_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_mut_singleton_with_arg` found for struct `Dummy` in the current scope [INFO] [stderr] --> tests/ui/singleton-f-2.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ------------ function or associated item `use_mut_singleton_with_arg` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 22 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_mut_singleton_with_arg`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in the attribute macro `singleton_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_singleton_with_arg` found for struct `Dummy` in the current scope [INFO] [stderr] --> tests/ui/singleton-f-2.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ------------ function or associated item `use_singleton_with_arg` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 27 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_singleton_with_arg`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in the attribute macro `singleton_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> tests/ui/singleton-f-2.rs:28:38 [INFO] [stderr] | [INFO] [stderr] 28 | pub async fn check_equals(&self, other: Box<[i32]>) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/singleton-f-3.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Unknown literal value `rwlok` [INFO] [stderr] --> $DIR/singleton-f-3.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | #[singleton(lock = "rwlok")] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_singleton` found for struct `Dummy` in the current scope [INFO] [stderr] --> $DIR/singleton-f-3.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ----------------------- function or associated item `use_singleton` not found for this [INFO] [stderr] ... [INFO] [stderr] 12 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_singleton`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_mut_singleton` found for struct `Dummy` in the current scope [INFO] [stderr] --> $DIR/singleton-f-3.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ----------------------- function or associated item `use_mut_singleton` not found for this [INFO] [stderr] ... [INFO] [stderr] 17 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_mut_singleton`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_mut_singleton_with_arg` found for struct `Dummy` in the current scope [INFO] [stderr] --> $DIR/singleton-f-3.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ----------------------- function or associated item `use_mut_singleton_with_arg` not found for this [INFO] [stderr] ... [INFO] [stderr] 22 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_mut_singleton_with_arg`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_singleton_with_arg` found for struct `Dummy` in the current scope [INFO] [stderr] --> $DIR/singleton-f-3.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ----------------------- function or associated item `use_singleton_with_arg` not found for this [INFO] [stderr] ... [INFO] [stderr] 27 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_singleton_with_arg`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Unknown literal value `rwlok` [INFO] [stderr] --> tests/ui/singleton-f-3.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | #[singleton(lock = "rwlok")] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_singleton` found for struct `Dummy` in the current scope [INFO] [stderr] --> tests/ui/singleton-f-3.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ------------ function or associated item `use_singleton` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 12 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_singleton`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in the attribute macro `singleton_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_mut_singleton` found for struct `Dummy` in the current scope [INFO] [stderr] --> tests/ui/singleton-f-3.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ------------ function or associated item `use_mut_singleton` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 17 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_mut_singleton`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in the attribute macro `singleton_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_mut_singleton_with_arg` found for struct `Dummy` in the current scope [INFO] [stderr] --> tests/ui/singleton-f-3.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ------------ function or associated item `use_mut_singleton_with_arg` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 22 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_mut_singleton_with_arg`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in the attribute macro `singleton_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `use_singleton_with_arg` found for struct `Dummy` in the current scope [INFO] [stderr] --> tests/ui/singleton-f-3.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 9 | struct Dummy(Vec); [INFO] [stderr] | ------------ function or associated item `use_singleton_with_arg` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 27 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `Dummy` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `use_singleton_with_arg`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `blockz::singleton::Singleton` [INFO] [stderr] = note: this error originates in the attribute macro `singleton_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> tests/ui/singleton-f-3.rs:28:38 [INFO] [stderr] | [INFO] [stderr] 28 | pub async fn check_equals(&self, other: Box<[i32]>) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/singleton-f-4.rs [should fail to compile] ... ok [INFO] [stderr] test tests/ui/singleton-f-5.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: function receiver must be a reference receiver (&self or &mut self) [INFO] [stderr] --> $DIR/singleton-f-5.rs:12:31 [INFO] [stderr] | [INFO] [stderr] 12 | pub async fn is_vec_empty(self) -> bool { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: function receiver must be a reference receiver (&self or &mut self) [INFO] [stderr] --> $DIR/singleton-f-5.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | async fn clear(mut self) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: function receiver must be a reference receiver (&self or &mut self) [INFO] [stderr] --> $DIR/singleton-f-5.rs:22:26 [INFO] [stderr] | [INFO] [stderr] 22 | pub async fn get_set(mut self, get: usize, _: i32) -> Option { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: function receiver must be a reference receiver (&self or &mut self) [INFO] [stderr] --> $DIR/singleton-f-5.rs:27:31 [INFO] [stderr] | [INFO] [stderr] 27 | pub async fn check_equals(self, other: Box<[i32]>) -> bool { [INFO] [stderr] | ^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: function receiver must be a reference receiver (&self or &mut self) [INFO] [stderr] --> tests/ui/singleton-f-5.rs:12:31 [INFO] [stderr] | [INFO] [stderr] 12 | pub async fn is_vec_empty(self) -> bool { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: function receiver must be a reference receiver (&self or &mut self) [INFO] [stderr] --> tests/ui/singleton-f-5.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | async fn clear(mut self) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: function receiver must be a reference receiver (&self or &mut self) [INFO] [stderr] --> tests/ui/singleton-f-5.rs:22:26 [INFO] [stderr] | [INFO] [stderr] 22 | pub async fn get_set(mut self, get: usize, _: i32) -> Option { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: function receiver must be a reference receiver (&self or &mut self) [INFO] [stderr] --> tests/ui/singleton-f-5.rs:27:31 [INFO] [stderr] | [INFO] [stderr] 27 | pub async fn check_equals(self, other: Box<[i32]>) -> bool { [INFO] [stderr] | ^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/singleton-f-6.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: first function argument recv (type: i32) must be a reference receiver (&self or &mut self) [INFO] [stderr] --> $DIR/singleton-f-6.rs:12:31 [INFO] [stderr] | [INFO] [stderr] 12 | pub async fn is_vec_empty(recv: i32) -> bool { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: first function argument bad_recv (type: u32) must be a reference receiver (&self or &mut self) [INFO] [stderr] --> $DIR/singleton-f-6.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | async fn clear(bad_recv: u32) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: first function argument fail (type: String) must be a reference receiver (&self or &mut self) [INFO] [stderr] --> $DIR/singleton-f-6.rs:22:26 [INFO] [stderr] | [INFO] [stderr] 22 | pub async fn get_set(fail: String) -> Option { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: first function argument another_fail (type: Option < () >) must be a reference receiver (&self or &mut self) [INFO] [stderr] --> $DIR/singleton-f-6.rs:27:31 [INFO] [stderr] | [INFO] [stderr] 27 | pub async fn check_equals(another_fail: Option<()>) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: first function argument recv (type: i32) must be a reference receiver (&self or &mut self) [INFO] [stderr] --> tests/ui/singleton-f-6.rs:12:31 [INFO] [stderr] | [INFO] [stderr] 12 | pub async fn is_vec_empty(recv: i32) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: first function argument bad_recv (type: u32) must be a reference receiver (&self or &mut self) [INFO] [stderr] --> tests/ui/singleton-f-6.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | async fn clear(bad_recv: u32) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: first function argument fail (type: String) must be a reference receiver (&self or &mut self) [INFO] [stderr] --> tests/ui/singleton-f-6.rs:22:26 [INFO] [stderr] | [INFO] [stderr] 22 | pub async fn get_set(fail: String) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: first function argument another_fail (type: Option < () >) must be a reference receiver (&self or &mut self) [INFO] [stderr] --> tests/ui/singleton-f-6.rs:27:31 [INFO] [stderr] | [INFO] [stderr] 27 | pub async fn check_equals(another_fail: Option<()>) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/singleton-f-7.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: function argument must have an identifier [INFO] [stderr] --> $DIR/singleton-f-7.rs:22:49 [INFO] [stderr] | [INFO] [stderr] 22 | pub async fn get_set(&mut self, get: usize, _: i32) -> Option { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] error: function argument must have an identifier [INFO] [stderr] --> $DIR/singleton-f-7.rs:27:38 [INFO] [stderr] | [INFO] [stderr] 27 | pub async fn check_equals(&self, _: Box<[i32]>) -> bool { [INFO] [stderr] | ^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: function argument must have an identifier [INFO] [stderr] --> tests/ui/singleton-f-7.rs:22:49 [INFO] [stderr] | [INFO] [stderr] 22 | pub async fn get_set(&mut self, get: usize, _: i32) -> Option { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: function argument must have an identifier [INFO] [stderr] --> tests/ui/singleton-f-7.rs:27:38 [INFO] [stderr] | [INFO] [stderr] 27 | pub async fn check_equals(&self, _: Box<[i32]>) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/singleton-f-8.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: implementation of `SingletonFnMutWithArg` is not general enough [INFO] [stderr] --> $DIR/singleton-f-8.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ implementation of `SingletonFnMutWithArg` is not general enough [INFO] [stderr] | [INFO] [stderr] ::: $WORKSPACE/src/singleton.rs [INFO] [stderr] | [INFO] [stderr] | / pub trait SingletonFnMutWithArg<'i, I, A, R> [INFO] [stderr] 231 | | where [INFO] [stderr] 232 | | A: Send, [INFO] [stderr] 233 | | R: Send, [INFO] [stderr] ... | [INFO] [stderr] 238 | | fn call_once(self, inner: &'i mut I, arg: A) -> Self::SingletonResult; [INFO] [stderr] 239 | | } [INFO] [stderr] | |_- trait `SingletonFnMutWithArg` defined here [INFO] [stderr] | [INFO] [stderr] = note: `for<'_, '_, '_> fn(&mut Dummy, (&usize, &i32)) -> impl Future {Dummy::blockz_singleton_fn_mut_with_arg_get_set}` must implement `SingletonFnMutWithArg<'0, Dummy, (&usize, &i32), Option>`, for any lifetime `'0`... [INFO] [stderr] = note: ...but `SingletonFnMutWithArg<'_, Dummy, (&usize, &i32), Option>` is actually implemented for the type `for<'_, '_, '_> fn(&mut Dummy, (&usize, &i32)) -> impl Future {Dummy::blockz_singleton_fn_mut_with_arg_get_set}` [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: implementation of `SingletonFnWithArg` is not general enough [INFO] [stderr] --> $DIR/singleton-f-8.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ implementation of `SingletonFnWithArg` is not general enough [INFO] [stderr] | [INFO] [stderr] ::: $WORKSPACE/src/singleton.rs [INFO] [stderr] | [INFO] [stderr] | / pub trait SingletonFnWithArg<'i, I, A, R> [INFO] [stderr] 159 | | where [INFO] [stderr] 160 | | A: Send, [INFO] [stderr] 161 | | R: Send, [INFO] [stderr] ... | [INFO] [stderr] 166 | | fn call_once(self, inner: &'i I, arg: A) -> Self::SingletonResult; [INFO] [stderr] 167 | | } [INFO] [stderr] | |_- trait `SingletonFnWithArg` defined here [INFO] [stderr] | [INFO] [stderr] = note: `for<'_, '_> fn(&Dummy, &[i32]) -> impl Future {Dummy::blockz_singleton_fn_with_arg_check_equals}` must implement `SingletonFnWithArg<'0, Dummy, &[i32], bool>`, for any lifetime `'0`... [INFO] [stderr] = note: ...but `SingletonFnWithArg<'_, Dummy, &[i32], bool>` is actually implemented for the type `for<'_, '_> fn(&Dummy, &[i32]) -> impl Future {Dummy::blockz_singleton_fn_with_arg_check_equals}` [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0521]: borrowed data escapes outside of associated function [INFO] [stderr] --> tests/ui/singleton-f-8.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `get` escapes the associated function body here [INFO] [stderr] | argument requires that `'1` must outlive `'static` [INFO] [stderr] 24 | pub async fn get_set(&mut self, get: &usize, set: &i32) -> Option { [INFO] [stderr] | --- - let's call the lifetime of this reference `'1` [INFO] [stderr] | | [INFO] [stderr] | `get` is a reference that is only valid in the associated function body [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `singleton_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0521]: borrowed data escapes outside of associated function [INFO] [stderr] --> tests/ui/singleton-f-8.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `set` escapes the associated function body here [INFO] [stderr] | argument requires that `'2` must outlive `'static` [INFO] [stderr] 24 | pub async fn get_set(&mut self, get: &usize, set: &i32) -> Option { [INFO] [stderr] | --- - let's call the lifetime of this reference `'2` [INFO] [stderr] | | [INFO] [stderr] | `set` is a reference that is only valid in the associated function body [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `singleton_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> tests/ui/singleton-f-8.rs:29:38 [INFO] [stderr] | [INFO] [stderr] 29 | pub async fn check_equals(&self, other: &[i32]) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0521]: borrowed data escapes outside of associated function [INFO] [stderr] --> tests/ui/singleton-f-8.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | #[singleton_fn] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `other` escapes the associated function body here [INFO] [stderr] | argument requires that `'1` must outlive `'static` [INFO] [stderr] 29 | pub async fn check_equals(&self, other: &[i32]) -> bool { [INFO] [stderr] | ----- - let's call the lifetime of this reference `'1` [INFO] [stderr] | | [INFO] [stderr] | `other` is a reference that is only valid in the associated function body [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `singleton_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test test::test_singleton ... FAILED [INFO] [stderr] Compiling blockz-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/blockz) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.00s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/direct_configuration-p-0.rs [should pass] ... ok [INFO] [stderr] test tests/ui/direct_configuration-p-1.rs [should pass] ... ok [INFO] [stderr] test tests/ui/direct_configuration-p-2.rs [should pass] ... ok [INFO] [stderr] test tests/ui/direct_configuration-f-0.rs [should fail to compile] ... ok [INFO] [stderr] test tests/ui/direct_configuration-f-1.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `MyConfig: Default` is not satisfied [INFO] [stderr] --> $DIR/direct_configuration-f-1.rs:16:17 [INFO] [stderr] | [INFO] [stderr] 16 | let conf1 = ::load().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `MyConfig` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `EasyConfiguration` for `MyConfig` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `MyConfig: Default` is not satisfied [INFO] [stderr] --> $DIR/direct_configuration-f-1.rs:16:17 [INFO] [stderr] | [INFO] [stderr] 16 | let conf1 = ::load().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `MyConfig` [INFO] [stderr] | [INFO] [stderr] ::: $WORKSPACE/src/configuration.rs [INFO] [stderr] | [INFO] [stderr] | async fn load() -> Self::Result; [INFO] [stderr] | ---- required by this bound in `blockz::configuration::EasyConfiguration::load` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `EasyConfiguration` for `MyConfig` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `MyConfig: Default` is not satisfied [INFO] [stderr] --> tests/ui/direct_configuration-f-1.rs:16:18 [INFO] [stderr] | [INFO] [stderr] 16 | let conf1 = ::load().await; [INFO] [stderr] | ^^^^^^^^ the trait `Default` is not implemented for `MyConfig` [INFO] [stderr] | [INFO] [stderr] = note: required for `MyConfig` to implement `EasyConfiguration` [INFO] [stderr] help: consider annotating `MyConfig` with `#[derive(Default)]` [INFO] [stderr] | [INFO] [stderr] 9 + #[derive(Default)] [INFO] [stderr] 10 | struct MyConfig { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `MyConfig: Default` is not satisfied [INFO] [stderr] --> tests/ui/direct_configuration-f-1.rs:16:17 [INFO] [stderr] | [INFO] [stderr] 16 | let conf1 = ::load().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `MyConfig` [INFO] [stderr] | [INFO] [stderr] = note: required for `MyConfig` to implement `EasyConfiguration` [INFO] [stderr] help: consider annotating `MyConfig` with `#[derive(Default)]` [INFO] [stderr] | [INFO] [stderr] 9 + #[derive(Default)] [INFO] [stderr] 10 | struct MyConfig { [INFO] [stderr] | [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test test::test_direct_configuration ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::test_singleton stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test::test_singleton' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.105/src/run.rs:102:13: [INFO] [stdout] 8 of 12 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7908f1562332 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x7908f1562332 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x7908f1562332 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x7908f1562332 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7908f15a02b3 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7908f15a02b3 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x7908f155ebc3 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x7908f155ebc3 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x7908f1562182 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x7908f156481c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7908f1564672 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x7908f152deb4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x7908f152deb4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7908f1565283 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7908f1565283 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x7908f1564f6a - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x7908f1562839 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x7908f1564bfd - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x7908f12436f0 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x7908f1253bf5 - trybuild::run::::run::hc13e8108f47370ae [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.105/src/run.rs:102:13 [INFO] [stdout] 20: 0x7908f12593e8 - ::drop::h3c0e69e9dd5b0e1c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.105/src/lib.rs:341:38 [INFO] [stdout] 21: 0x7908f1244647 - core::ptr::drop_in_place::h1527509814d60e7b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 22: 0x7908f1245806 - blockz::test::test_singleton::h3012146051238dcd [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:59:5 [INFO] [stdout] 23: 0x7908f1245197 - blockz::test::test_singleton::{{closure}}::heb90c9454164034e [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:54:24 [INFO] [stdout] 24: 0x7908f12445f6 - core::ops::function::FnOnce::call_once::hc47d4207e84ffe8d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x7908f15335ab - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x7908f15335ab - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x7908f153281e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x7908f153281e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x7908f153281e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x7908f153281e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x7908f153281e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x7908f153281e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x7908f153281e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x7908f14f76a4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x7908f14f76a4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 36: 0x7908f14fae9a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x7908f14fae9a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x7908f14fae9a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x7908f14fae9a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x7908f14fae9a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x7908f14fae9a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x7908f14fae9a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x7908f1568237 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x7908f1568237 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 45: 0x7908f1568237 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- test::test_direct_configuration stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test::test_direct_configuration' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.105/src/run.rs:102:13: [INFO] [stdout] 1 of 5 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7908f1562332 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x7908f1562332 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x7908f1562332 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x7908f1562332 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7908f15a02b3 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7908f15a02b3 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x7908f155ebc3 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x7908f155ebc3 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x7908f1562182 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x7908f156481c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7908f1564672 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x7908f152deb4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x7908f152deb4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7908f1565283 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7908f1565283 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x7908f1564f6a - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x7908f1562839 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x7908f1564bfd - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x7908f12436f0 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x7908f1253bf5 - trybuild::run::::run::hc13e8108f47370ae [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.105/src/run.rs:102:13 [INFO] [stdout] 20: 0x7908f12593e8 - ::drop::h3c0e69e9dd5b0e1c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.105/src/lib.rs:341:38 [INFO] [stdout] 21: 0x7908f1244647 - core::ptr::drop_in_place::h1527509814d60e7b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 22: 0x7908f1245b0a - blockz::test::test_direct_configuration::hfb28d5a1e528660f [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:69:5 [INFO] [stdout] 23: 0x7908f1245847 - blockz::test::test_direct_configuration::{{closure}}::h31b6bb3bac9d737d [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:64:35 [INFO] [stdout] 24: 0x7908f12445b6 - core::ops::function::FnOnce::call_once::h6b8a4cf8ac9e9b32 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x7908f15335ab - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x7908f15335ab - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x7908f153281e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x7908f153281e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x7908f153281e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x7908f153281e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x7908f153281e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x7908f153281e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x7908f153281e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x7908f14f76a4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x7908f14f76a4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 36: 0x7908f14fae9a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x7908f14fae9a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x7908f14fae9a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x7908f14fae9a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x7908f14fae9a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x7908f14fae9a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x7908f14fae9a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x7908f1568237 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x7908f1568237 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 45: 0x7908f1568237 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::test_direct_configuration [INFO] [stdout] test::test_singleton [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 34.88s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "d79e97385b80d238ce41f6b6f1f87547653dcbfe28d7acc2afa25f2316656588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d79e97385b80d238ce41f6b6f1f87547653dcbfe28d7acc2afa25f2316656588", kill_on_drop: false }` [INFO] [stdout] d79e97385b80d238ce41f6b6f1f87547653dcbfe28d7acc2afa25f2316656588