[INFO] fetching crate blockz 0.2.2... [INFO] testing blockz-0.2.2 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate blockz 0.2.2 into /workspace/builds/worker-23/source [INFO] validating manifest of crates.io crate blockz 0.2.2 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-23/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded blockz_derive v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c376d959e98f3a1c7e018af42bea5ca7413c899a3a0647557425f4513a7762b [INFO] running `Command { std: "docker" "start" "-a" "9c376d959e98f3a1c7e018af42bea5ca7413c899a3a0647557425f4513a7762b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c376d959e98f3a1c7e018af42bea5ca7413c899a3a0647557425f4513a7762b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c376d959e98f3a1c7e018af42bea5ca7413c899a3a0647557425f4513a7762b", kill_on_drop: false }` [INFO] [stdout] 9c376d959e98f3a1c7e018af42bea5ca7413c899a3a0647557425f4513a7762b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34974992fa16f598660c57567c5321432fd3b8b4fb1f15e4df7b5110d2d46985 [INFO] running `Command { std: "docker" "start" "-a" "34974992fa16f598660c57567c5321432fd3b8b4fb1f15e4df7b5110d2d46985", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling async-trait v0.1.52 [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 9.30s [INFO] running `Command { std: "docker" "inspect" "34974992fa16f598660c57567c5321432fd3b8b4fb1f15e4df7b5110d2d46985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34974992fa16f598660c57567c5321432fd3b8b4fb1f15e4df7b5110d2d46985", kill_on_drop: false }` [INFO] [stdout] 34974992fa16f598660c57567c5321432fd3b8b4fb1f15e4df7b5110d2d46985 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b3cb98357d2ce446775641f9dee44c269d3ddb00e71297b81cbb23999de02e3 [INFO] running `Command { std: "docker" "start" "-a" "9b3cb98357d2ce446775641f9dee44c269d3ddb00e71297b81cbb23999de02e3", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling trybuild v1.0.56 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling blockz v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.98s [INFO] running `Command { std: "docker" "inspect" "9b3cb98357d2ce446775641f9dee44c269d3ddb00e71297b81cbb23999de02e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b3cb98357d2ce446775641f9dee44c269d3ddb00e71297b81cbb23999de02e3", kill_on_drop: false }` [INFO] [stdout] 9b3cb98357d2ce446775641f9dee44c269d3ddb00e71297b81cbb23999de02e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 053bbf4aa3d738c2b74a5c23fa9b8dbbd87dc7129c570ecca4850b9ea3a9fede [INFO] running `Command { std: "docker" "start" "-a" "053bbf4aa3d738c2b74a5c23fa9b8dbbd87dc7129c570ecca4850b9ea3a9fede", 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-219115b8f7a9b063) [INFO] [stdout] running 2 tests [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling tokio v1.17.0 [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 25.12s [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: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] --> 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 because of the requirements on the impl of `EasyConfiguration` for `MyConfig` [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] [stderr] Compiling blockz-tests v0.0.0 (/opt/rustwide/target/tests/blockz) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.56s [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 [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 [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 [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 [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 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 [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 [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 [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 [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 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 [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 [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 [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 [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 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 [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 [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 [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 [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 tests/ui/singleton-f-4.rs [should fail to compile] ... ok [INFO] [stderr] test tests/ui/singleton-f-5.rs [should fail to compile] ... ok [INFO] [stderr] test tests/ui/singleton-f-6.rs [should fail to compile] ... ok [INFO] [stderr] test tests/ui/singleton-f-7.rs [should fail to compile] ... ok [INFO] [stdout] test test::test_singleton ... FAILED [INFO] [stderr] test tests/ui/singleton-f-8.rs [should fail to compile] ... mismatch [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] failures: [INFO] [stderr] EXPECTED: [INFO] [stdout] [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] ---- test::test_direct_configuration stdout ---- [INFO] [stderr] error: implementation of `SingletonFnMutWithArg` is not general enough [INFO] [stdout] thread 'test::test_direct_configuration' panicked at '1 of 5 tests failed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.56/src/run.rs:74:13 [INFO] [stderr] --> $DIR/singleton-f-8.rs:23:5 [INFO] [stdout] stack backtrace: [INFO] [stderr] | [INFO] [stdout] 0: 0x556f13634f4c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stderr] 23 | #[singleton_fn] [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stderr] | ^^^^^^^^^^^^^^^ implementation of `SingletonFnMutWithArg` is not general enough [INFO] [stdout] 1: 0x556f13634f4c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stderr] | [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] ::: $WORKSPACE/src/singleton.rs [INFO] [stdout] 2: 0x556f13634f4c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stderr] | [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stderr] | / pub trait SingletonFnMutWithArg<'i, I, A, R> [INFO] [stdout] 3: 0x556f13634f4c - ::fmt::ha305a40dbc030444 [INFO] [stderr] 231 | | where [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stderr] 232 | | A: Send, [INFO] [stdout] 4: 0x556f1365c42c - core::fmt::write::hadd15acf4d6ce273 [INFO] [stderr] 233 | | R: Send, [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stderr] ... | [INFO] [stdout] 5: 0x556f1362f9d8 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stderr] 238 | | fn call_once(self, inner: &'i mut I, arg: A) -> Self::SingletonResult; [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stderr] 239 | | } [INFO] [stdout] 6: 0x556f13637217 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stderr] | |_- trait `SingletonFnMutWithArg` defined here [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stderr] | [INFO] [stdout] 7: 0x556f13637217 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [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] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [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] [stdout] 8: 0x556f13637217 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stderr] [INFO] [stdout] 9: 0x556f13636f4b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stderr] error: implementation of `SingletonFnWithArg` is not general enough [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stderr] --> $DIR/singleton-f-8.rs:28:5 [INFO] [stdout] 10: 0x556f1363796a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stderr] | [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stderr] 28 | #[singleton_fn] [INFO] [stdout] 11: 0x556f13637657 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stderr] | ^^^^^^^^^^^^^^^ implementation of `SingletonFnWithArg` is not general enough [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stderr] | [INFO] [stdout] 12: 0x556f13635414 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stderr] ::: $WORKSPACE/src/singleton.rs [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stderr] | [INFO] [stdout] 13: 0x556f13637369 - rust_begin_unwind [INFO] [stderr] | / pub trait SingletonFnWithArg<'i, I, A, R> [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stderr] 159 | | where [INFO] [stdout] 14: 0x556f133c82c3 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stderr] 160 | | A: Send, [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stderr] 161 | | R: Send, [INFO] [stdout] 15: 0x556f13438dbd - trybuild::run::::run::h7d406fef334ffd84 [INFO] [stderr] ... | [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.56/src/run.rs:74:13 [INFO] [stderr] 166 | | fn call_once(self, inner: &'i I, arg: A) -> Self::SingletonResult; [INFO] [stdout] 16: 0x556f1343d444 - ::drop::h4f5a90afc070ab13 [INFO] [stderr] 167 | | } [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.56/src/lib.rs:308:13 [INFO] [stderr] | |_- trait `SingletonFnWithArg` defined here [INFO] [stdout] 17: 0x556f133ca4e7 - core::ptr::drop_in_place::head780bd7b4413dd [INFO] [stderr] | [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ptr/mod.rs:188:1 [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] [stdout] 18: 0x556f133c9f53 - blockz::test::test_direct_configuration::ha2067b55f8c6cf12 [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] [stdout] at /opt/rustwide/workdir/src/lib.rs:69:5 [INFO] [stderr] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] 19: 0x556f133c99ba - blockz::test::test_direct_configuration::{{closure}}::h1d1d6e8859abd653 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:64:5 [INFO] [stderr] [INFO] [stdout] 20: 0x556f133ca47e - core::ops::function::FnOnce::call_once::hb50ec64cf9894806 [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] 21: 0x556f13608ec3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stderr] error: implementation of `SingletonFnMutWithArg` is not general enough [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stderr] --> tests/ui/singleton-f-8.rs:23:5 [INFO] [stdout] 22: 0x556f13608ec3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stderr] | [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stderr] 23 | #[singleton_fn] [INFO] [stdout] 23: 0x556f13607bf1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stderr] | ^^^^^^^^^^^^^^^ implementation of `SingletonFnMutWithArg` is not general enough [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stderr] | [INFO] [stdout] 24: 0x556f13607bf1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [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] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stderr] = note: ...but it actually implements `SingletonFnMutWithArg<'_, Dummy, (&usize, &i32), Option>` [INFO] [stdout] 25: 0x556f13607bf1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stderr] = note: this error originates in the attribute macro `singleton_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stderr] [INFO] [stdout] 26: 0x556f13607bf1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stderr] error: implementation of `SingletonFnWithArg` is not general enough [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stderr] --> tests/ui/singleton-f-8.rs:28:5 [INFO] [stdout] 27: 0x556f13607bf1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stderr] | [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stderr] 28 | #[singleton_fn] [INFO] [stdout] 28: 0x556f13607bf1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stderr] | ^^^^^^^^^^^^^^^ implementation of `SingletonFnWithArg` is not general enough [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stderr] | [INFO] [stdout] 29: 0x556f13607bf1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [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] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stderr] = note: ...but it actually implements `SingletonFnWithArg<'_, Dummy, &[i32], bool>` [INFO] [stdout] 30: 0x556f136114d1 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stderr] = note: this error originates in the attribute macro `singleton_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] 31: 0x556f136114d1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stdout] 32: 0x556f135ddc2f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stderr] [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stderr] [INFO] [stdout] 33: 0x556f135ddc2f - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stderr] [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x556f135ddc2f - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x556f135ddc2f - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x556f135ddc2f - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x556f135ddc2f - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x556f135ddc2f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x556f1363e443 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x556f1363e443 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 41: 0x556f1363e443 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f2d09eb3609 - start_thread [INFO] [stdout] 43: 0x7f2d09c85293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test::test_singleton stdout ---- [INFO] [stdout] thread 'test::test_singleton' panicked at '5 of 12 tests failed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.56/src/run.rs:74:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x556f13634f4c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x556f13634f4c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x556f13634f4c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x556f13634f4c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x556f1365c42c - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x556f1362f9d8 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x556f13637217 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x556f13637217 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x556f13637217 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x556f13636f4b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x556f1363796a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x556f13637657 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x556f13635414 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x556f13637369 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x556f133c82c3 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x556f13438dbd - trybuild::run::::run::h7d406fef334ffd84 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.56/src/run.rs:74:13 [INFO] [stdout] 16: 0x556f1343d444 - ::drop::h4f5a90afc070ab13 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.56/src/lib.rs:308:13 [INFO] [stdout] 17: 0x556f133ca4e7 - core::ptr::drop_in_place::head780bd7b4413dd [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ptr/mod.rs:188:1 [INFO] [stdout] 18: 0x556f133c998c - blockz::test::test_singleton::hd1adfb47717ee973 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:59:5 [INFO] [stdout] 19: 0x556f133c8c1a - blockz::test::test_singleton::{{closure}}::h65d168f575036913 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:54:5 [INFO] [stdout] 20: 0x556f133ca43e - core::ops::function::FnOnce::call_once::h8e2ab31c51789b6d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x556f13608ec3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x556f13608ec3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 23: 0x556f13607bf1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 24: 0x556f13607bf1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x556f13607bf1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x556f13607bf1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x556f13607bf1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x556f13607bf1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 29: 0x556f13607bf1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 30: 0x556f136114d1 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 31: 0x556f136114d1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x556f135ddc2f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x556f135ddc2f - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x556f135ddc2f - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x556f135ddc2f - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x556f135ddc2f - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x556f135ddc2f - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x556f135ddc2f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x556f1363e443 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x556f1363e443 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 41: 0x556f1363e443 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f2d09eb3609 - start_thread [INFO] [stdout] 43: 0x7f2d09c85293 - clone [INFO] [stdout] 44: 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 37.23s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "053bbf4aa3d738c2b74a5c23fa9b8dbbd87dc7129c570ecca4850b9ea3a9fede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "053bbf4aa3d738c2b74a5c23fa9b8dbbd87dc7129c570ecca4850b9ea3a9fede", kill_on_drop: false }` [INFO] [stdout] 053bbf4aa3d738c2b74a5c23fa9b8dbbd87dc7129c570ecca4850b9ea3a9fede