[INFO] fetching crate mkutils-macros 0.1.118... [INFO] testing mkutils-macros-0.1.118 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate mkutils-macros 0.1.118 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate mkutils-macros 0.1.118 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mkutils-macros 0.1.118 [INFO] tweaked toml for crates.io crate mkutils-macros 0.1.118 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mkutils-macros 0.1.118 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mkutils-macros 0.1.118 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f7a60ec3144bf7fb93e413df319f6eafa790e2f5d11d8b94b9fdda756b47bbe [INFO] running `Command { std: "docker" "start" "-a" "4f7a60ec3144bf7fb93e413df319f6eafa790e2f5d11d8b94b9fdda756b47bbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f7a60ec3144bf7fb93e413df319f6eafa790e2f5d11d8b94b9fdda756b47bbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f7a60ec3144bf7fb93e413df319f6eafa790e2f5d11d8b94b9fdda756b47bbe", kill_on_drop: false }` [INFO] [stdout] 4f7a60ec3144bf7fb93e413df319f6eafa790e2f5d11d8b94b9fdda756b47bbe [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c1bc5f01a7c8418168117230dabfd068ad2055e6b72cde471bfdaa2ca0bfb17 [INFO] running `Command { std: "docker" "start" "-a" "0c1bc5f01a7c8418168117230dabfd068ad2055e6b72cde471bfdaa2ca0bfb17", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling mkutils-macros v0.1.118 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.26s [INFO] running `Command { std: "docker" "inspect" "0c1bc5f01a7c8418168117230dabfd068ad2055e6b72cde471bfdaa2ca0bfb17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c1bc5f01a7c8418168117230dabfd068ad2055e6b72cde471bfdaa2ca0bfb17", kill_on_drop: false }` [INFO] [stdout] 0c1bc5f01a7c8418168117230dabfd068ad2055e6b72cde471bfdaa2ca0bfb17 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 036e045acab389a8c8d63ded8aafd7b8929767894c97744810d07e48167dc35d [INFO] running `Command { std: "docker" "start" "-a" "036e045acab389a8c8d63ded8aafd7b8929767894c97744810d07e48167dc35d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling mkutils-macros v0.1.118 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.74s [INFO] running `Command { std: "docker" "inspect" "036e045acab389a8c8d63ded8aafd7b8929767894c97744810d07e48167dc35d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "036e045acab389a8c8d63ded8aafd7b8929767894c97744810d07e48167dc35d", kill_on_drop: false }` [INFO] [stdout] 036e045acab389a8c8d63ded8aafd7b8929767894c97744810d07e48167dc35d [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a7de6d371e11e382ab5ebffda881f457716a041ffa48c82c1e439bd964557d46 [INFO] running `Command { std: "docker" "start" "-a" "a7de6d371e11e382ab5ebffda881f457716a041ffa48c82c1e439bd964557d46", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mkutils_macros-ccb6e5636ddb92e7) [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] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-3f1619f3e6469c0b) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test test_constructor_tuple_struct ... ok [INFO] [stdout] test test_set_variant ... ok [INFO] [stdout] test test_constructor_c_struct ... ok [INFO] [stdout] test test_constructor_unit_struct ... ok [INFO] [stdout] test test_toggle ... ok [INFO] [stdout] test test_constructor_pub_visibility ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] Doc-tests mkutils_macros [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test src/lib.rs - default (line 79) ... FAILED [INFO] [stdout] test src/lib.rs - saturating_sub (line 207) ... FAILED [INFO] [stdout] test src/lib.rs - constructor (line 252) ... FAILED [INFO] [stdout] test src/lib.rs - type_assoc (line 55) ... FAILED [INFO] [stdout] test src/lib.rs - constructor (line 242) ... FAILED [INFO] [stdout] test src/lib.rs - toggle (line 147) ... FAILED [INFO] [stdout] test src/lib.rs - main (line 274) ... FAILED [INFO] [stdout] test src/lib.rs - constructor (line 232) ... FAILED [INFO] [stdout] test src/lib.rs - default (line 92) ... FAILED [INFO] [stdout] test src/lib.rs - saturating_add (line 184) ... FAILED [INFO] [stdout] test src/lib.rs - saturating_sub (line 214) ... FAILED [INFO] [stdout] test src/lib.rs - type_assoc (line 63) ... FAILED [INFO] [stdout] test src/lib.rs - set_variant (line 112) ... FAILED [INFO] [stdout] test src/lib.rs - toggle (line 158) ... FAILED [INFO] [stdout] test src/lib.rs - set_variant (line 123) ... FAILED [INFO] [stdout] test src/lib.rs - constructor (line 260) ... FAILED [INFO] [stdout] test src/lib.rs - from_chain (line 30) ... FAILED [INFO] [stdout] test src/lib.rs - saturating_add (line 191) ... FAILED [INFO] [stdout] test src/lib.rs - from_chain (line 38) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - default (line 79) stdout ---- [INFO] [stdout] error: the `#[default]` attribute may only be used on unit enum variants [INFO] [stdout] --> src/lib.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | #[default(42)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider a manual implementation of `Default` [INFO] [stdout] [INFO] [stdout] error: the `#[default]` attribute may only be used on unit enum variants [INFO] [stdout] --> src/lib.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | #[default(vec![1, 2, 3])] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider a manual implementation of `Default` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - saturating_sub (line 207) stdout ---- [INFO] [stdout] error: cannot find derive macro `SaturatingSub` in this scope [INFO] [stdout] --> src/lib.rs:208:10 [INFO] [stdout] | [INFO] [stdout] 208 | #[derive(SaturatingSub)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 207 + use mkutils_macros::SaturatingSub; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - constructor (line 252) stdout ---- [INFO] [stdout] error: cannot find derive macro `Constructor` in this scope [INFO] [stdout] --> src/lib.rs:253:10 [INFO] [stdout] | [INFO] [stdout] 253 | #[derive(Constructor)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 252 + use mkutils_macros::Constructor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `new` in this scope [INFO] [stdout] --> src/lib.rs:254:3 [INFO] [stdout] | [INFO] [stdout] 254 | #[new(pub(crate))] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - type_assoc (line 55) stdout ---- [INFO] [stdout] error: cannot find derive macro `TypeAssoc` in this scope [INFO] [stdout] --> src/lib.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(TypeAssoc)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 55 + use mkutils_macros::TypeAssoc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `type_assoc` in this scope [INFO] [stdout] --> src/lib.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 57 | #[type_assoc(trait = Foo, Item = Vec)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - constructor (line 242) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `MyStruct` in this scope [INFO] [stdout] --> src/lib.rs:243:6 [INFO] [stdout] | [INFO] [stdout] 243 | impl MyStruct { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - toggle (line 147) stdout ---- [INFO] [stdout] error: cannot find derive macro `Toggle` in this scope [INFO] [stdout] --> src/lib.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | #[derive(Toggle)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 147 + use mkutils_macros::Toggle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - main (line 274) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 280 - ... [INFO] [stdout] 280 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 280 - ... [INFO] [stdout] 280 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 280 - ... [INFO] [stdout] 280 + .. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected `..=` [INFO] [stdout] --> src/lib.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | ... [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `lits` in this scope [INFO] [stdout] --> src/lib.rs:276:27 [INFO] [stdout] | [INFO] [stdout] 276 | const THREAD_STACK_SIZE = lits::bytes!("8 MiB"); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `lits` [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `rust_out` [INFO] [stdout] --> src/lib.rs:281:2 [INFO] [stdout] | [INFO] [stdout] 281 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/lib.rs` [INFO] [stdout] [INFO] [stdout] error: missing type for `const` item [INFO] [stdout] --> src/lib.rs:276:24 [INFO] [stdout] | [INFO] [stdout] 276 | const THREAD_STACK_SIZE = lits::bytes!("8 MiB"); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: provide a type for the item [INFO] [stdout] | [INFO] [stdout] 276 | const THREAD_STACK_SIZE: = lits::bytes!("8 MiB"); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0586, E0601. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - constructor (line 232) stdout ---- [INFO] [stdout] error: cannot find derive macro `Constructor` in this scope [INFO] [stdout] --> src/lib.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | #[derive(Constructor)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 232 + use mkutils_macros::Constructor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - default (line 92) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `MyStruct` in this scope [INFO] [stdout] --> src/lib.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | impl Default for MyStruct { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - saturating_add (line 184) stdout ---- [INFO] [stdout] error: cannot find derive macro `SaturatingAdd` in this scope [INFO] [stdout] --> src/lib.rs:185:10 [INFO] [stdout] | [INFO] [stdout] 185 | #[derive(SaturatingAdd)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 184 + use mkutils_macros::SaturatingAdd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - saturating_sub (line 214) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `num` in this scope [INFO] [stdout] --> src/lib.rs:215:6 [INFO] [stdout] | [INFO] [stdout] 215 | impl num::traits::SaturatingSub for MyStruct { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `num` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `num`, use `cargo add num` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MyStruct` in this scope [INFO] [stdout] --> src/lib.rs:215:37 [INFO] [stdout] | [INFO] [stdout] 215 | impl num::traits::SaturatingSub for MyStruct { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - type_assoc (line 63) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Foo` in this scope [INFO] [stdout] --> src/lib.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | impl Foo for MyStruct { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MyStruct` in this scope [INFO] [stdout] --> src/lib.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | impl Foo for MyStruct { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - set_variant (line 112) stdout ---- [INFO] [stdout] error: cannot find derive macro `SetVariant` in this scope [INFO] [stdout] --> src/lib.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | #[derive(SetVariant)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 112 + use mkutils_macros::SetVariant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - toggle (line 158) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `MyEnum` in this scope [INFO] [stdout] --> src/lib.rs:159:6 [INFO] [stdout] | [INFO] [stdout] 159 | impl MyEnum { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - set_variant (line 123) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `MyEnum` in this scope [INFO] [stdout] --> src/lib.rs:124:6 [INFO] [stdout] | [INFO] [stdout] 124 | impl MyEnum { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - constructor (line 260) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `MyStruct` in this scope [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] --> src/lib.rs:261:6 [INFO] [stdout] | [INFO] [stdout] 261 | impl MyStruct { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: the `Self` constructor can only be used with tuple or unit structs [INFO] [stdout] --> src/lib.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | Self(_0) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - from_chain (line 30) stdout ---- [INFO] [stdout] error: cannot find derive macro `FromChain` in this scope [INFO] [stdout] --> src/lib.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(FromChain)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 30 + use mkutils_macros::FromChain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from_chain` in this scope [INFO] [stdout] --> src/lib.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | #[from_chain(Foo, Bar, Baz)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - saturating_add (line 191) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `num` in this scope [INFO] [stdout] --> src/lib.rs:192:6 [INFO] [stdout] | [INFO] [stdout] 192 | impl num::traits::SaturatingAdd for MyStruct { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `num` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `num`, use `cargo add num` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MyStruct` in this scope [INFO] [stdout] --> src/lib.rs:192:37 [INFO] [stdout] | [INFO] [stdout] 192 | impl num::traits::SaturatingAdd for MyStruct { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - from_chain (line 38) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `Foo` in this scope [INFO] [stdout] --> src/lib.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | impl From for MyStruct { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 39 | impl From for MyStruct { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MyStruct` in this scope [INFO] [stdout] --> src/lib.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | impl From for MyStruct { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Foo` in this scope [INFO] [stdout] --> src/lib.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | fn from(foo: Foo) -> Self { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Baz` in this scope [INFO] [stdout] --> src/lib.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | Self::from(Baz::from(Bar::from(foo))) [INFO] [stdout] | ^^^ use of undeclared type `Baz` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Bar` in this scope [INFO] [stdout] --> src/lib.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | Self::from(Baz::from(Bar::from(foo))) [INFO] [stdout] | ^^^ use of undeclared type `Bar` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - constructor (line 232) [INFO] [stdout] src/lib.rs - constructor (line 242) [INFO] [stdout] src/lib.rs - constructor (line 252) [INFO] [stdout] src/lib.rs - constructor (line 260) [INFO] [stdout] src/lib.rs - default (line 79) [INFO] [stdout] src/lib.rs - default (line 92) [INFO] [stdout] src/lib.rs - from_chain (line 30) [INFO] [stdout] src/lib.rs - from_chain (line 38) [INFO] [stdout] src/lib.rs - main (line 274) [INFO] [stdout] src/lib.rs - saturating_add (line 184) [INFO] [stdout] src/lib.rs - saturating_add (line 191) [INFO] [stdout] src/lib.rs - saturating_sub (line 207) [INFO] [stdout] src/lib.rs - saturating_sub (line 214) [INFO] [stdout] src/lib.rs - set_variant (line 112) [INFO] [stdout] src/lib.rs - set_variant (line 123) [INFO] [stdout] src/lib.rs - toggle (line 147) [INFO] [stdout] src/lib.rs - toggle (line 158) [INFO] [stdout] src/lib.rs - type_assoc (line 55) [INFO] [stdout] src/lib.rs - type_assoc (line 63) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 19 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.60s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.93s; merged doctests compilation took 0.32s [INFO] running `Command { std: "docker" "inspect" "a7de6d371e11e382ab5ebffda881f457716a041ffa48c82c1e439bd964557d46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7de6d371e11e382ab5ebffda881f457716a041ffa48c82c1e439bd964557d46", kill_on_drop: false }` [INFO] [stdout] a7de6d371e11e382ab5ebffda881f457716a041ffa48c82c1e439bd964557d46