[INFO] fetching crate midds-types-codegen 0.1.0... [INFO] testing midds-types-codegen-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate midds-types-codegen 0.1.0 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate midds-types-codegen 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2dda236573af9795570480151841d0179a04eee05365dc16d8f0d812ec29161 [INFO] running `Command { std: "docker" "start" "-a" "a2dda236573af9795570480151841d0179a04eee05365dc16d8f0d812ec29161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2dda236573af9795570480151841d0179a04eee05365dc16d8f0d812ec29161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2dda236573af9795570480151841d0179a04eee05365dc16d8f0d812ec29161", kill_on_drop: false }` [INFO] [stdout] a2dda236573af9795570480151841d0179a04eee05365dc16d8f0d812ec29161 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8b23129951b2209c4eafc6d3c87b9fec7c06f29213725b20474cc0786cb8dd8 [INFO] running `Command { std: "docker" "start" "-a" "d8b23129951b2209c4eafc6d3c87b9fec7c06f29213725b20474cc0786cb8dd8", kill_on_drop: false }` [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 4.72s [INFO] running `Command { std: "docker" "inspect" "d8b23129951b2209c4eafc6d3c87b9fec7c06f29213725b20474cc0786cb8dd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8b23129951b2209c4eafc6d3c87b9fec7c06f29213725b20474cc0786cb8dd8", kill_on_drop: false }` [INFO] [stdout] d8b23129951b2209c4eafc6d3c87b9fec7c06f29213725b20474cc0786cb8dd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d0b50ca1760653ba1f00e3a8b44039b30a5ab8f52cf959c3b028d12342ad1f6 [INFO] running `Command { std: "docker" "start" "-a" "7d0b50ca1760653ba1f00e3a8b44039b30a5ab8f52cf959c3b028d12342ad1f6", 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.30s [INFO] running `Command { std: "docker" "inspect" "7d0b50ca1760653ba1f00e3a8b44039b30a5ab8f52cf959c3b028d12342ad1f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d0b50ca1760653ba1f00e3a8b44039b30a5ab8f52cf959c3b028d12342ad1f6", kill_on_drop: false }` [INFO] [stdout] 7d0b50ca1760653ba1f00e3a8b44039b30a5ab8f52cf959c3b028d12342ad1f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 83660f3a27fa3152eb86bef37ea23f2cdb47d3d5376eb0530bb7f0258553e1df [INFO] running `Command { std: "docker" "start" "-a" "83660f3a27fa3152eb86bef37ea23f2cdb47d3d5376eb0530bb7f0258553e1df", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [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 - (line 21) ... FAILED [INFO] [stdout] test src/lib.rs - midds_collection (line 583) ... FAILED [INFO] [stdout] test src/lib.rs - midds_string (line 69) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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_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] [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.47s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.83s; merged doctests compilation took 0.36s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "83660f3a27fa3152eb86bef37ea23f2cdb47d3d5376eb0530bb7f0258553e1df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83660f3a27fa3152eb86bef37ea23f2cdb47d3d5376eb0530bb7f0258553e1df", kill_on_drop: false }` [INFO] [stdout] 83660f3a27fa3152eb86bef37ea23f2cdb47d3d5376eb0530bb7f0258553e1df