[INFO] fetching crate midds-types-codegen 0.1.0... [INFO] testing midds-types-codegen-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate midds-types-codegen 0.1.0 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate midds-types-codegen 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d0a6e5d253658dc40772e04efd0b2fee16b3bbb566b695ec5e7bfa81acc4872 [INFO] running `Command { std: "docker" "start" "-a" "8d0a6e5d253658dc40772e04efd0b2fee16b3bbb566b695ec5e7bfa81acc4872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d0a6e5d253658dc40772e04efd0b2fee16b3bbb566b695ec5e7bfa81acc4872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d0a6e5d253658dc40772e04efd0b2fee16b3bbb566b695ec5e7bfa81acc4872", kill_on_drop: false }` [INFO] [stdout] 8d0a6e5d253658dc40772e04efd0b2fee16b3bbb566b695ec5e7bfa81acc4872 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4863a776913aca6c465a29047f137a796c1c1bf2a92324f500f92ec985a5807e [INFO] running `Command { std: "docker" "start" "-a" "4863a776913aca6c465a29047f137a796c1c1bf2a92324f500f92ec985a5807e", 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.30s [INFO] running `Command { std: "docker" "inspect" "4863a776913aca6c465a29047f137a796c1c1bf2a92324f500f92ec985a5807e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4863a776913aca6c465a29047f137a796c1c1bf2a92324f500f92ec985a5807e", kill_on_drop: false }` [INFO] [stdout] 4863a776913aca6c465a29047f137a796c1c1bf2a92324f500f92ec985a5807e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce1868351c7499dbaa6e42dc75784a1884908e0cd7c421269daf109dc954d050 [INFO] running `Command { std: "docker" "start" "-a" "ce1868351c7499dbaa6e42dc75784a1884908e0cd7c421269daf109dc954d050", 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.84s [INFO] running `Command { std: "docker" "inspect" "ce1868351c7499dbaa6e42dc75784a1884908e0cd7c421269daf109dc954d050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce1868351c7499dbaa6e42dc75784a1884908e0cd7c421269daf109dc954d050", kill_on_drop: false }` [INFO] [stdout] ce1868351c7499dbaa6e42dc75784a1884908e0cd7c421269daf109dc954d050 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0c32c042cb105f56294ac2abd1ba6cbd715d4a4bf4b4d3461b6efbd120ffd117 [INFO] running `Command { std: "docker" "start" "-a" "0c32c042cb105f56294ac2abd1ba6cbd715d4a4bf4b4d3461b6efbd120ffd117", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/midds_types_codegen-f9d123dcee05c666) [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 - midds_string (line 69) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/lib.rs - (line 21) ... 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 - 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] ---- 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] [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.53s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.94s; merged doctests compilation took 0.41s [INFO] running `Command { std: "docker" "inspect" "0c32c042cb105f56294ac2abd1ba6cbd715d4a4bf4b4d3461b6efbd120ffd117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c32c042cb105f56294ac2abd1ba6cbd715d4a4bf4b4d3461b6efbd120ffd117", kill_on_drop: false }` [INFO] [stdout] 0c32c042cb105f56294ac2abd1ba6cbd715d4a4bf4b4d3461b6efbd120ffd117