[INFO] fetching crate rudi-macro-dev 0.1.3... [INFO] testing rudi-macro-dev-0.1.3 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate rudi-macro-dev 0.1.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rudi-macro-dev 0.1.3 [INFO] finished tweaking crates.io crate rudi-macro-dev 0.1.3 [INFO] tweaked toml for crates.io crate rudi-macro-dev 0.1.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rudi-macro-dev 0.1.3 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rudi-macro-dev 0.1.3 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e88888d9a874174385bbf573dad84f6d33777c579f06bd69720641cb8b041894 [INFO] running `Command { std: "docker" "start" "-a" "e88888d9a874174385bbf573dad84f6d33777c579f06bd69720641cb8b041894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e88888d9a874174385bbf573dad84f6d33777c579f06bd69720641cb8b041894", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e88888d9a874174385bbf573dad84f6d33777c579f06bd69720641cb8b041894", kill_on_drop: false }` [INFO] [stdout] e88888d9a874174385bbf573dad84f6d33777c579f06bd69720641cb8b041894 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b19ba84ccaa4b01214e2d578bc6eca4eef3761afd715c056bb6dd16a9845973 [INFO] running `Command { std: "docker" "start" "-a" "9b19ba84ccaa4b01214e2d578bc6eca4eef3761afd715c056bb6dd16a9845973", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling zmij v1.0.19 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling flate2 v1.1.8 [INFO] [stderr] Compiling compression-core v0.4.31 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling compression-codecs v0.4.36 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling clap_lex v0.7.7 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling clap_builder v4.5.56 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling inventory v0.3.21 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling headers v0.4.1 [INFO] [stderr] Compiling sys-locale v0.3.2 [INFO] [stderr] Compiling rudi-core v0.1.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling from-attr-core v0.1.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling quote-use-macros v0.8.4 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling quote-use v0.8.4 [INFO] [stderr] Compiling from-attr-macro v0.1.3 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling from-attr v0.1.3 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling clap v4.5.56 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling async-compression v0.4.37 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling validator v0.20.0 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling next-web-core v0.1.5 [INFO] [stderr] Compiling rudi-macro-dev v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/item_enum_gen.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | default [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `default: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/item_fn_gen.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | default [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `default: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/item_impl_gen.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | default, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `default: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_option` is never used [INFO] [stdout] --> src/util.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn is_option(ty: &syn::Type) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_option_inner_type` is never used [INFO] [stdout] --> src/util.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) fn extract_option_inner_type(ty: &syn::Type) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_string` is never used [INFO] [stdout] --> src/util.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | pub(crate) fn is_string(ty: &syn::Type) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.71s [INFO] running `Command { std: "docker" "inspect" "9b19ba84ccaa4b01214e2d578bc6eca4eef3761afd715c056bb6dd16a9845973", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b19ba84ccaa4b01214e2d578bc6eca4eef3761afd715c056bb6dd16a9845973", kill_on_drop: false }` [INFO] [stdout] 9b19ba84ccaa4b01214e2d578bc6eca4eef3761afd715c056bb6dd16a9845973 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b97b28221f020c3e635a9c225702d67d96a77ca6f33509d1adf04469db025bdd [INFO] running `Command { std: "docker" "start" "-a" "b97b28221f020c3e635a9c225702d67d96a77ca6f33509d1adf04469db025bdd", kill_on_drop: false }` [INFO] [stderr] Compiling rudi-macro-dev v0.1.2 [INFO] [stderr] Compiling rudi-macro-dev v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/item_enum_gen.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | default [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `default: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/item_fn_gen.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | default [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `default: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/item_impl_gen.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | default, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `default: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_option` is never used [INFO] [stdout] --> src/util.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn is_option(ty: &syn::Type) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_option_inner_type` is never used [INFO] [stdout] --> src/util.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) fn extract_option_inner_type(ty: &syn::Type) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_string` is never used [INFO] [stdout] --> src/util.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | pub(crate) fn is_string(ty: &syn::Type) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rudi-dev v0.8.7 [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/item_enum_gen.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | default [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `default: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/item_fn_gen.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | default [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `default: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/item_impl_gen.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | default, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `default: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_option` is never used [INFO] [stdout] --> src/util.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn is_option(ty: &syn::Type) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_option_inner_type` is never used [INFO] [stdout] --> src/util.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) fn extract_option_inner_type(ty: &syn::Type) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_string` is never used [INFO] [stdout] --> src/util.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | pub(crate) fn is_string(ty: &syn::Type) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.88s [INFO] running `Command { std: "docker" "inspect" "b97b28221f020c3e635a9c225702d67d96a77ca6f33509d1adf04469db025bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b97b28221f020c3e635a9c225702d67d96a77ca6f33509d1adf04469db025bdd", kill_on_drop: false }` [INFO] [stdout] b97b28221f020c3e635a9c225702d67d96a77ca6f33509d1adf04469db025bdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f5f1280d1b50904f8f9c333ddaacad80fabe321eff2345466ea1fecaeec4d611 [INFO] running `Command { std: "docker" "start" "-a" "f5f1280d1b50904f8f9c333ddaacad80fabe321eff2345466ea1fecaeec4d611", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `default` [INFO] [stderr] --> src/item_enum_gen.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | default [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `default: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `default` [INFO] [stderr] --> src/item_fn_gen.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | default [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `default: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `default` [INFO] [stderr] --> src/item_impl_gen.rs:127:9 [INFO] [stderr] | [INFO] [stderr] 127 | default, [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `default: _` [INFO] [stderr] [INFO] [stderr] warning: function `is_option` is never used [INFO] [stderr] --> src/util.rs:43:15 [INFO] [stderr] | [INFO] [stderr] 43 | pub(crate) fn is_option(ty: &syn::Type) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `extract_option_inner_type` is never used [INFO] [stderr] --> src/util.rs:52:15 [INFO] [stderr] | [INFO] [stderr] 52 | pub(crate) fn extract_option_inner_type(ty: &syn::Type) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_string` is never used [INFO] [stderr] --> src/util.rs:72:15 [INFO] [stderr] | [INFO] [stderr] 72 | pub(crate) fn is_string(ty: &syn::Type) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rudi-macro-dev` (lib) generated 6 warnings (run `cargo fix --lib -p rudi-macro-dev` to apply 3 suggestions) [INFO] [stderr] warning: `rudi-macro-dev` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rudi_macro_dev-85f23dbca0e4045f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rudi_macro_dev [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test src/lib.rs - singleowner (line 433) ... ignored [INFO] [stdout] test src/lib.rs - singleowner (line 445) ... ignored [INFO] [stdout] test src/lib.rs - singleowner (line 457) ... ignored [INFO] [stdout] test src/lib.rs - singleowner (line 469) ... ignored [INFO] [stdout] test src/lib.rs - singleton (line 417) ... ignored [INFO] [stdout] test src/lib.rs - singleton (line 429) ... ignored [INFO] [stdout] test src/lib.rs - singleton (line 441) ... ignored [INFO] [stdout] test src/lib.rs - singleton (line 453) ... ignored [INFO] [stdout] test src/lib.rs - transient (line 425) ... ignored [INFO] [stdout] test src/lib.rs - transient (line 437) ... ignored [INFO] [stdout] test src/lib.rs - transient (line 449) ... ignored [INFO] [stdout] test src/lib.rs - transient (line 461) ... ignored [INFO] [stdout] test src/lib.rs - singleton (line 484) ... FAILED [INFO] [stdout] test src/lib.rs - singleton (line 121) ... FAILED [INFO] [stdout] test src/lib.rs - transient (line 492) ... FAILED [INFO] [stdout] test src/lib.rs - singleton (line 63) ... FAILED [INFO] [stdout] test src/lib.rs - transient (line 175) ... FAILED [INFO] [stdout] test src/lib.rs - singleton (line 167) ... FAILED [INFO] [stdout] test src/lib.rs - singleowner (line 500) ... FAILED [INFO] [stdout] test src/lib.rs - singleowner (line 639) ... FAILED [INFO] [stdout] test src/lib.rs - transient (line 631) ... FAILED [INFO] [stdout] test src/lib.rs - singleton (line 623) ... FAILED [INFO] [stdout] test src/lib.rs - singleowner (line 183) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - singleton (line 484) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rudi` [INFO] [stdout] --> src/lib.rs:487:5 [INFO] [stdout] | [INFO] [stdout] 487 | use rudi::{Context, Singleton, Transient}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rudi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rudi`, use `cargo add rudi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rudi` [INFO] [stdout] --> src/lib.rs:568:13 [INFO] [stdout] | [INFO] [stdout] 568 | pub use rudi::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rudi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rudi`, use `cargo add rudi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:503:3 [INFO] [stdout] | [INFO] [stdout] 503 | #[singleton(name = "3")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 485 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:508:3 [INFO] [stdout] | [INFO] [stdout] 508 | #[singleton(name = "4", eager_create)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 485 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:519:3 [INFO] [stdout] | [INFO] [stdout] 519 | #[singleton(name = "5", condition = _5_condition)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 485 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:524:3 [INFO] [stdout] | [INFO] [stdout] 524 | #[singleton(name = "6", condition = |_cx| false)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 485 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:535:3 [INFO] [stdout] | [INFO] [stdout] 535 | #[singleton(name = "7")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 485 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:540:3 [INFO] [stdout] | [INFO] [stdout] 540 | #[singleton(name = "8", binds = [transform])] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 485 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:547:3 [INFO] [stdout] | [INFO] [stdout] 547 | #[singleton(name = "9")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 485 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:552:3 [INFO] [stdout] | [INFO] [stdout] 552 | #[singleton(name = "10", auto_register = false)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 485 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:572:3 [INFO] [stdout] | [INFO] [stdout] 572 | #[di(rudi_path = rudi)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:576:3 [INFO] [stdout] | [INFO] [stdout] 576 | #[di(rudi_path = a)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:585:7 [INFO] [stdout] | [INFO] [stdout] 585 | #[di] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - singleton (line 121) stdout ---- [INFO] [stdout] error: character literal may only contain one codepoint [INFO] [stdout] --> src/lib.rs:132:90 [INFO] [stdout] | [INFO] [stdout] 132 | Here, the field name is used to search for a single instance in the warehouse and inject 'more_data' ->'moreData'. If a name is spe... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 132 - Here, the field name is used to search for a single instance in the warehouse and inject 'more_data' ->'moreData'. If a name is specified, it will not be processed in this way [INFO] [stdout] 132 + Here, the field name is used to search for a single instance in the warehouse and inject "more_data" ->'moreData'. If a name is specified, it will not be processed in this way [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: character literal may only contain one codepoint [INFO] [stdout] --> src/lib.rs:132:104 [INFO] [stdout] | [INFO] [stdout] 132 | Here, the field name is used to search for a single instance in the warehouse and inject 'more_data' ->'moreData'. If a name is spe... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 132 - Here, the field name is used to search for a single instance in the warehouse and inject 'more_data' ->'moreData'. If a name is specified, it will not be processed in this way [INFO] [stdout] 132 + Here, the field name is used to search for a single instance in the warehouse and inject 'more_data' ->"moreData". If a name is specified, it will not be processed in this way [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected `:`, found `,` [INFO] [stdout] --> src/lib.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 129 | struct DataImpl { [INFO] [stdout] | -------- while parsing this struct [INFO] [stdout] ... [INFO] [stdout] 132 | Here, the field name is used to search for a single instance in the warehouse and inject 'more_data' ->'moreData'. If a name is spe... [INFO] [stdout] | ^ expected `:` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:124:3 [INFO] [stdout] | [INFO] [stdout] 124 | #[singleton( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 121 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `resource` in this scope [INFO] [stdout] --> src/lib.rs:130:7 [INFO] [stdout] | [INFO] [stdout] 130 | #[resource(name = "testData")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ApplicationContext` in this scope [INFO] [stdout] --> src/lib.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | fn test_condition(cx: &ApplicationContext) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 121 + use next_web_core::ApplicationContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Data` is not dyn compatible [INFO] [stdout] --> src/lib.rs:148:31 [INFO] [stdout] | [INFO] [stdout] 148 | fn into_data(self) -> Arc { [INFO] [stdout] | ^^^^^^^^ `Data` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/lib.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 136 | trait Data { [INFO] [stdout] | ---- this trait is not dyn compatible... [INFO] [stdout] 137 | fn call() -> &'static str; [INFO] [stdout] | ^^^^ ...because associated function `call` has no `self` parameter [INFO] [stdout] = help: only type `main::_doctest_main_src_lib_rs_121_0::DataImpl` implements `Data`; consider using it directly instead. [INFO] [stdout] help: consider turning `call` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 137 | fn call(&self) -> &'static str; [INFO] [stdout] | +++++ [INFO] [stdout] help: alternatively, consider constraining `call` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 137 | fn call() -> &'static str where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] help: you might have meant to use `Self` to refer to the implementing type [INFO] [stdout] | [INFO] [stdout] 148 - fn into_data(self) -> Arc { [INFO] [stdout] 148 + fn into_data(self) -> Arc { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - transient (line 492) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rudi` [INFO] [stdout] --> src/lib.rs:495:5 [INFO] [stdout] | [INFO] [stdout] 495 | use rudi::{Context, Singleton, Transient}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rudi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rudi`, use `cargo add rudi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rudi` [INFO] [stdout] --> src/lib.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | pub use rudi::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rudi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rudi`, use `cargo add rudi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:511:3 [INFO] [stdout] | [INFO] [stdout] 511 | #[singleton(name = "3")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 493 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:516:3 [INFO] [stdout] | [INFO] [stdout] 516 | #[singleton(name = "4", eager_create)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 493 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:527:3 [INFO] [stdout] | [INFO] [stdout] 527 | #[singleton(name = "5", condition = _5_condition)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 493 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:532:3 [INFO] [stdout] | [INFO] [stdout] 532 | #[singleton(name = "6", condition = |_cx| false)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 493 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:543:3 [INFO] [stdout] | [INFO] [stdout] 543 | #[singleton(name = "7")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 493 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:548:3 [INFO] [stdout] | [INFO] [stdout] 548 | #[singleton(name = "8", binds = [transform])] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 493 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:555:3 [INFO] [stdout] | [INFO] [stdout] 555 | #[singleton(name = "9")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 493 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:560:3 [INFO] [stdout] | [INFO] [stdout] 560 | #[singleton(name = "10", auto_register = false)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 493 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:580:3 [INFO] [stdout] | [INFO] [stdout] 580 | #[di(rudi_path = rudi)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:584:3 [INFO] [stdout] | [INFO] [stdout] 584 | #[di(rudi_path = a)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:593:7 [INFO] [stdout] | [INFO] [stdout] 593 | #[di] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - singleton (line 63) stdout ---- [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:66:3 [INFO] [stdout] | [INFO] [stdout] 66 | #[singleton( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 63 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `resource` in this scope [INFO] [stdout] --> src/lib.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | #[resource(name = "testData")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ApplicationContext` in this scope [INFO] [stdout] --> src/lib.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | fn test_condition(cx: &ApplicationContext) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 63 + use next_web_core::ApplicationContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Data` is not dyn compatible [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] --> src/lib.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | fn into_data(self) -> Arc { [INFO] [stdout] | ^^^^^^^^ `Data` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/lib.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 78 | trait Data { [INFO] [stdout] | ---- this trait is not dyn compatible... [INFO] [stdout] 79 | fn call() -> &'static str; [INFO] [stdout] | ^^^^ ...because associated function `call` has no `self` parameter [INFO] [stdout] = help: only type `main::_doctest_main_src_lib_rs_63_0::DataImpl` implements `Data`; consider using it directly instead. [INFO] [stdout] help: consider turning `call` into a method by giving it a `&self` argument [INFO] [stdout] | [INFO] [stdout] 79 | fn call(&self) -> &'static str; [INFO] [stdout] | +++++ [INFO] [stdout] help: alternatively, consider constraining `call` so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 79 | fn call() -> &'static str where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] help: you might have meant to use `Self` to refer to the implementing type [INFO] [stdout] | [INFO] [stdout] 90 - fn into_data(self) -> Arc { [INFO] [stdout] 90 + fn into_data(self) -> Arc { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - transient (line 175) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rudi` [INFO] [stdout] --> src/lib.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | use rudi::{Context, Singleton, Transient}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rudi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rudi`, use `cargo add rudi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:185:7 [INFO] [stdout] | [INFO] [stdout] 185 | #[di] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:207:7 [INFO] [stdout] | [INFO] [stdout] 207 | #[di] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - singleton (line 167) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rudi` [INFO] [stdout] --> src/lib.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | use rudi::{Context, Singleton, Transient}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rudi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rudi`, use `cargo add rudi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:177:7 [INFO] [stdout] | [INFO] [stdout] 177 | #[di] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:199:7 [INFO] [stdout] | [INFO] [stdout] 199 | #[di] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - singleowner (line 500) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rudi` [INFO] [stdout] --> src/lib.rs:503:5 [INFO] [stdout] | [INFO] [stdout] 503 | use rudi::{Context, Singleton, Transient}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rudi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rudi`, use `cargo add rudi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rudi` [INFO] [stdout] --> src/lib.rs:584:13 [INFO] [stdout] | [INFO] [stdout] 584 | pub use rudi::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rudi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rudi`, use `cargo add rudi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:519:3 [INFO] [stdout] | [INFO] [stdout] 519 | #[singleton(name = "3")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 501 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:524:3 [INFO] [stdout] | [INFO] [stdout] 524 | #[singleton(name = "4", eager_create)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 501 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:535:3 [INFO] [stdout] | [INFO] [stdout] 535 | #[singleton(name = "5", condition = _5_condition)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 501 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:540:3 [INFO] [stdout] | [INFO] [stdout] 540 | #[singleton(name = "6", condition = |_cx| false)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 501 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:551:3 [INFO] [stdout] | [INFO] [stdout] 551 | #[singleton(name = "7")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 501 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:556:3 [INFO] [stdout] | [INFO] [stdout] 556 | #[singleton(name = "8", binds = [transform])] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 501 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:563:3 [INFO] [stdout] | [INFO] [stdout] 563 | #[singleton(name = "9")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 501 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:568:3 [INFO] [stdout] | [INFO] [stdout] 568 | #[singleton(name = "10", auto_register = false)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 501 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:588:3 [INFO] [stdout] | [INFO] [stdout] 588 | #[di(rudi_path = rudi)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:592:3 [INFO] [stdout] | [INFO] [stdout] 592 | #[di(rudi_path = a)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:601:7 [INFO] [stdout] | [INFO] [stdout] 601 | #[di] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - singleowner (line 639) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rudi` [INFO] [stdout] --> src/lib.rs:640:5 [INFO] [stdout] | [INFO] [stdout] 640 | use rudi::{Context, Singleton, Transient}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rudi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rudi`, use `cargo add rudi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rudi` [INFO] [stdout] --> src/lib.rs:747:9 [INFO] [stdout] | [INFO] [stdout] 747 | use rudi::Singleton; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rudi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rudi`, use `cargo add rudi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:759:7 [INFO] [stdout] | [INFO] [stdout] 759 | #[singleton(name = "ref alias")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 747 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:761:11 [INFO] [stdout] | [INFO] [stdout] 761 | #[di(ref = i8)] one: OneAndTwo<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:762:11 [INFO] [stdout] | [INFO] [stdout] 762 | #[di(ref = i8, name = "2")] two: OneAndTwo<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:764:11 [INFO] [stdout] | [INFO] [stdout] 764 | #[di(ref = Option)] three: Three<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:765:11 [INFO] [stdout] | [INFO] [stdout] 765 | #[di(ref = i16, option)] four: Four<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:767:11 [INFO] [stdout] | [INFO] [stdout] 767 | #[di(ref = i32, default = &0)] zero: ZeroAndFortyTwo<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:768:11 [INFO] [stdout] | [INFO] [stdout] 768 | #[di(ref = i32, default = &42)] forty_two: ZeroAndFortyTwo<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:770:11 [INFO] [stdout] | [INFO] [stdout] 770 | #[di(ref = Vec)] five: Five<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:771:11 [INFO] [stdout] | [INFO] [stdout] 771 | #[di(ref = i64, vec)] six: Six<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:719:3 [INFO] [stdout] | [INFO] [stdout] 719 | #[singleton(name = "ref")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 640 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:721:7 [INFO] [stdout] | [INFO] [stdout] 721 | #[di(ref)] one: &i8, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:722:7 [INFO] [stdout] | [INFO] [stdout] 722 | #[di(ref, name = "2")] two: &i8, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:724:7 [INFO] [stdout] | [INFO] [stdout] 724 | #[di(ref)] three: &Option, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:725:7 [INFO] [stdout] | [INFO] [stdout] 725 | #[di(ref, option)] four: Option<&i16>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:727:7 [INFO] [stdout] | [INFO] [stdout] 727 | #[di(ref, default = &0)] zero: &i32, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:728:7 [INFO] [stdout] | [INFO] [stdout] 728 | #[di(ref, default = &42)] forty_two: &i32, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:730:7 [INFO] [stdout] | [INFO] [stdout] 730 | #[di(ref)] five: &Vec, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:731:7 [INFO] [stdout] | [INFO] [stdout] 731 | #[di(ref, vec)] six: Vec<&i64>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:702:12 [INFO] [stdout] | [INFO] [stdout] 702 | struct H(#[di(vec)] Vec); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:693:3 [INFO] [stdout] | [INFO] [stdout] 693 | #[singleton(eager_create)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 640 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:684:12 [INFO] [stdout] | [INFO] [stdout] 684 | struct F(#[di(default = 42)] i32); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:681:12 [INFO] [stdout] | [INFO] [stdout] 681 | struct E(#[di(default)] i32); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:676:12 [INFO] [stdout] | [INFO] [stdout] 676 | struct D(#[di(option)] Option); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:658:12 [INFO] [stdout] | [INFO] [stdout] 658 | struct B(#[di(name = "2")] i8); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:649:3 [INFO] [stdout] | [INFO] [stdout] 649 | #[singleton(name = "2")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 640 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - transient (line 631) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rudi` [INFO] [stdout] --> src/lib.rs:632:5 [INFO] [stdout] | [INFO] [stdout] 632 | use rudi::{Context, Singleton, Transient}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rudi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rudi`, use `cargo add rudi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rudi` [INFO] [stdout] --> src/lib.rs:739:9 [INFO] [stdout] | [INFO] [stdout] 739 | use rudi::Singleton; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rudi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rudi`, use `cargo add rudi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:751:7 [INFO] [stdout] | [INFO] [stdout] 751 | #[singleton(name = "ref alias")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 739 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:753:11 [INFO] [stdout] | [INFO] [stdout] 753 | #[di(ref = i8)] one: OneAndTwo<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:754:11 [INFO] [stdout] | [INFO] [stdout] 754 | #[di(ref = i8, name = "2")] two: OneAndTwo<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:756:11 [INFO] [stdout] | [INFO] [stdout] 756 | #[di(ref = Option)] three: Three<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:757:11 [INFO] [stdout] | [INFO] [stdout] 757 | #[di(ref = i16, option)] four: Four<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:759:11 [INFO] [stdout] | [INFO] [stdout] 759 | #[di(ref = i32, default = &0)] zero: ZeroAndFortyTwo<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:760:11 [INFO] [stdout] | [INFO] [stdout] 760 | #[di(ref = i32, default = &42)] forty_two: ZeroAndFortyTwo<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:762:11 [INFO] [stdout] | [INFO] [stdout] 762 | #[di(ref = Vec)] five: Five<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:763:11 [INFO] [stdout] | [INFO] [stdout] 763 | #[di(ref = i64, vec)] six: Six<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:711:3 [INFO] [stdout] | [INFO] [stdout] 711 | #[singleton(name = "ref")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 632 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:713:7 [INFO] [stdout] | [INFO] [stdout] 713 | #[di(ref)] one: &i8, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:714:7 [INFO] [stdout] | [INFO] [stdout] 714 | #[di(ref, name = "2")] two: &i8, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:716:7 [INFO] [stdout] | [INFO] [stdout] 716 | #[di(ref)] three: &Option, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:717:7 [INFO] [stdout] | [INFO] [stdout] 717 | #[di(ref, option)] four: Option<&i16>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:719:7 [INFO] [stdout] | [INFO] [stdout] 719 | #[di(ref, default = &0)] zero: &i32, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:720:7 [INFO] [stdout] | [INFO] [stdout] 720 | #[di(ref, default = &42)] forty_two: &i32, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:722:7 [INFO] [stdout] | [INFO] [stdout] 722 | #[di(ref)] five: &Vec, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:723:7 [INFO] [stdout] | [INFO] [stdout] 723 | #[di(ref, vec)] six: Vec<&i64>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:694:12 [INFO] [stdout] | [INFO] [stdout] 694 | struct H(#[di(vec)] Vec); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:685:3 [INFO] [stdout] | [INFO] [stdout] 685 | #[singleton(eager_create)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 632 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:676:12 [INFO] [stdout] | [INFO] [stdout] 676 | struct F(#[di(default = 42)] i32); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:673:12 [INFO] [stdout] | [INFO] [stdout] 673 | struct E(#[di(default)] i32); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:668:12 [INFO] [stdout] | [INFO] [stdout] 668 | struct D(#[di(option)] Option); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:650:12 [INFO] [stdout] | [INFO] [stdout] 650 | struct B(#[di(name = "2")] i8); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:641:3 [INFO] [stdout] | [INFO] [stdout] 641 | #[singleton(name = "2")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 632 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - singleton (line 623) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rudi` [INFO] [stdout] --> src/lib.rs:624:5 [INFO] [stdout] | [INFO] [stdout] 624 | use rudi::{Context, Singleton, Transient}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rudi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rudi`, use `cargo add rudi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rudi` [INFO] [stdout] --> src/lib.rs:731:9 [INFO] [stdout] | [INFO] [stdout] 731 | use rudi::Singleton; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rudi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rudi`, use `cargo add rudi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:743:7 [INFO] [stdout] | [INFO] [stdout] 743 | #[singleton(name = "ref alias")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 731 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:745:11 [INFO] [stdout] | [INFO] [stdout] 745 | #[di(ref = i8)] one: OneAndTwo<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:746:11 [INFO] [stdout] | [INFO] [stdout] 746 | #[di(ref = i8, name = "2")] two: OneAndTwo<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:748:11 [INFO] [stdout] | [INFO] [stdout] 748 | #[di(ref = Option)] three: Three<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:749:11 [INFO] [stdout] | [INFO] [stdout] 749 | #[di(ref = i16, option)] four: Four<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:751:11 [INFO] [stdout] | [INFO] [stdout] 751 | #[di(ref = i32, default = &0)] zero: ZeroAndFortyTwo<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:752:11 [INFO] [stdout] | [INFO] [stdout] 752 | #[di(ref = i32, default = &42)] forty_two: ZeroAndFortyTwo<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:754:11 [INFO] [stdout] | [INFO] [stdout] 754 | #[di(ref = Vec)] five: Five<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:755:11 [INFO] [stdout] | [INFO] [stdout] 755 | #[di(ref = i64, vec)] six: Six<'_>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:703:3 [INFO] [stdout] | [INFO] [stdout] 703 | #[singleton(name = "ref")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 624 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:705:7 [INFO] [stdout] | [INFO] [stdout] 705 | #[di(ref)] one: &i8, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:706:7 [INFO] [stdout] | [INFO] [stdout] 706 | #[di(ref, name = "2")] two: &i8, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:708:7 [INFO] [stdout] | [INFO] [stdout] 708 | #[di(ref)] three: &Option, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:709:7 [INFO] [stdout] | [INFO] [stdout] 709 | #[di(ref, option)] four: Option<&i16>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:711:7 [INFO] [stdout] | [INFO] [stdout] 711 | #[di(ref, default = &0)] zero: &i32, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:712:7 [INFO] [stdout] | [INFO] [stdout] 712 | #[di(ref, default = &42)] forty_two: &i32, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:714:7 [INFO] [stdout] | [INFO] [stdout] 714 | #[di(ref)] five: &Vec, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:715:7 [INFO] [stdout] | [INFO] [stdout] 715 | #[di(ref, vec)] six: Vec<&i64>, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:686:12 [INFO] [stdout] | [INFO] [stdout] 686 | struct H(#[di(vec)] Vec); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:677:3 [INFO] [stdout] | [INFO] [stdout] 677 | #[singleton(eager_create)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 624 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:668:12 [INFO] [stdout] | [INFO] [stdout] 668 | struct F(#[di(default = 42)] i32); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:665:12 [INFO] [stdout] | [INFO] [stdout] 665 | struct E(#[di(default)] i32); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:660:12 [INFO] [stdout] | [INFO] [stdout] 660 | struct D(#[di(option)] Option); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:642:12 [INFO] [stdout] | [INFO] [stdout] 642 | struct B(#[di(name = "2")] i8); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `singleton` in this scope [INFO] [stdout] --> src/lib.rs:633:3 [INFO] [stdout] | [INFO] [stdout] 633 | #[singleton(name = "2")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 624 + use rudi_macro_dev::singleton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - singleowner (line 183) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rudi` [INFO] [stdout] --> src/lib.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | use rudi::{Context, Singleton, Transient}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rudi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rudi`, use `cargo add rudi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:193:7 [INFO] [stdout] | [INFO] [stdout] 193 | #[di] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `di` in this scope [INFO] [stdout] --> src/lib.rs:215:7 [INFO] [stdout] | [INFO] [stdout] 215 | #[di] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - singleowner (line 183) [INFO] [stdout] src/lib.rs - singleowner (line 500) [INFO] [stdout] src/lib.rs - singleowner (line 639) [INFO] [stdout] src/lib.rs - singleton (line 121) [INFO] [stdout] src/lib.rs - singleton (line 167) [INFO] [stdout] src/lib.rs - singleton (line 484) [INFO] [stdout] src/lib.rs - singleton (line 623) [INFO] [stdout] src/lib.rs - singleton (line 63) [INFO] [stdout] src/lib.rs - transient (line 175) [INFO] [stdout] src/lib.rs - transient (line 492) [INFO] [stdout] src/lib.rs - transient (line 631) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 11 failed; 12 ignored; 0 measured; 0 filtered out; finished in 1.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f5f1280d1b50904f8f9c333ddaacad80fabe321eff2345466ea1fecaeec4d611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5f1280d1b50904f8f9c333ddaacad80fabe321eff2345466ea1fecaeec4d611", kill_on_drop: false }` [INFO] [stdout] f5f1280d1b50904f8f9c333ddaacad80fabe321eff2345466ea1fecaeec4d611