[INFO] fetching crate blockz 0.2.2... [INFO] testing blockz-0.2.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate blockz 0.2.2 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate blockz 0.2.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 85 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trybuild v1.0.110 [INFO] [stderr] Downloaded darling_core v0.12.4 [INFO] [stderr] Downloaded darling_macro v0.12.4 [INFO] [stderr] Downloaded darling v0.12.4 [INFO] [stderr] Downloaded blockz_derive v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 850889a05d8dce1b6a7be8fc4a4a24f513d2bc4cb035cfeafb657988be9e50d6 [INFO] running `Command { std: "docker" "start" "-a" "850889a05d8dce1b6a7be8fc4a4a24f513d2bc4cb035cfeafb657988be9e50d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "850889a05d8dce1b6a7be8fc4a4a24f513d2bc4cb035cfeafb657988be9e50d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "850889a05d8dce1b6a7be8fc4a4a24f513d2bc4cb035cfeafb657988be9e50d6", kill_on_drop: false }` [INFO] [stdout] 850889a05d8dce1b6a7be8fc4a4a24f513d2bc4cb035cfeafb657988be9e50d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d06ce3082f310866ad4477b102556350159c776c85142b7311c39e08cfed04c [INFO] running `Command { std: "docker" "start" "-a" "8d06ce3082f310866ad4477b102556350159c776c85142b7311c39e08cfed04c", kill_on_drop: false }` [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling darling_core v0.12.4 [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 async-trait v0.1.89 [INFO] [stderr] Compiling blockz v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.24s [INFO] running `Command { std: "docker" "inspect" "8d06ce3082f310866ad4477b102556350159c776c85142b7311c39e08cfed04c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d06ce3082f310866ad4477b102556350159c776c85142b7311c39e08cfed04c", kill_on_drop: false }` [INFO] [stdout] 8d06ce3082f310866ad4477b102556350159c776c85142b7311c39e08cfed04c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad8751620ed2399c7e7d00d26df2faa0fd7429d79b9fecbde97fd79285eaead4 [INFO] running `Command { std: "docker" "start" "-a" "ad8751620ed2399c7e7d00d26df2faa0fd7429d79b9fecbde97fd79285eaead4", kill_on_drop: false }` [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling toml_writer v1.0.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling trybuild v1.0.110 [INFO] [stderr] Compiling blockz v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 30.26s [INFO] running `Command { std: "docker" "inspect" "ad8751620ed2399c7e7d00d26df2faa0fd7429d79b9fecbde97fd79285eaead4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad8751620ed2399c7e7d00d26df2faa0fd7429d79b9fecbde97fd79285eaead4", kill_on_drop: false }` [INFO] [stdout] ad8751620ed2399c7e7d00d26df2faa0fd7429d79b9fecbde97fd79285eaead4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 17ee9dc63879bbfb0050b8f39a43754ecc7430f27acbd7c1a34eddce34bb3cdd [INFO] running `Command { std: "docker" "start" "-a" "17ee9dc63879bbfb0050b8f39a43754ecc7430f27acbd7c1a34eddce34bb3cdd", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/blockz-0c3681407859b97c) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.10.1 [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 mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling syn v2.0.106 [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.89 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.47.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 44.33s [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 0.32s [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' (20) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.110/src/run.rs:102:13: [INFO] [stdout] 8 of 12 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f5a0633d312 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5f5a0633d312 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5f5a0633d312 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5f5a0633d312 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5f5a0634ee4f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5f5a0634ee4f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5f5a06307ad3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5f5a06307ad3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5f5a06314de2 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5f5a0631a2ff - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5f5a0631a191 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5f5a062d710e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5f5a062d710e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5f5a0631a99e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5f5a0631a99e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5f5a0631a76a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5f5a06314f19 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5f5a062fac9d - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5f5a063581b0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5f5a061ad773 - trybuild::run::::run::hd39f0933ad74519f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.110/src/run.rs:102:13 [INFO] [stdout] 20: 0x5f5a061a7d68 - ::drop::hc8097e7d8c59cac2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.110/src/lib.rs:342:38 [INFO] [stdout] 21: 0x5f5a06074787 - core::ptr::drop_in_place::hd31d670bdb0377fb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ptr/mod.rs:804:1 [INFO] [stdout] 22: 0x5f5a060755ce - blockz::test::test_singleton::h2de1ead82edac53c [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:59:5 [INFO] [stdout] 23: 0x5f5a06075607 - blockz::test::test_singleton::{{closure}}::h11b38588a44ee7b3 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:54:24 [INFO] [stdout] 24: 0x5f5a06074726 - core::ops::function::FnOnce::call_once::h8d8b1b4e74f6c068 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5f5a062d6f0b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5f5a062d6f0b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5f5a062ec9b5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5f5a062ec9b5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5f5a062ec9b5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5f5a062ec9b5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5f5a062ec9b5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5f5a062ec9b5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5f5a062ec9b5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5f5a062c33d4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5f5a062c33d4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5f5a062c6cba - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5f5a062c6cba - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5f5a062c6cba - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5f5a062c6cba - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5f5a062c6cba - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5f5a062c6cba - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5f5a062c6cba - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5f5a0630e8df - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5f5a0630e8df - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x74bf47922aa4 - [INFO] [stdout] 46: 0x74bf479afa34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test::test_direct_configuration stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test::test_direct_configuration' (18) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.110/src/run.rs:102:13: [INFO] [stdout] 1 of 5 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f5a0633d312 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5f5a0633d312 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5f5a0633d312 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5f5a0633d312 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5f5a0634ee4f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5f5a0634ee4f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5f5a06307ad3 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5f5a06307ad3 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5f5a06314de2 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5f5a0631a2ff - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5f5a0631a191 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5f5a062d710e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5f5a062d710e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5f5a0631a99e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5f5a0631a99e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5f5a0631a76a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5f5a06314f19 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5f5a062fac9d - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5f5a063581b0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5f5a061ad773 - trybuild::run::::run::hd39f0933ad74519f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.110/src/run.rs:102:13 [INFO] [stdout] 20: 0x5f5a061a7d68 - ::drop::hc8097e7d8c59cac2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.110/src/lib.rs:342:38 [INFO] [stdout] 21: 0x5f5a06074787 - core::ptr::drop_in_place::hd31d670bdb0377fb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ptr/mod.rs:804:1 [INFO] [stdout] 22: 0x5f5a060758a8 - blockz::test::test_direct_configuration::h67d9229cd2560614 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:69:5 [INFO] [stdout] 23: 0x5f5a060758e7 - blockz::test::test_direct_configuration::{{closure}}::ha04c49850c3f6ba2 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:64:35 [INFO] [stdout] 24: 0x5f5a060746a6 - core::ops::function::FnOnce::call_once::h083cbd47a8eb42cd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5f5a062d6f0b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5f5a062d6f0b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5f5a062ec9b5 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5f5a062ec9b5 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5f5a062ec9b5 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5f5a062ec9b5 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5f5a062ec9b5 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5f5a062ec9b5 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5f5a062ec9b5 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5f5a062c33d4 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5f5a062c33d4 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5f5a062c6cba - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5f5a062c6cba - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5f5a062c6cba - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5f5a062c6cba - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5f5a062c6cba - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5f5a062c6cba - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5f5a062c6cba - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5f5a0630e8df - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5f5a0630e8df - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x74bf47922aa4 - [INFO] [stdout] 46: 0x74bf479afa34 - clone [INFO] [stdout] 47: 0x0 - [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 54.44s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "17ee9dc63879bbfb0050b8f39a43754ecc7430f27acbd7c1a34eddce34bb3cdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17ee9dc63879bbfb0050b8f39a43754ecc7430f27acbd7c1a34eddce34bb3cdd", kill_on_drop: false }` [INFO] [stdout] 17ee9dc63879bbfb0050b8f39a43754ecc7430f27acbd7c1a34eddce34bb3cdd