[INFO] fetching crate blockz 0.2.2... [INFO] testing blockz-0.2.2 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate blockz 0.2.2 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate blockz 0.2.2 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dbb8c73b84a118d9d7d1f1475053a14af257c9e075ebb48efbee3e7bdf078c49 [INFO] running `Command { std: "docker" "start" "-a" "dbb8c73b84a118d9d7d1f1475053a14af257c9e075ebb48efbee3e7bdf078c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbb8c73b84a118d9d7d1f1475053a14af257c9e075ebb48efbee3e7bdf078c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbb8c73b84a118d9d7d1f1475053a14af257c9e075ebb48efbee3e7bdf078c49", kill_on_drop: false }` [INFO] [stdout] dbb8c73b84a118d9d7d1f1475053a14af257c9e075ebb48efbee3e7bdf078c49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98bd05a770bb0a96086809856d4c9d00ba5c286a96a56e76b139bcd0b7b07bf9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "98bd05a770bb0a96086809856d4c9d00ba5c286a96a56e76b139bcd0b7b07bf9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling convert_case v0.4.0 [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 blockz v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.66s [INFO] running `Command { std: "docker" "inspect" "98bd05a770bb0a96086809856d4c9d00ba5c286a96a56e76b139bcd0b7b07bf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98bd05a770bb0a96086809856d4c9d00ba5c286a96a56e76b139bcd0b7b07bf9", kill_on_drop: false }` [INFO] [stdout] 98bd05a770bb0a96086809856d4c9d00ba5c286a96a56e76b139bcd0b7b07bf9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5a83f711b650d85be0e734996a53d3a8f0ed15eb9609e01e509e7a8def8dd8b3 [INFO] running `Command { std: "docker" "start" "-a" "5a83f711b650d85be0e734996a53d3a8f0ed15eb9609e01e509e7a8def8dd8b3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling trybuild v1.0.42 [INFO] [stderr] Compiling blockz v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 18.33s [INFO] running `Command { std: "docker" "inspect" "5a83f711b650d85be0e734996a53d3a8f0ed15eb9609e01e509e7a8def8dd8b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a83f711b650d85be0e734996a53d3a8f0ed15eb9609e01e509e7a8def8dd8b3", kill_on_drop: false }` [INFO] [stdout] 5a83f711b650d85be0e734996a53d3a8f0ed15eb9609e01e509e7a8def8dd8b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 67cbcfa9d3a8e6f57ec9566691a57d47ad62084f5e287e5502af7a84c298ec7e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "67cbcfa9d3a8e6f57ec9566691a57d47ad62084f5e287e5502af7a84c298ec7e", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/blockz-decbc285e4951ea0) [INFO] [stdout] running 2 tests [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling cfg-if v1.0.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 serde_derive v1.0.126 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling tokio-macros v1.2.0 [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/blockz) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.68s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test direct_configuration-p-0.rs [should pass] ... ok [INFO] [stderr] test direct_configuration-p-1.rs [should pass] ... ok [INFO] [stderr] test direct_configuration-p-2.rs [should pass] ... ok [INFO] [stderr] test direct_configuration-f-0.rs [should fail to compile] ... ok [INFO] [stdout] test test::test_direct_configuration ... ok [INFO] [stderr] test direct_configuration-f-1.rs [should fail to compile] ... ok [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] Compiling blockz-tests v0.0.0 (/opt/rustwide/target/tests/blockz) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test singleton-p-0.rs [should pass] ... ok [INFO] [stderr] test singleton-p-1.rs [should pass] ... ok [INFO] [stderr] test singleton-p-2.rs [should pass] ... ok [INFO] [stderr] test 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] --> $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 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] --> $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 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] --> $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 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] --> $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 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] test 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] --> $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 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] --> $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 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] --> $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 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] --> $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 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] test 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] --> $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 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] --> $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 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] --> $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 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] --> $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 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] test 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] --> $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 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] --> $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 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] --> $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 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] --> $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 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] test singleton-f-4.rs [should fail to compile] ... ok [INFO] [stderr] test 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] --> $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] 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 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] --> $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] 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 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] --> $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] 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 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: 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] = 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 it actually implements `SingletonFnMutWithArg<'_, Dummy, (&usize, &i32), Option>` [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: 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] = 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 it actually implements `SingletonFnWithArg<'_, Dummy, &[i32], bool>` [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] error: test failed, to rerun pass '--lib' [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::test_singleton stdout ---- [INFO] [stdout] thread 'test::test_singleton' panicked at '8 of 12 tests failed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.42/src/run.rs:73:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5573e33d4cd0 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x5573e33d4cd0 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5573e33d4cd0 - std[77c0456e0eb29f0c]::sys_common::backtrace::_print_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5573e33d4cd0 - ::fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5573e33fa22c - core[ee1ca6415511a9c4]::fmt::write [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x5573e33d1115 - as std[77c0456e0eb29f0c]::io::Write>::write_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x5573e33d700b - std[77c0456e0eb29f0c]::sys_common::backtrace::_print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5573e33d700b - std[77c0456e0eb29f0c]::sys_common::backtrace::print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5573e33d700b - std[77c0456e0eb29f0c]::panicking::default_hook::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x5573e33d6b1c - std[77c0456e0eb29f0c]::panicking::default_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x5573e33d76b1 - std[77c0456e0eb29f0c]::panicking::rust_panic_with_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x5573e33d71b7 - std[77c0456e0eb29f0c]::panicking::begin_panic_handler::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x5573e33d51cc - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x5573e33d7119 - rust_begin_unwind [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x5573e3177dfb - std[77c0456e0eb29f0c]::panicking::begin_panic_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:457:5 [INFO] [stdout] 15: 0x5573e31a3832 - ::run [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.42/src/run.rs:73:13 [INFO] [stdout] 16: 0x5573e31a84b2 - ::drop [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.42/src/lib.rs:305:13 [INFO] [stdout] 17: 0x5573e317b037 - core[ee1ca6415511a9c4]::ptr::drop_in_place:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ptr/mod.rs:192:1 [INFO] [stdout] 18: 0x5573e317a184 - blockz[eea51da3d0398b87]::test::test_singleton [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:59:5 [INFO] [stdout] 19: 0x5573e3178fda - blockz[eea51da3d0398b87]::test::test_singleton::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:54:5 [INFO] [stdout] 20: 0x5573e317b18e - >::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5573e33aa3c3 - >::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x5573e33aa3c3 - test[eeb9024d9ac7bc83]::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:577:5 [INFO] [stdout] 23: 0x5573e33a8e8c - + core[ee1ca6415511a9c4]::marker::Send> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 24: 0x5573e33a8e8c - + core[ee1ca6415511a9c4]::marker::Send>> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:346:9 [INFO] [stdout] 25: 0x5573e33a8e8c - std[77c0456e0eb29f0c]::panicking::try::do_call:: + core[ee1ca6415511a9c4]::marker::Send>>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 26: 0x5573e33a8e8c - std[77c0456e0eb29f0c]::panicking::try::<(), std[77c0456e0eb29f0c]::panic::AssertUnwindSafe + core[ee1ca6415511a9c4]::marker::Send>>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 27: 0x5573e33a8e8c - std[77c0456e0eb29f0c]::panic::catch_unwind:: + core[ee1ca6415511a9c4]::marker::Send>>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 28: 0x5573e33a8e8c - test[eeb9024d9ac7bc83]::run_test_in_process [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:600:18 [INFO] [stdout] 29: 0x5573e33a8e8c - test[eeb9024d9ac7bc83]::run_test::run_test_inner::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:492:39 [INFO] [stdout] 30: 0x5573e3388b52 - test[eeb9024d9ac7bc83]::run_test::run_test_inner::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:519:37 [INFO] [stdout] 31: 0x5573e3388b52 - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 32: 0x5573e3389438 - ::spawn_unchecked::::{closure#0}::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 33: 0x5573e3389438 - ::spawn_unchecked::{closure#0}::{closure#0}> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:346:9 [INFO] [stdout] 34: 0x5573e3389438 - std[77c0456e0eb29f0c]::panicking::try::do_call::::spawn_unchecked::{closure#0}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 35: 0x5573e3389438 - std[77c0456e0eb29f0c]::panicking::try::<(), std[77c0456e0eb29f0c]::panic::AssertUnwindSafe<::spawn_unchecked::{closure#0}::{closure#0}>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 36: 0x5573e3389438 - std[77c0456e0eb29f0c]::panic::catch_unwind::::spawn_unchecked::{closure#0}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 37: 0x5573e3389438 - ::spawn_unchecked::::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 38: 0x5573e3389438 - <::spawn_unchecked::{closure#0} as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x5573e33dd667 - > as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 40: 0x5573e33dd667 - >> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 41: 0x5573e33dd667 - ::new::thread_start [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 42: 0x7f01674d4609 - start_thread [INFO] [stdout] 43: 0x7f01672a6293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::test_singleton [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 44.20s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "67cbcfa9d3a8e6f57ec9566691a57d47ad62084f5e287e5502af7a84c298ec7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67cbcfa9d3a8e6f57ec9566691a57d47ad62084f5e287e5502af7a84c298ec7e", kill_on_drop: false }` [INFO] [stdout] 67cbcfa9d3a8e6f57ec9566691a57d47ad62084f5e287e5502af7a84c298ec7e