[INFO] fetching crate seventy-macros 0.4.0... [INFO] testing seventy-macros-0.4.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate seventy-macros 0.4.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate seventy-macros 0.4.0 [INFO] finished tweaking crates.io crate seventy-macros 0.4.0 [INFO] tweaked toml for crates.io crate seventy-macros 0.4.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate seventy-macros 0.4.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate seventy-macros 0.4.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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73a634e7ba31556306efa926cc1662d6dea690e72789528e43c16652af374429 [INFO] running `Command { std: "docker" "start" "-a" "73a634e7ba31556306efa926cc1662d6dea690e72789528e43c16652af374429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73a634e7ba31556306efa926cc1662d6dea690e72789528e43c16652af374429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73a634e7ba31556306efa926cc1662d6dea690e72789528e43c16652af374429", kill_on_drop: false }` [INFO] [stdout] 73a634e7ba31556306efa926cc1662d6dea690e72789528e43c16652af374429 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 084b8ee7d44656d28a4442f1f0ec089557b8c32384e1f13e8bee9f35c35addc4 [INFO] running `Command { std: "docker" "start" "-a" "084b8ee7d44656d28a4442f1f0ec089557b8c32384e1f13e8bee9f35c35addc4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling seventy-macros v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.13s [INFO] running `Command { std: "docker" "inspect" "084b8ee7d44656d28a4442f1f0ec089557b8c32384e1f13e8bee9f35c35addc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "084b8ee7d44656d28a4442f1f0ec089557b8c32384e1f13e8bee9f35c35addc4", kill_on_drop: false }` [INFO] [stdout] 084b8ee7d44656d28a4442f1f0ec089557b8c32384e1f13e8bee9f35c35addc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 43e8eed1cfaa51f66a2510fa53dd5e758a719481b62f6a986dd0b88995b8416b [INFO] running `Command { std: "docker" "start" "-a" "43e8eed1cfaa51f66a2510fa53dd5e758a719481b62f6a986dd0b88995b8416b", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling seventy-macros v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.19s [INFO] running `Command { std: "docker" "inspect" "43e8eed1cfaa51f66a2510fa53dd5e758a719481b62f6a986dd0b88995b8416b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43e8eed1cfaa51f66a2510fa53dd5e758a719481b62f6a986dd0b88995b8416b", kill_on_drop: false }` [INFO] [stdout] 43e8eed1cfaa51f66a2510fa53dd5e758a719481b62f6a986dd0b88995b8416b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0160116b1f45c38fa687a487aaa72ec9eef7ce7ac8fa593c8a65d868ee9a75f8 [INFO] running `Command { std: "docker" "start" "-a" "0160116b1f45c38fa687a487aaa72ec9eef7ce7ac8fa593c8a65d868ee9a75f8", 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/seventy_macros-814a6814f6bf5e71) [INFO] [stderr] Doc-tests seventy_macros [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] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/lib.rs - seventy (line 67) ... FAILED [INFO] [stdout] test src/lib.rs - seventy (line 211) ... FAILED [INFO] [stdout] test src/lib.rs - seventy (line 36) ... FAILED [INFO] [stdout] test src/lib.rs - seventy (line 226) - compile fail ... FAILED [INFO] [stdout] test src/lib.rs - seventy (line 177) ... FAILED [INFO] [stdout] test src/lib.rs - seventy (line 114) ... FAILED [INFO] [stdout] test src/lib.rs - seventy (line 81) ... FAILED [INFO] [stdout] test src/lib.rs - seventy (line 98) ... FAILED [INFO] [stdout] test src/lib.rs - seventy (line 164) - compile fail ... ok [INFO] [stdout] test src/lib.rs - seventy (line 50) ... FAILED [INFO] [stdout] test src/lib.rs - seventy (line 23) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - seventy (line 67) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `seventy` [INFO] [stdout] --> src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 3 | use seventy::{seventy, Newtype}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `seventy`, use `cargo add seventy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Number: TryFrom<{integer}>` is not satisfied [INFO] [stdout] --> src/lib.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(Number::try_from(5).is_ok()); [INFO] [stdout] | ^^^^^^ the trait `From<{integer}>` is not implemented for `Number` [INFO] [stdout] | [INFO] [stdout] = note: required for `{integer}` to implement `Into` [INFO] [stdout] = note: required for `Number` to implement `TryFrom<{integer}>` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Number: From<{integer}>` is not satisfied [INFO] [stdout] --> src/lib.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(Number::try_from(5).is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `From<{integer}>` is not implemented for `Number` [INFO] [stdout] | [INFO] [stdout] = note: required for `{integer}` to implement `Into` [INFO] [stdout] = note: required for `Number` to implement `TryFrom<{integer}>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - seventy (line 211) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `seventy` [INFO] [stdout] --> src/lib.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 3 | use seventy::{seventy, Newtype}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `seventy`, use `cargo add seventy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_new` found for struct `ExposedToModule` in the current scope [INFO] [stdout] --> src/lib.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ExposedToModule(i32); [INFO] [stdout] | -------------------------- function or associated item `try_new` not found for this struct [INFO] [stdout] 7 | [INFO] [stdout] 8 | let mut etm = ExposedToModule::try_new(70).unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ExposedToModule` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - seventy (line 36) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `seventy` [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 3 | use seventy::{seventy, Newtype}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `seventy`, use `cargo add seventy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_new` found for struct `Sentence` in the current scope [INFO] [stdout] --> src/lib.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Sentence(String); [INFO] [stdout] | ------------------- function or associated item `try_new` not found for this struct [INFO] [stdout] 7 | [INFO] [stdout] 8 | let sentence = Sentence::try_new("Hello, World!").unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Sentence` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - seventy (line 226) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `seventy` [INFO] [stdout] --> src/lib.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 3 | use seventy::{Newtype, seventy}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `seventy`, use `cargo add seventy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_new` found for struct `UnexposedToModule` in the current scope [INFO] [stdout] --> src/lib.rs:232:34 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct UnexposedToModule(i32); [INFO] [stdout] | ---------------------------- function or associated item `try_new` not found for this struct [INFO] [stdout] 7 | [INFO] [stdout] 8 | let mut utm = UnexposedToModule::try_new(70).unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `UnexposedToModule` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Some expected error codes were not found: ["E0616"] [INFO] [stdout] ---- src/lib.rs - seventy (line 177) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `seventy` [INFO] [stdout] --> src/lib.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 3 | use seventy::{builtins::compare::*, seventy}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `seventy`, use `cargo add seventy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `seventy` [INFO] [stdout] --> src/lib.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 3 | use seventy::{builtins::compare::*, seventy}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `seventy`, use `cargo add seventy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_new` found for struct `Rating` in the current scope [INFO] [stdout] --> src/lib.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Rating(u8); [INFO] [stdout] | ----------------- function or associated item `try_new` not found for this struct [INFO] [stdout] 10 | [INFO] [stdout] 11 | assert!(Rating::try_new(5).is_ok()); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Rating` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - seventy (line 114) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `seventy` [INFO] [stdout] --> src/lib.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 3 | use seventy::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `seventy`, use `cargo add seventy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `seventy` [INFO] [stdout] --> src/lib.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 3 | use seventy::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `seventy`, use `cargo add seventy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unchecked` found for struct `Username` in the current scope [INFO] [stdout] --> src/lib.rs:130:35 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Username(String); [INFO] [stdout] | ------------------- function or associated item `new_unchecked` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 18 | let username = unsafe { Username::new_unchecked(" username! ") }; [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `Username` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unsanitized` found for struct `Username` in the current scope [INFO] [stdout] --> src/lib.rs:135:35 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Username(String); [INFO] [stdout] | ------------------- function or associated item `new_unsanitized` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 23 | let username = unsafe { Username::new_unsanitized(" username ") }.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `Username` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unvalidated` found for struct `Username` in the current scope [INFO] [stdout] --> src/lib.rs:140:35 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Username(String); [INFO] [stdout] | ------------------- function or associated item `new_unvalidated` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 28 | let username = unsafe { Username::new_unvalidated(" username! ") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `Username` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_new` found for struct `Username` in the current scope [INFO] [stdout] --> src/lib.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Username(String); [INFO] [stdout] | ------------------- function or associated item `try_new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 33 | let mut username = Username::try_new("username").unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Username` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `validate` found for struct `Username` in the current scope [INFO] [stdout] --> src/lib.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Username(String); [INFO] [stdout] | ------------------- function or associated item `validate` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 36 | assert!(Username::validate(username.as_inner())); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Username` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `validate` found for struct `Username` in the current scope [INFO] [stdout] --> src/lib.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Username(String); [INFO] [stdout] | ------------------- function or associated item `validate` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 42 | assert!(!Username::validate(username.as_inner())); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Username` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - seventy (line 81) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `seventy` [INFO] [stdout] --> src/lib.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 3 | use seventy::{seventy, Newtype}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `seventy`, use `cargo add seventy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Message: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 10 | let message: Message = serde_json::from_str(json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `Message` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Message` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 142 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_inner` found for struct `Message` in the current scope [INFO] [stdout] --> src/lib.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Message(String); [INFO] [stdout] | ------------------ method `into_inner` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 11 | assert_eq!(message.into_inner(), "Seventy is a cool crate"); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Message` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `into_inner`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::sys_common::IntoInner` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - seventy (line 98) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `seventy` [INFO] [stdout] --> src/lib.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 3 | use seventy::{seventy, Newtype}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `seventy`, use `cargo add seventy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_new` found for struct `Message` in the current scope [INFO] [stdout] --> src/lib.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Message(String); [INFO] [stdout] | ------------------ function or associated item `try_new` not found for this struct [INFO] [stdout] 7 | [INFO] [stdout] 8 | let message = Message::try_new("Seventy is a cool crate").unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Message` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - seventy (line 50) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `seventy` [INFO] [stdout] --> src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 3 | use seventy::{seventy, Newtype}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `seventy`, use `cargo add seventy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_new` found for struct `Email` in the current scope [INFO] [stdout] --> src/lib.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Email(String); [INFO] [stdout] | ---------------- function or associated item `try_new` not found for this struct [INFO] [stdout] 7 | [INFO] [stdout] 8 | let email = Email::try_new("example@example.com").unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Email` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - seventy (line 23) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `seventy` [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 3 | use seventy::{core::Newtype, seventy}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `seventy`, use `cargo add seventy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_new` found for struct `Velocity` in the current scope [INFO] [stdout] --> src/lib.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Velocity(f64); [INFO] [stdout] | ------------------- function or associated item `try_new` not found for this struct [INFO] [stdout] 7 | [INFO] [stdout] 8 | assert_eq!(*Velocity::try_new(70.0).unwrap().as_ref(), 70.0); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Velocity` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - seventy (line 114) [INFO] [stdout] src/lib.rs - seventy (line 177) [INFO] [stdout] src/lib.rs - seventy (line 211) [INFO] [stdout] src/lib.rs - seventy (line 226) [INFO] [stdout] src/lib.rs - seventy (line 23) [INFO] [stdout] src/lib.rs - seventy (line 36) [INFO] [stdout] src/lib.rs - seventy (line 50) [INFO] [stdout] src/lib.rs - seventy (line 67) [INFO] [stdout] src/lib.rs - seventy (line 81) [INFO] [stdout] src/lib.rs - seventy (line 98) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0160116b1f45c38fa687a487aaa72ec9eef7ce7ac8fa593c8a65d868ee9a75f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0160116b1f45c38fa687a487aaa72ec9eef7ce7ac8fa593c8a65d868ee9a75f8", kill_on_drop: false }` [INFO] [stdout] 0160116b1f45c38fa687a487aaa72ec9eef7ce7ac8fa593c8a65d868ee9a75f8