[INFO] fetching crate syrette 0.5.1... [INFO] testing syrette-0.5.1 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate syrette 0.5.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate syrette 0.5.1 [INFO] removed 4 missing examples [INFO] finished tweaking crates.io crate syrette 0.5.1 [INFO] tweaked toml for crates.io crate syrette 0.5.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate syrette 0.5.1 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate syrette 0.5.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a69b60a67c85d1d47a713a96f9d97fd2d99210976e2f2afb6087f998acb8aba8 [INFO] running `Command { std: "docker" "start" "-a" "a69b60a67c85d1d47a713a96f9d97fd2d99210976e2f2afb6087f998acb8aba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a69b60a67c85d1d47a713a96f9d97fd2d99210976e2f2afb6087f998acb8aba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a69b60a67c85d1d47a713a96f9d97fd2d99210976e2f2afb6087f998acb8aba8", kill_on_drop: false }` [INFO] [stdout] a69b60a67c85d1d47a713a96f9d97fd2d99210976e2f2afb6087f998acb8aba8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36e12f877686038699c002039a3f16d6d6f17b5f8bf5dee2f2fcd24a07a72a34 [INFO] running `Command { std: "docker" "start" "-a" "36e12f877686038699c002039a3f16d6d6f17b5f8bf5dee2f2fcd24a07a72a34", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling linkme-impl v0.3.14 [INFO] [stderr] Compiling linkme v0.3.14 [INFO] [stderr] Compiling syrette_macros v0.5.1 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling syrette v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/lib.rs:153:11 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/ptr.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg_attr(doc_cfg, doc(cfg(feature = "factory")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/ptr.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg_attr(doc_cfg, doc(cfg(feature = "factory")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reason` is never read [INFO] [stdout] --> src/errors/di_container.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | reason: InjectableError, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reason` is never read [INFO] [stdout] --> src/errors/injectable.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | reason: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reason` is never read [INFO] [stdout] --> src/errors/injectable.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | reason: SomePtrError, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/private/cast/error.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | source: CasterError, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.52s [INFO] running `Command { std: "docker" "inspect" "36e12f877686038699c002039a3f16d6d6f17b5f8bf5dee2f2fcd24a07a72a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36e12f877686038699c002039a3f16d6d6f17b5f8bf5dee2f2fcd24a07a72a34", kill_on_drop: false }` [INFO] [stdout] 36e12f877686038699c002039a3f16d6d6f17b5f8bf5dee2f2fcd24a07a72a34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bd85559942bd4cb6f6ba27d6a681377d735eae61ecde5f24e1a0e000633c245 [INFO] running `Command { std: "docker" "start" "-a" "9bd85559942bd4cb6f6ba27d6a681377d735eae61ecde5f24e1a0e000633c245", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling predicates-core v1.0.5 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling predicates-tree v1.0.7 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling regex-automata v0.3.4 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling linkme-impl v0.3.14 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling linkme v0.3.14 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling syrette_macros v0.5.1 [INFO] [stderr] Compiling syrette v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/lib.rs:153:11 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/ptr.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg_attr(doc_cfg, doc(cfg(feature = "factory")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/ptr.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg_attr(doc_cfg, doc(cfg(feature = "factory")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reason` is never read [INFO] [stdout] --> src/errors/di_container.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | reason: InjectableError, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reason` is never read [INFO] [stdout] --> src/errors/injectable.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | reason: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reason` is never read [INFO] [stdout] --> src/errors/injectable.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | reason: SomePtrError, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/private/cast/error.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | source: CasterError, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling mockall v0.11.4 [INFO] [stdout] error: The 'async' crate feature must be enabled to use this flag [INFO] [stdout] [INFO] [stdout] = note: In your Cargo.toml: syrette = { version = "0.5.1", features = ["async"] } [INFO] [stdout] [INFO] [stdout] --> examples/async/animals/cat.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | #[injectable(ICat, async = true)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: The 'async' crate feature must be enabled to use this flag [INFO] [stdout] [INFO] [stdout] = note: In your Cargo.toml: syrette = { version = "0.5.1", features = ["async"] } [INFO] [stdout] [INFO] [stdout] --> examples/async/animals/dog.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | #[injectable(IDog, async = true)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: The 'async' crate feature must be enabled to use this flag [INFO] [stdout] [INFO] [stdout] = note: In your Cargo.toml: syrette = { version = "0.5.1", features = ["async"] } [INFO] [stdout] [INFO] [stdout] --> examples/async/animals/human.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | #[injectable(IHuman, async = true)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syrette::factory` [INFO] [stdout] --> examples/factory/interfaces/user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syrette::factory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `factory` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:107:51 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(feature = "factory")] [INFO] [stdout] | ------------------- the item is gated behind the `factory` feature [INFO] [stdout] 106 | #[cfg_attr(doc_cfg, doc(cfg(feature = "factory")))] [INFO] [stdout] 107 | pub use syrette_macros::{declare_default_factory, factory}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syrette::ptr::FactoryPtr` [INFO] [stdout] --> examples/factory/user_manager.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use syrette::ptr::{FactoryPtr, TransientPtr}; [INFO] [stdout] | ^^^^^^^^^^ no `FactoryPtr` in `ptr` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/ptr.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(feature = "factory")] [INFO] [stdout] | ------------------- the item is gated behind the `factory` feature [INFO] [stdout] 20 | #[cfg_attr(doc_cfg, doc(cfg(feature = "factory")))] [INFO] [stdout] 21 | pub type FactoryPtr = Rc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syrette::declare_default_factory` [INFO] [stdout] --> examples/with-3rd-party/bootstrap.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use syrette::{declare_default_factory, DIContainer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `declare_default_factory` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(feature = "factory")] [INFO] [stdout] | ------------------- the item is gated behind the `factory` feature [INFO] [stdout] 106 | #[cfg_attr(doc_cfg, doc(cfg(feature = "factory")))] [INFO] [stdout] 107 | pub use syrette_macros::{declare_default_factory, factory}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `third_party_lib` [INFO] [stdout] --> examples/with-3rd-party/ninja.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use third_party_lib::Shuriken; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `third_party_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `third_party_lib`, use `cargo add third_party_lib` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `third_party_lib` [INFO] [stdout] --> examples/with-3rd-party/bootstrap.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use third_party_lib::Shuriken; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `third_party_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `third_party_lib`, use `cargo add third_party_lib` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_factory` found for struct `BindingBuilder<'di_container, Interface>` in the current scope [INFO] [stdout] --> examples/factory/bootstrap.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | di_container.bind::().to_factory(&|_| { [INFO] [stdout] | ------------------------------------^^^^^^^^^^ method not found in `BindingBuilder<'_, dyn Fn(&str, &str, &str) -> Box>` [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/factory-f45965b30e931504.long-type-12787373931820225560.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `syrette::declare_default_factory`, `syrette::AsyncDIContainer` [INFO] [stdout] --> examples/async/bootstrap.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use syrette::{declare_default_factory, AsyncDIContainer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | no `AsyncDIContainer` in the root [INFO] [stdout] | | help: a similar name exists in the module: `DIContainer` [INFO] [stdout] | no `declare_default_factory` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(feature = "factory")] [INFO] [stdout] | ------------------- the item is gated behind the `factory` feature [INFO] [stdout] 106 | #[cfg_attr(doc_cfg, doc(cfg(feature = "factory")))] [INFO] [stdout] 107 | pub use syrette_macros::{declare_default_factory, factory}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:103:37 [INFO] [stdout] | [INFO] [stdout] 101 | #[cfg(feature = "async")] [INFO] [stdout] | ----------------- the item is gated behind the `r#async` feature [INFO] [stdout] 102 | #[cfg_attr(doc_cfg, doc(cfg(feature = "async")))] [INFO] [stdout] 103 | pub use di_container::asynchronous::AsyncDIContainer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syrette::factory` [INFO] [stdout] --> examples/async/interfaces/food.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use syrette::factory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `factory` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:107:51 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg(feature = "factory")] [INFO] [stdout] | ------------------- the item is gated behind the `factory` feature [INFO] [stdout] 106 | #[cfg_attr(doc_cfg, doc(cfg(feature = "factory")))] [INFO] [stdout] 107 | pub use syrette_macros::{declare_default_factory, factory}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/async/bootstrap.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / di_container [INFO] [stdout] 20 | | .bind::() [INFO] [stdout] 21 | | .to::() [INFO] [stdout] 22 | | .await? [INFO] [stdout] | |_______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `factory` found for enum `SomePtr` in the current scope [INFO] [stdout] --> examples/factory/user_manager.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[injectable(IUserManager)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `SomePtr Box<(dyn IUser + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `injectable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `syrette` (example "with-3rd-party") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/async/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let di_container = bootstrap().await?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | let dog = di_container [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `di_container` an explicit type [INFO] [stdout] | [INFO] [stdout] 23 | let di_container: /* Type */ = bootstrap().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/async/main.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | let dog = di_container [INFO] [stdout] | ___________________^ [INFO] [stdout] 27 | | .get::() [INFO] [stdout] 28 | | .await? [INFO] [stdout] | |___________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/async/main.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | let food_factory = di_container [INFO] [stdout] | ________________________^ [INFO] [stdout] 35 | | .get::() [INFO] [stdout] 36 | | .await? [INFO] [stdout] | |_______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/async/main.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let human = di_container.get::().await?.transient()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `syrette` (example "factory") due to 4 previous errors [INFO] [stderr] error: could not compile `syrette` (example "async") due to 10 previous errors [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/lib.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 117 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/lib.rs:153:11 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/ptr.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg_attr(doc_cfg, doc(cfg(feature = "factory")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/ptr.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg_attr(doc_cfg, doc(cfg(feature = "factory")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reason` is never read [INFO] [stdout] --> src/errors/di_container.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | reason: InjectableError, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reason` is never read [INFO] [stdout] --> src/errors/injectable.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | reason: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reason` is never read [INFO] [stdout] --> src/errors/injectable.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | reason: SomePtrError, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/private/cast/error.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | source: CasterError, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_user` and `remove_user` are never used [INFO] [stdout] --> src/test_utils.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait IUserManager [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] 16 | { [INFO] [stdout] 17 | fn add_user(&self, user_id: i128); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | [INFO] [stdout] 19 | fn remove_user(&self, user_id: i128); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/test_utils.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub trait INumber [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 67 | fn set(&mut self, number: i32); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9bd85559942bd4cb6f6ba27d6a681377d735eae61ecde5f24e1a0e000633c245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bd85559942bd4cb6f6ba27d6a681377d735eae61ecde5f24e1a0e000633c245", kill_on_drop: false }` [INFO] [stdout] 9bd85559942bd4cb6f6ba27d6a681377d735eae61ecde5f24e1a0e000633c245