[INFO] fetching crate syrette 0.5.1... [INFO] testing syrette-0.5.1 against 1.90.0 for beta-1.91-3 [INFO] extracting crate syrette 0.5.1 into /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate syrette 0.5.1 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.32 [INFO] [stderr] Downloaded linkme-impl v0.3.14 [INFO] [stderr] Downloaded termtree v0.4.1 [INFO] [stderr] Downloaded thiserror-impl v1.0.44 [INFO] [stderr] Downloaded tokio-macros v2.1.0 [INFO] [stderr] Downloaded thiserror v1.0.44 [INFO] [stderr] Downloaded async-lock v2.7.0 [INFO] [stderr] Downloaded async-trait v0.1.72 [INFO] [stderr] Downloaded syrette_macros v0.5.1 [INFO] [stderr] Downloaded anyhow v1.0.72 [INFO] [stderr] Downloaded tracing-core v0.1.31 [INFO] [stderr] Downloaded tracing v0.1.37 [INFO] [stderr] Downloaded syn v2.0.28 [INFO] [stderr] Downloaded cc v1.0.81 [INFO] [stderr] Downloaded predicates-core v1.0.5 [INFO] [stderr] Downloaded aho-corasick v1.0.2 [INFO] [stderr] Downloaded predicates-tree v1.0.7 [INFO] [stderr] Downloaded tracing-log v0.1.3 [INFO] [stderr] Downloaded tracing-subscriber v0.3.17 [INFO] [stderr] Downloaded proc-macro2 v1.0.66 [INFO] [stderr] Downloaded regex v1.9.1 [INFO] [stderr] Downloaded linkme v0.3.14 [INFO] [stderr] Downloaded fragile v2.0.0 [INFO] [stderr] Downloaded paste v1.0.14 [INFO] [stderr] Downloaded tracing-attributes v0.1.26 [INFO] [stderr] Downloaded regex-syntax v0.7.4 [INFO] [stderr] Downloaded log v0.4.19 [INFO] [stderr] Downloaded pin-project-lite v0.2.10 [INFO] [stderr] Downloaded tokio v1.29.1 [INFO] [stderr] Downloaded regex-automata v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3a09f4273cd6856653712f3d7532d53f7a5319d87754c520525cf06a0636783 [INFO] running `Command { std: "docker" "start" "-a" "d3a09f4273cd6856653712f3d7532d53f7a5319d87754c520525cf06a0636783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3a09f4273cd6856653712f3d7532d53f7a5319d87754c520525cf06a0636783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3a09f4273cd6856653712f3d7532d53f7a5319d87754c520525cf06a0636783", kill_on_drop: false }` [INFO] [stdout] d3a09f4273cd6856653712f3d7532d53f7a5319d87754c520525cf06a0636783 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6921d0b2d161e8ba8870f672eeeda81f2512415fc195af57a27b337d69e0792 [INFO] running `Command { std: "docker" "start" "-a" "e6921d0b2d161e8ba8870f672eeeda81f2512415fc195af57a27b337d69e0792", 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 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 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 quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling uuid v0.8.2 [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.86s [INFO] running `Command { std: "docker" "inspect" "e6921d0b2d161e8ba8870f672eeeda81f2512415fc195af57a27b337d69e0792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6921d0b2d161e8ba8870f672eeeda81f2512415fc195af57a27b337d69e0792", kill_on_drop: false }` [INFO] [stdout] e6921d0b2d161e8ba8870f672eeeda81f2512415fc195af57a27b337d69e0792 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ed6c98cb46a4a742f69d9c4393d58c1174760cee03affd5484a7370ee133575 [INFO] running `Command { std: "docker" "start" "-a" "6ed6c98cb46a4a742f69d9c4393d58c1174760cee03affd5484a7370ee133575", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling predicates-core v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stderr] Compiling predicates-tree v1.0.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling float-cmp v0.9.0 [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 regex v1.9.1 [INFO] [stderr] Compiling predicates v2.1.5 [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 mockall v0.11.4 [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] 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] [stderr] error: could not compile `syrette` (example "async-factory") due to 2 previous errors [INFO] [stdout] error[E0432]: unresolved import `syrette::future` [INFO] [stdout] --> examples/async-factory/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use syrette::future::BoxFuture; [INFO] [stdout] | ^^^^^^ could not find `future` in `syrette` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 97 | #[cfg(feature = "async")] [INFO] [stdout] | ----------------- the item is gated behind the `r#async` feature [INFO] [stdout] 98 | #[cfg_attr(doc_cfg, doc(cfg(feature = "async")))] [INFO] [stdout] 99 | pub mod future; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[E0432]: unresolved imports `syrette::declare_default_factory`, `syrette::factory`, `syrette::AsyncDIContainer` [INFO] [stdout] --> examples/async-factory/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use syrette::{declare_default_factory, 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 `factory` in the root [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: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] 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/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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [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] [stderr] error: could not compile `syrette` (example "with-3rd-party") due to 3 previous errors [INFO] [stdout] error[E0599]: no method named `to_factory` found for struct `BindingBuilder` 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] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `syrette` (example "async") due to 5 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] 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] [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] [stderr] error: could not compile `syrette` (example "factory") due to 4 previous errors [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)]` 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" "6ed6c98cb46a4a742f69d9c4393d58c1174760cee03affd5484a7370ee133575", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ed6c98cb46a4a742f69d9c4393d58c1174760cee03affd5484a7370ee133575", kill_on_drop: false }` [INFO] [stdout] 6ed6c98cb46a4a742f69d9c4393d58c1174760cee03affd5484a7370ee133575