[INFO] fetching crate seventy-macros 0.4.0... [INFO] testing seventy-macros-0.4.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate seventy-macros 0.4.0 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate seventy-macros 0.4.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.39 [INFO] [stderr] Downloaded syn v2.0.99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3745dcbf0bf530a89fa4a145672f0c09b565dcee33b9be41ef67ff574834a264 [INFO] running `Command { std: "docker" "start" "-a" "3745dcbf0bf530a89fa4a145672f0c09b565dcee33b9be41ef67ff574834a264", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3745dcbf0bf530a89fa4a145672f0c09b565dcee33b9be41ef67ff574834a264", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3745dcbf0bf530a89fa4a145672f0c09b565dcee33b9be41ef67ff574834a264", kill_on_drop: false }` [INFO] [stdout] 3745dcbf0bf530a89fa4a145672f0c09b565dcee33b9be41ef67ff574834a264 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f63d5d39af31d168d3113611aea05e11d8d22d2d489fefe385ee69ba5f28915 [INFO] running `Command { std: "docker" "start" "-a" "8f63d5d39af31d168d3113611aea05e11d8d22d2d489fefe385ee69ba5f28915", kill_on_drop: false }` [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 4.30s [INFO] running `Command { std: "docker" "inspect" "8f63d5d39af31d168d3113611aea05e11d8d22d2d489fefe385ee69ba5f28915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f63d5d39af31d168d3113611aea05e11d8d22d2d489fefe385ee69ba5f28915", kill_on_drop: false }` [INFO] [stdout] 8f63d5d39af31d168d3113611aea05e11d8d22d2d489fefe385ee69ba5f28915 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44f73c094bc0eac5f656fec58243abe5f96c8e54ff9d905a58fbad61683d01cf [INFO] running `Command { std: "docker" "start" "-a" "44f73c094bc0eac5f656fec58243abe5f96c8e54ff9d905a58fbad61683d01cf", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling seventy-macros v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.09s [INFO] running `Command { std: "docker" "inspect" "44f73c094bc0eac5f656fec58243abe5f96c8e54ff9d905a58fbad61683d01cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44f73c094bc0eac5f656fec58243abe5f96c8e54ff9d905a58fbad61683d01cf", kill_on_drop: false }` [INFO] [stdout] 44f73c094bc0eac5f656fec58243abe5f96c8e54ff9d905a58fbad61683d01cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4c858ab6b21170345257c2ef57bcdb6ff975b7aeb582f0b8613b0db6eb373a7f [INFO] running `Command { std: "docker" "start" "-a" "4c858ab6b21170345257c2ef57bcdb6ff975b7aeb582f0b8613b0db6eb373a7f", 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-cd58f580831e5cac) [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 seventy_macros [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/lib.rs - seventy (line 36) ... FAILED [INFO] [stdout] test src/lib.rs - seventy (line 81) ... FAILED [INFO] [stdout] test src/lib.rs - seventy (line 114) ... FAILED [INFO] [stdout] test src/lib.rs - seventy (line 211) ... FAILED [INFO] [stdout] test src/lib.rs - seventy (line 67) ... FAILED [INFO] [stdout] test src/lib.rs - seventy (line 23) ... 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 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] [INFO] [stdout] failures: [INFO] [stdout] [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] 37 | use seventy::{seventy, Newtype}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/seventy.rs, use `mod seventy` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 36 + mod seventy; [INFO] [stdout] | [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] 40 | pub struct Sentence(String); [INFO] [stdout] | ------------------- function or associated item `try_new` not found for this struct [INFO] [stdout] 41 | [INFO] [stdout] 42 | 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 81) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `seventy` [INFO] [stdout] --> src/lib.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | use seventy::{seventy, Newtype}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/seventy.rs, use `mod seventy` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 81 + mod seventy; [INFO] [stdout] | [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] 89 | let message: Message = serde_json::from_str(json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::de::Deserialize<'_>` is not implemented for `Message` [INFO] [stdout] --> src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Message(String); [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] 85 | pub struct Message(String); [INFO] [stdout] | ------------------ method `into_inner` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 90 | 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 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] 115 | use seventy::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/seventy.rs, use `mod seventy` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 114 + mod seventy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `seventy` [INFO] [stdout] --> src/lib.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | use seventy::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/seventy.rs, use `mod seventy` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 114 + mod seventy; [INFO] [stdout] | [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] 126 | pub struct Username(String); [INFO] [stdout] | ------------------- function or associated item `new_unchecked` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 130 | 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] 126 | pub struct Username(String); [INFO] [stdout] | ------------------- function or associated item `new_unsanitized` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 135 | 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] 126 | pub struct Username(String); [INFO] [stdout] | ------------------- function or associated item `new_unvalidated` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 140 | 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] 126 | pub struct Username(String); [INFO] [stdout] | ------------------- function or associated item `try_new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 145 | 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] 126 | pub struct Username(String); [INFO] [stdout] | ------------------- function or associated item `validate` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 148 | 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] 126 | pub struct Username(String); [INFO] [stdout] | ------------------- function or associated item `validate` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 154 | 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 211) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `seventy` [INFO] [stdout] --> src/lib.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | use seventy::{seventy, Newtype}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/seventy.rs, use `mod seventy` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 211 + mod seventy; [INFO] [stdout] | [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] 215 | pub struct ExposedToModule(i32); [INFO] [stdout] | -------------------------- function or associated item `try_new` not found for this struct [INFO] [stdout] 216 | [INFO] [stdout] 217 | 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 67) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `seventy` [INFO] [stdout] --> src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | use seventy::{seventy, Newtype}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/seventy.rs, use `mod seventy` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 67 + mod seventy; [INFO] [stdout] | [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] 73 | assert!(Number::try_from(5).is_ok()); [INFO] [stdout] | ^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From<{integer}>` is not implemented for `Number` [INFO] [stdout] --> src/lib.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Number(i32); [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] 73 | assert!(Number::try_from(5).is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From<{integer}>` is not implemented for `Number` [INFO] [stdout] --> src/lib.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Number(i32); [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 23) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `seventy` [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use seventy::{core::Newtype, seventy}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/seventy.rs, use `mod seventy` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 23 + mod seventy; [INFO] [stdout] | [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] 27 | pub struct Velocity(f64); [INFO] [stdout] | ------------------- function or associated item `try_new` not found for this struct [INFO] [stdout] 28 | [INFO] [stdout] 29 | 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] ---- 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] 227 | use seventy::{Newtype, seventy}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/seventy.rs, use `mod seventy` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 226 + mod seventy; [INFO] [stdout] | [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] 230 | pub struct UnexposedToModule(i32); [INFO] [stdout] | ---------------------------- function or associated item `try_new` not found for this struct [INFO] [stdout] 231 | [INFO] [stdout] 232 | 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] 178 | use seventy::{builtins::compare::*, seventy}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/seventy.rs, use `mod seventy` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 177 + mod seventy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `seventy` [INFO] [stdout] --> src/lib.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | use seventy::{builtins::compare::*, seventy}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/seventy.rs, use `mod seventy` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 177 + mod seventy; [INFO] [stdout] | [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] 184 | pub struct Rating(u8); [INFO] [stdout] | ----------------- function or associated item `try_new` not found for this struct [INFO] [stdout] 185 | [INFO] [stdout] 186 | 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 98) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `seventy` [INFO] [stdout] --> src/lib.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | use seventy::{seventy, Newtype}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/seventy.rs, use `mod seventy` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 98 + mod seventy; [INFO] [stdout] | [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] 102 | pub struct Message(String); [INFO] [stdout] | ------------------ function or associated item `try_new` not found for this struct [INFO] [stdout] 103 | [INFO] [stdout] 104 | 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] 51 | use seventy::{seventy, Newtype}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `seventy` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/seventy.rs, use `mod seventy` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 50 + mod seventy; [INFO] [stdout] | [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] 54 | pub struct Email(String); [INFO] [stdout] | ---------------- function or associated item `try_new` not found for this struct [INFO] [stdout] 55 | [INFO] [stdout] 56 | 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] [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.26s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4c858ab6b21170345257c2ef57bcdb6ff975b7aeb582f0b8613b0db6eb373a7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c858ab6b21170345257c2ef57bcdb6ff975b7aeb582f0b8613b0db6eb373a7f", kill_on_drop: false }` [INFO] [stdout] 4c858ab6b21170345257c2ef57bcdb6ff975b7aeb582f0b8613b0db6eb373a7f