[INFO] fetching crate midds-types-codegen 0.1.0... [INFO] testing midds-types-codegen-0.1.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate midds-types-codegen 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate midds-types-codegen 0.1.0 [INFO] finished tweaking crates.io crate midds-types-codegen 0.1.0 [INFO] tweaked toml for crates.io crate midds-types-codegen 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate midds-types-codegen 0.1.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate midds-types-codegen 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3411d59d5336c2f01206b6c3d487739f66cb556a4aecfc0fb5a2af1ec2418863 [INFO] running `Command { std: "docker" "start" "-a" "3411d59d5336c2f01206b6c3d487739f66cb556a4aecfc0fb5a2af1ec2418863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3411d59d5336c2f01206b6c3d487739f66cb556a4aecfc0fb5a2af1ec2418863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3411d59d5336c2f01206b6c3d487739f66cb556a4aecfc0fb5a2af1ec2418863", kill_on_drop: false }` [INFO] [stdout] 3411d59d5336c2f01206b6c3d487739f66cb556a4aecfc0fb5a2af1ec2418863 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98757511e63960ae634a1888033c2be8709021f2cf1fbea47e8c0dbbaa4c2c8a [INFO] running `Command { std: "docker" "start" "-a" "98757511e63960ae634a1888033c2be8709021f2cf1fbea47e8c0dbbaa4c2c8a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling midds-types-codegen v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.21s [INFO] running `Command { std: "docker" "inspect" "98757511e63960ae634a1888033c2be8709021f2cf1fbea47e8c0dbbaa4c2c8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98757511e63960ae634a1888033c2be8709021f2cf1fbea47e8c0dbbaa4c2c8a", kill_on_drop: false }` [INFO] [stdout] 98757511e63960ae634a1888033c2be8709021f2cf1fbea47e8c0dbbaa4c2c8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b34342e600310aa71397becc257f734010ce574e650a4e3a861a50d357f702f [INFO] running `Command { std: "docker" "start" "-a" "1b34342e600310aa71397becc257f734010ce574e650a4e3a861a50d357f702f", kill_on_drop: false }` [INFO] [stderr] Compiling midds-types-codegen v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.54s [INFO] running `Command { std: "docker" "inspect" "1b34342e600310aa71397becc257f734010ce574e650a4e3a861a50d357f702f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b34342e600310aa71397becc257f734010ce574e650a4e3a861a50d357f702f", kill_on_drop: false }` [INFO] [stdout] 1b34342e600310aa71397becc257f734010ce574e650a4e3a861a50d357f702f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fcdda081255f7462c88160b75f189c5a16937194b991639def09979234502f01 [INFO] running `Command { std: "docker" "start" "-a" "fcdda081255f7462c88160b75f189c5a16937194b991639def09979234502f01", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/midds_types_codegen-b2d7027671ffd3e3) [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 midds_types_codegen [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - midds_collection (line 583) ... FAILED [INFO] [stdout] test src/lib.rs - (line 21) ... FAILED [INFO] [stdout] test src/lib.rs - midds_string (line 69) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - midds_collection (line 583) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `parity_scale_codec` in the list of imported crates [INFO] [stdout] --> src/lib.rs:587:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[midds_collection(u64, 64)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `parity_scale_codec` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `midds_collection` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `scale_info` in the list of imported crates [INFO] [stdout] --> src/lib.rs:587:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[midds_collection(u64, 64)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `scale_info` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `midds_collection` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sp_runtime` in the list of imported crates [INFO] [stdout] --> src/lib.rs:587:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[midds_collection(u64, 64)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `sp_runtime` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `midds_collection` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `frame_support` in the list of imported crates [INFO] [stdout] --> src/lib.rs:587:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[midds_collection(u64, 64)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `frame_support` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `midds_collection` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `alloc` [INFO] [stdout] --> src/lib.rs:587:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[midds_collection(u64, 64)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `alloc` [INFO] [stdout] | [INFO] [stdout] = help: add `extern crate alloc` to use the `alloc` crate [INFO] [stdout] = note: this error originates in the attribute macro `midds_collection` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use std::vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/lib.rs:587:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[midds_collection(u64, 64)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `midds_collection` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `midds_collection` may come from an old version of the `midds_types_codegen` crate, try updating your dependency with `cargo update -p midds_types_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `midds_collection` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js` [INFO] [stdout] --> src/lib.rs:587:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[midds_collection(u64, 64)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `midds_collection` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `midds_collection` may come from an old version of the `midds_types_codegen` crate, try updating your dependency with `cargo update -p midds_types_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `midds_collection` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 21) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `parity_scale_codec` in the list of imported crates [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[midds_string(256)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ could not find `parity_scale_codec` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `midds_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `scale_info` in the list of imported crates [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[midds_string(256)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ could not find `scale_info` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `midds_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sp_runtime` in the list of imported crates [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[midds_string(256)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ could not find `sp_runtime` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `midds_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `parity_scale_codec` in the list of imported crates [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[midds_collection(u64, 64)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `parity_scale_codec` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `midds_collection` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `scale_info` in the list of imported crates [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[midds_collection(u64, 64)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `scale_info` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `midds_collection` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sp_runtime` in the list of imported crates [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[midds_collection(u64, 64)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `sp_runtime` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `midds_collection` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `frame_support` in the list of imported crates [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[midds_string(256)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ could not find `frame_support` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `midds_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `frame_support` in the list of imported crates [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[midds_collection(u64, 64)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `frame_support` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `midds_collection` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `alloc` [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[midds_collection(u64, 64)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `alloc` [INFO] [stdout] | [INFO] [stdout] = help: add `extern crate alloc` to use the `alloc` crate [INFO] [stdout] = note: this error originates in the attribute macro `midds_collection` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use std::vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[midds_string(256)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `midds_string` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `midds_string` may come from an old version of the `midds_types_codegen` crate, try updating your dependency with `cargo update -p midds_types_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `midds_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js` [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[midds_string(256)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `midds_string` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `midds_string` may come from an old version of the `midds_types_codegen` crate, try updating your dependency with `cargo update -p midds_types_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `midds_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[midds_collection(u64, 64)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `midds_collection` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `midds_collection` may come from an old version of the `midds_types_codegen` crate, try updating your dependency with `cargo update -p midds_types_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `midds_collection` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js` [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[midds_collection(u64, 64)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `midds_collection` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `midds_collection` may come from an old version of the `midds_types_codegen` crate, try updating your dependency with `cargo update -p midds_types_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `midds_collection` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - midds_string (line 69) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `parity_scale_codec` in the list of imported crates [INFO] [stdout] --> src/lib.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[midds_string(256)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ could not find `parity_scale_codec` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `midds_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `scale_info` in the list of imported crates [INFO] [stdout] --> src/lib.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[midds_string(256)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ could not find `scale_info` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `midds_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sp_runtime` in the list of imported crates [INFO] [stdout] --> src/lib.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[midds_string(256)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ could not find `sp_runtime` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `midds_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `parity_scale_codec` in the list of imported crates [INFO] [stdout] --> src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[midds_string(15, regex = r"^[A-Z]{2}[A-Z0-9]{3}[0-9]{2}[0-9]{5}$")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `parity_scale_codec` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `midds_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `scale_info` in the list of imported crates [INFO] [stdout] --> src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[midds_string(15, regex = r"^[A-Z]{2}[A-Z0-9]{3}[0-9]{2}[0-9]{5}$")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `scale_info` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `midds_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sp_runtime` in the list of imported crates [INFO] [stdout] --> src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[midds_string(15, regex = r"^[A-Z]{2}[A-Z0-9]{3}[0-9]{2}[0-9]{5}$")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `sp_runtime` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `midds_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `frame_support` in the list of imported crates [INFO] [stdout] --> src/lib.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[midds_string(256)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ could not find `frame_support` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `midds_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `frame_support` in the list of imported crates [INFO] [stdout] --> src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[midds_string(15, regex = r"^[A-Z]{2}[A-Z0-9]{3}[0-9]{2}[0-9]{5}$")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `frame_support` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `midds_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/lib.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[midds_string(256)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `midds_string` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `midds_string` may come from an old version of the `midds_types_codegen` crate, try updating your dependency with `cargo update -p midds_types_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `midds_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js` [INFO] [stdout] --> src/lib.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[midds_string(256)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `midds_string` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `midds_string` may come from an old version of the `midds_types_codegen` crate, try updating your dependency with `cargo update -p midds_types_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `midds_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[midds_string(15, regex = r"^[A-Z]{2}[A-Z0-9]{3}[0-9]{2}[0-9]{5}$")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `midds_string` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `midds_string` may come from an old version of the `midds_types_codegen` crate, try updating your dependency with `cargo update -p midds_types_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `midds_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js` [INFO] [stdout] --> src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[midds_string(15, regex = r"^[A-Z]{2}[A-Z0-9]{3}[0-9]{2}[0-9]{5}$")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `midds_string` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `midds_string` may come from an old version of the `midds_types_codegen` crate, try updating your dependency with `cargo update -p midds_types_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `midds_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `TrackTitle` in the current scope [INFO] [stdout] --> src/lib.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 7 | #[midds_string(256)] [INFO] [stdout] | -------------------- function or associated item `from_str` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 15 | let mut title = TrackTitle::from_str("My Song").unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `TrackTitle` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `TrackTitle` consider using one of the following associated functions: [INFO] [stdout] TrackTitle::new [INFO] [stdout] TrackTitle::from_utf8 [INFO] [stdout] --> src/lib.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[midds_string(256)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the attribute macro `midds_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 15 - let mut title = TrackTitle::from_str("My Song").unwrap(); [INFO] [stdout] 15 + let mut title = TrackTitle::from("My Song").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 21) [INFO] [stdout] src/lib.rs - midds_collection (line 583) [INFO] [stdout] src/lib.rs - midds_string (line 69) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.55s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.00s; merged doctests compilation took 0.45s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "fcdda081255f7462c88160b75f189c5a16937194b991639def09979234502f01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcdda081255f7462c88160b75f189c5a16937194b991639def09979234502f01", kill_on_drop: false }` [INFO] [stdout] fcdda081255f7462c88160b75f189c5a16937194b991639def09979234502f01