[INFO] fetching crate splitter 0.2.5... [INFO] testing splitter-0.2.5 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate splitter 0.2.5 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate splitter 0.2.5 [INFO] finished tweaking crates.io crate splitter 0.2.5 [INFO] tweaked toml for crates.io crate splitter 0.2.5 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate splitter 0.2.5 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate splitter 0.2.5 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded splitter-derive v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9f22c10c54889a960477ad3f792c34bba9ed5462e178d08a3ff684debddb0cd [INFO] running `Command { std: "docker" "start" "-a" "c9f22c10c54889a960477ad3f792c34bba9ed5462e178d08a3ff684debddb0cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9f22c10c54889a960477ad3f792c34bba9ed5462e178d08a3ff684debddb0cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9f22c10c54889a960477ad3f792c34bba9ed5462e178d08a3ff684debddb0cd", kill_on_drop: false }` [INFO] [stdout] c9f22c10c54889a960477ad3f792c34bba9ed5462e178d08a3ff684debddb0cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d882b5ef1720168c8133f83772535f04c44eddd7d303f9fb5e277964873f9b8 [INFO] running `Command { std: "docker" "start" "-a" "4d882b5ef1720168c8133f83772535f04c44eddd7d303f9fb5e277964873f9b8", kill_on_drop: false }` [INFO] [stderr] Compiling splitter v0.2.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "4d882b5ef1720168c8133f83772535f04c44eddd7d303f9fb5e277964873f9b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d882b5ef1720168c8133f83772535f04c44eddd7d303f9fb5e277964873f9b8", kill_on_drop: false }` [INFO] [stdout] 4d882b5ef1720168c8133f83772535f04c44eddd7d303f9fb5e277964873f9b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79e81ada8b517382856f9be2328ec3360e40d6434e0850a2cdf6b2c4d7bb0439 [INFO] running `Command { std: "docker" "start" "-a" "79e81ada8b517382856f9be2328ec3360e40d6434e0850a2cdf6b2c4d7bb0439", kill_on_drop: false }` [INFO] [stderr] Compiling splitter v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Info` in this scope [INFO] [stdout] --> examples/derive_struct.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, PartialEq, Info)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Info` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive_struct.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use splitter::{Info, Splitter}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Info` in this scope [INFO] [stdout] --> examples/derive_struct.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, PartialEq, Info)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Info` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive_struct.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use splitter::{Info, Splitter}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> examples/derive_struct.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | #[splitter(u8)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `StrInfo` in this scope [INFO] [stdout] --> examples/derive_struct.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug, PartialEq, StrInfo)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrInfo` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive_struct.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | use splitter::{StrInfo, StrSplitter}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `splitter::info::span` [INFO] [stdout] --> tests/infos.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use splitter::info::span::Span; [INFO] [stdout] | ^^^^ could not find `span` in `info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `splitter::str_info::span` [INFO] [stdout] --> tests/infos.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | use splitter::str_info::span::Span; [INFO] [stdout] | ^^^^ could not find `span` in `str_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `splitter::str_info::pos` [INFO] [stdout] --> tests/infos.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | use splitter::str_info::pos::Pos; [INFO] [stdout] | ^^^ could not find `pos` in `str_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Info` in this scope [INFO] [stdout] --> examples/derive_enum.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, PartialEq, Info)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Info` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive_enum.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | use splitter::{Splitter, Info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `slice::run::Custom<'_, u8>: Info<'_, u8>` is not satisfied [INFO] [stdout] --> examples/derive_struct.rs:18:68 [INFO] [stdout] | [INFO] [stdout] 18 | let sp = Splitter::new(b"bytes example", b" ").with_info::>(); [INFO] [stdout] | --------- ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Info<'_, u8>` is not implemented for `slice::run::Custom<'_, u8>` [INFO] [stdout] --> examples/derive_struct.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | struct Custom<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `Info<'a, T>` is implemented for `&'a [T]` [INFO] [stdout] note: required by a bound in `Splitter::<'a, T, H, S, E>::with_info` [INFO] [stdout] --> /opt/rustwide/workdir/src/splitter.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn with_info>(self) -> Splitter<'a, T, I, S, E> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Splitter::<'a, T, H, S, E>::with_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> examples/derive_enum.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | #[splitter(u8)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> examples/derive_enum.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | #[splitter(b" " | b"\n")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Info` in this scope [INFO] [stdout] --> tests/derive.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, PartialEq, Info)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Info` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use splitter::{StrSplitter, Splitter, StrInfo, Info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `Splitter<'_, u8, slice::run::Custom<'_, u8>, &[u8; 1], fn(&[u8]) -> NonZero>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive_struct.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 13 | struct Custom<'a, T> { [INFO] [stdout] | -------------------- doesn't satisfy `slice::run::Custom<'_, u8>: Info<'_, u8>` [INFO] [stdout] ... [INFO] [stdout] 20 | sp.collect::>(), [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/splitter.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Splitter<'a, T, I, S, F = fn(&'a [T]) -> NonZeroUsize> [INFO] [stdout] | ----------------------------------------------------------------- doesn't satisfy `_: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `slice::run::Custom<'_, u8>: Info<'_, u8>` [INFO] [stdout] which is required by `Splitter<'_, u8, slice::run::Custom<'_, u8>, &[u8; 1], fn(&[u8]) -> NonZero>: Iterator` [INFO] [stdout] `Splitter<'_, u8, slice::run::Custom<'_, u8>, &[u8; 1], fn(&[u8]) -> NonZero>: Iterator` [INFO] [stdout] which is required by `&mut Splitter<'_, u8, slice::run::Custom<'_, u8>, &[u8; 1], fn(&[u8]) -> NonZero>: Iterator` [INFO] [stdout] note: the trait `Info` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/info/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait Info<'a, T>: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CustomU8<'_>: Info<'_, u8>` is not satisfied [INFO] [stdout] --> examples/derive_struct.rs:38:68 [INFO] [stdout] | [INFO] [stdout] 38 | let sp = Splitter::new(b"bytes example", b" ").with_info::(); [INFO] [stdout] | --------- ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Info<'_, u8>` is not implemented for `CustomU8<'_>` [INFO] [stdout] --> examples/derive_struct.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | struct CustomU8<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `Info<'a, T>` is implemented for `&'a [T]` [INFO] [stdout] note: required by a bound in `Splitter::<'a, T, H, S, E>::with_info` [INFO] [stdout] --> /opt/rustwide/workdir/src/splitter.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn with_info>(self) -> Splitter<'a, T, I, S, E> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Splitter::<'a, T, H, S, E>::with_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `Splitter<'_, u8, CustomU8<'_>, &[u8; 1], fn(&[u8]) -> NonZero>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive_struct.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 31 | struct CustomU8<'a> { [INFO] [stdout] | ------------------- doesn't satisfy `CustomU8<'_>: Info<'_, u8>` [INFO] [stdout] ... [INFO] [stdout] 40 | sp.collect::>(), [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/splitter.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Splitter<'a, T, I, S, F = fn(&'a [T]) -> NonZeroUsize> [INFO] [stdout] | ----------------------------------------------------------------- doesn't satisfy `_: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `CustomU8<'_>: Info<'_, u8>` [INFO] [stdout] which is required by `Splitter<'_, u8, CustomU8<'_>, &[u8; 1], fn(&[u8]) -> NonZero>: Iterator` [INFO] [stdout] `Splitter<'_, u8, CustomU8<'_>, &[u8; 1], fn(&[u8]) -> NonZero>: Iterator` [INFO] [stdout] which is required by `&mut Splitter<'_, u8, CustomU8<'_>, &[u8; 1], fn(&[u8]) -> NonZero>: Iterator` [INFO] [stdout] note: the trait `Info` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/info/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait Info<'a, T>: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> examples/derive_enum.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | #[splitter(b":)")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> examples/derive_enum.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | #[splitter(s if is_number(s))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> examples/derive_enum.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[splitter(_)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `string::run::Custom<'_>: StrInfo<'_>` is not satisfied [INFO] [stdout] --> examples/derive_struct.rs:63:69 [INFO] [stdout] | [INFO] [stdout] 63 | let sp = StrSplitter::new("bytes example", " ").with_info::(); [INFO] [stdout] | --------- ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `StrInfo<'_>` is not implemented for `string::run::Custom<'_>` [INFO] [stdout] --> examples/derive_struct.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | struct Custom<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `StrInfo<'a>` is implemented for `&'a str` [INFO] [stdout] note: required by a bound in `StrSplitter::<'a, H, S>::with_info` [INFO] [stdout] --> /opt/rustwide/workdir/src/string/mod.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn with_info>(self) -> StrSplitter<'a, I, S> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `StrSplitter::<'a, H, S>::with_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> tests/derive.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[splitter(u8)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `StrInfo` in this scope [INFO] [stdout] --> tests/derive.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, PartialEq, StrInfo)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrInfo` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use splitter::{StrSplitter, Splitter, StrInfo, Info}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `string::run::Custom<'_>: StrInfo<'_>` is not satisfied in `StrSplitter<'_, string::run::Custom<'_>, &str>` [INFO] [stdout] --> examples/derive_struct.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let sp = StrSplitter::new("bytes example", " ").with_info::(); [INFO] [stdout] | ^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `StrSplitter<'_, string::run::Custom<'_>, &str>`, the trait `StrInfo<'_>` is not implemented for `string::run::Custom<'_>` [INFO] [stdout] --> examples/derive_struct.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | struct Custom<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `StrInfo<'a>` is implemented for `&'a str` [INFO] [stdout] note: required because it appears within the type `StrSplitter<'_, string::run::Custom<'_>, &str>` [INFO] [stdout] --> /opt/rustwide/workdir/src/string/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct StrSplitter<'a, I, S> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `StrInfo` in this scope [INFO] [stdout] --> examples/derive_enum.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Debug, PartialEq, StrInfo)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrInfo` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/derive_enum.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | use splitter::{StrSplitter, StrInfo}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `StrSplitter<'_, string::run::Custom<'_>, &str>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive_struct.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 56 | struct Custom<'a> { [INFO] [stdout] | ----------------- doesn't satisfy `string::run::Custom<'_>: StrInfo<'_>` [INFO] [stdout] ... [INFO] [stdout] 65 | sp.collect::>(), [INFO] [stdout] | ^^^^^^^ method cannot be called on `StrSplitter<'_, string::run::Custom<'_>, &str>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/string/mod.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct StrSplitter<'a, I, S> [INFO] [stdout] | -------------------------------- doesn't satisfy `_: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `string::run::Custom<'_>: StrInfo<'_>` [INFO] [stdout] which is required by `StrSplitter<'_, string::run::Custom<'_>, &str>: Iterator` [INFO] [stdout] `StrSplitter<'_, string::run::Custom<'_>, &str>: Iterator` [INFO] [stdout] which is required by `&mut StrSplitter<'_, string::run::Custom<'_>, &str>: Iterator` [INFO] [stdout] note: the trait `StrInfo` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/string/info/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait StrInfo<'a>: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Info` in this scope [INFO] [stdout] --> tests/derive.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Info)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Info` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use splitter::{StrSplitter, Splitter, StrInfo, Info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `StrInfo` in this scope [INFO] [stdout] --> examples/lexer.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Copy, PartialEq, Eq, StrInfo)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrInfo` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/lexer.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use splitter::{StrInfo, StrSplitter}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> examples/derive_enum.rs:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | #[splitter(" " | "\n")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> examples/derive_enum.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | #[splitter(":)")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> examples/derive_enum.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | #[splitter(s if is_number(s))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `StrInfo` in this scope [INFO] [stdout] --> tests/derive.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(StrInfo)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrInfo` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use splitter::{StrSplitter, Splitter, StrInfo, Info}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `splitter` (example "derive_struct") due to 11 previous errors [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> examples/derive_enum.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 97 | #[splitter(_)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> examples/lexer.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[splitter(" " | "\t" | "\n" | "\r")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Info` in this scope [INFO] [stdout] --> tests/derive.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Info)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Info` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use splitter::{StrSplitter, Splitter, StrInfo, Info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> examples/lexer.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[splitter("true" | "false")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `StrInfo` in this scope [INFO] [stdout] --> tests/derive.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(StrInfo)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrInfo` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use splitter::{StrSplitter, Splitter, StrInfo, Info}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> examples/lexer.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[splitter("||" | "&&")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> examples/lexer.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[splitter(s if s.chars().all(char::is_alphabetic))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Info` in this scope [INFO] [stdout] --> tests/derive.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Info)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Info` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use splitter::{StrSplitter, Splitter, StrInfo, Info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `StrInfo` in this scope [INFO] [stdout] --> tests/derive.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(StrInfo)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrInfo` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use splitter::{StrSplitter, Splitter, StrInfo, Info}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `splitter` (test "infos") due to 3 previous errors [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> examples/lexer.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[splitter(_)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `StrInfo` in this scope [INFO] [stdout] --> examples/lexer.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq, StrInfo)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrInfo` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> examples/lexer.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use splitter::{StrInfo, StrSplitter}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Info` in this scope [INFO] [stdout] --> tests/derive.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Info)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Info` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use splitter::{StrSplitter, Splitter, StrInfo, Info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `StrInfo` in this scope [INFO] [stdout] --> tests/derive.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(StrInfo)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrInfo` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use splitter::{StrSplitter, Splitter, StrInfo, Info}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Info` in this scope [INFO] [stdout] --> tests/derive.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Info)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Info` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use splitter::{StrSplitter, Splitter, StrInfo, Info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SliceEnum: Info<'_, u8>` is not satisfied [INFO] [stdout] --> examples/derive_enum.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | ).with_info::(); [INFO] [stdout] | --------- ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Info<'_, u8>` is not implemented for `SliceEnum` [INFO] [stdout] --> examples/derive_enum.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | enum SliceEnum { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `Info<'a, T>` is implemented for `&'a [T]` [INFO] [stdout] note: required by a bound in `Splitter::<'a, T, H, S, E>::with_info` [INFO] [stdout] --> /opt/rustwide/workdir/src/splitter.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn with_info>(self) -> Splitter<'a, T, I, S, E> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Splitter::<'a, T, H, S, E>::with_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `StrInfo` in this scope [INFO] [stdout] --> tests/enum.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, PartialEq, StrInfo)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrInfo` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/enum.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use splitter::{StrSplitter, StrInfo}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> tests/derive.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | #[splitter(u8)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Info` in this scope [INFO] [stdout] --> tests/derive.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Info)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Info` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use splitter::{StrSplitter, Splitter, StrInfo, Info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> tests/enum.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[splitter(" " | "\n")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `Splitter<'_, u8, SliceEnum, [&str; 2], fn(&[u8]) -> NonZero>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive_enum.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 30 | enum SliceEnum { [INFO] [stdout] | -------------- doesn't satisfy `SliceEnum: Info<'_, u8>` [INFO] [stdout] ... [INFO] [stdout] 50 | sp.collect::>(), [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/splitter.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Splitter<'a, T, I, S, F = fn(&'a [T]) -> NonZeroUsize> [INFO] [stdout] | ----------------------------------------------------------------- doesn't satisfy `_: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `SliceEnum: Info<'_, u8>` [INFO] [stdout] which is required by `Splitter<'_, u8, SliceEnum, [&str; 2], fn(&[u8]) -> NonZero>: Iterator` [INFO] [stdout] `Splitter<'_, u8, SliceEnum, [&str; 2], fn(&[u8]) -> NonZero>: Iterator` [INFO] [stdout] which is required by `&mut Splitter<'_, u8, SliceEnum, [&str; 2], fn(&[u8]) -> NonZero>: Iterator` [INFO] [stdout] note: the trait `Info` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/info/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait Info<'a, T>: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> tests/enum.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[splitter(":)")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> tests/derive.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | #[splitter(T)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Info` in this scope [INFO] [stdout] --> tests/derive.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Info)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Info` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use splitter::{StrSplitter, Splitter, StrInfo, Info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> tests/derive.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | #[splitter(T)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Info` in this scope [INFO] [stdout] --> tests/derive.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | #[derive(Info)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Info` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use splitter::{StrSplitter, Splitter, StrInfo, Info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> tests/enum.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[splitter(s if s.chars().all(char::is_numeric))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StrEnum: StrInfo<'_>` is not satisfied [INFO] [stdout] --> examples/derive_enum.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | ).with_info::(); [INFO] [stdout] | --------- ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `StrInfo<'_>` is not implemented for `StrEnum` [INFO] [stdout] --> examples/derive_enum.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | enum StrEnum { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `StrInfo<'a>` is implemented for `&'a str` [INFO] [stdout] note: required by a bound in `StrSplitter::<'a, H, S>::with_info` [INFO] [stdout] --> /opt/rustwide/workdir/src/string/mod.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn with_info>(self) -> StrSplitter<'a, I, S> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `StrSplitter::<'a, H, S>::with_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StrEnum: StrInfo<'_>` is not satisfied in `StrSplitter<'_, StrEnum, [&str; 2]>` [INFO] [stdout] --> examples/derive_enum.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let sp = StrSplitter::new( [INFO] [stdout] | ^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `StrSplitter<'_, StrEnum, [&str; 2]>`, the trait `StrInfo<'_>` is not implemented for `StrEnum` [INFO] [stdout] --> examples/derive_enum.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | enum StrEnum { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `StrInfo<'a>` is implemented for `&'a str` [INFO] [stdout] note: required because it appears within the type `StrSplitter<'_, StrEnum, [&str; 2]>` [INFO] [stdout] --> /opt/rustwide/workdir/src/string/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct StrSplitter<'a, I, S> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Token<'_>: StrInfo<'_>` is not satisfied [INFO] [stdout] --> examples/lexer.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | ).with_info::(); [INFO] [stdout] | --------- ^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `StrInfo<'_>` is not implemented for `Token<'_>` [INFO] [stdout] --> examples/lexer.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Token<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `StrInfo<'a>` is implemented for `&'a str` [INFO] [stdout] note: required by a bound in `StrSplitter::<'a, H, S>::with_info` [INFO] [stdout] --> /opt/rustwide/workdir/src/string/mod.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn with_info>(self) -> StrSplitter<'a, I, S> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `StrSplitter::<'a, H, S>::with_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> tests/derive.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 119 | #[splitter(E)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `StrSplitter<'_, Token<'_>, &str>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/lexer.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 24 | struct Token<'a> { [INFO] [stdout] | ---------------- doesn't satisfy `Token<'_>: StrInfo<'_>` [INFO] [stdout] ... [INFO] [stdout] 38 | let tokens = sp.collect::>(); [INFO] [stdout] | ^^^^^^^ method cannot be called on `StrSplitter<'_, Token<'_>, &str>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/string/mod.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct StrSplitter<'a, I, S> [INFO] [stdout] | -------------------------------- doesn't satisfy `StrSplitter<'_, Token<'_>, &str>: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Token<'_>: StrInfo<'_>` [INFO] [stdout] which is required by `StrSplitter<'_, Token<'_>, &str>: Iterator` [INFO] [stdout] `StrSplitter<'_, Token<'_>, &str>: Iterator` [INFO] [stdout] which is required by `&mut StrSplitter<'_, Token<'_>, &str>: Iterator` [INFO] [stdout] note: the trait `StrInfo` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/string/info/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait StrInfo<'a>: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `splitter` (example "lexer") due to 10 previous errors [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> tests/enum.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[splitter(_)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Info` in this scope [INFO] [stdout] --> tests/enum.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, PartialEq, Info)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Info` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/enum.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | use splitter::{Splitter, Info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Token<'_>: StrInfo<'_>` is not satisfied in `StrSplitter<'_, Token<'_>, &str>` [INFO] [stdout] --> examples/lexer.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let sp = StrSplitter::new( [INFO] [stdout] | ^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `StrSplitter<'_, Token<'_>, &str>`, the trait `StrInfo<'_>` is not implemented for `Token<'_>` [INFO] [stdout] --> examples/lexer.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | struct Token<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `StrInfo<'a>` is implemented for `&'a str` [INFO] [stdout] note: required because it appears within the type `StrSplitter<'_, Token<'_>, &str>` [INFO] [stdout] --> /opt/rustwide/workdir/src/string/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct StrSplitter<'a, I, S> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `StrSplitter<'_, StrEnum, [&str; 2]>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/derive_enum.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 87 | enum StrEnum { [INFO] [stdout] | ------------ doesn't satisfy `StrEnum: StrInfo<'_>` [INFO] [stdout] ... [INFO] [stdout] 107 | sp.collect::>(), [INFO] [stdout] | ^^^^^^^ method cannot be called on `StrSplitter<'_, StrEnum, [&str; 2]>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/string/mod.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct StrSplitter<'a, I, S> [INFO] [stdout] | -------------------------------- doesn't satisfy `StrSplitter<'_, StrEnum, [&str; 2]>: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StrEnum: StrInfo<'_>` [INFO] [stdout] which is required by `StrSplitter<'_, StrEnum, [&str; 2]>: Iterator` [INFO] [stdout] `StrSplitter<'_, StrEnum, [&str; 2]>: Iterator` [INFO] [stdout] which is required by `&mut StrSplitter<'_, StrEnum, [&str; 2]>: Iterator` [INFO] [stdout] note: the trait `StrInfo` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/string/info/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait StrInfo<'a>: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> tests/enum.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | #[splitter(u8)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> tests/enum.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[splitter(b" " | b"\n")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Info` in this scope [INFO] [stdout] --> tests/derive.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | #[derive(Info)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Info` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use splitter::{StrSplitter, Splitter, StrInfo, Info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> tests/derive.rs:129:7 [INFO] [stdout] | [INFO] [stdout] 129 | #[splitter(E)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `StrInfo` in this scope [INFO] [stdout] --> tests/derive.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(StrInfo)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrInfo` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use splitter::{StrSplitter, Splitter, StrInfo, Info}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> tests/enum.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[splitter(b":)")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `StrInfo` in this scope [INFO] [stdout] --> tests/derive.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(StrInfo)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrInfo` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use splitter::{StrSplitter, Splitter, StrInfo, Info}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> tests/enum.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[splitter(bs if bs == b"15")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> tests/enum.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | #[splitter(_)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `StrInfo` in this scope [INFO] [stdout] --> tests/derive.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | #[derive(StrInfo)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrInfo` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use splitter::{StrSplitter, Splitter, StrInfo, Info}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Info` in this scope [INFO] [stdout] --> tests/derive.rs:159:32 [INFO] [stdout] | [INFO] [stdout] 159 | #[derive(Debug, PartialEq, Info)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Info` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | use splitter::{StrSplitter, Splitter, StrInfo, Info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `splitter` in this scope [INFO] [stdout] --> tests/derive.rs:160:7 [INFO] [stdout] | [INFO] [stdout] 160 | #[splitter(u8)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `splitter` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `StrInfo` in this scope [INFO] [stdout] --> tests/derive.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(Debug, PartialEq, StrInfo)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StrInfo` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/derive.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use splitter::{StrSplitter, Splitter, StrInfo, Info}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `splitter` (example "derive_enum") due to 16 previous errors [INFO] [stdout] error[E0277]: the trait bound `impls::Custom<'_>: Info<'_, u8>` is not satisfied [INFO] [stdout] --> tests/derive.rs:14:64 [INFO] [stdout] | [INFO] [stdout] 14 | let sp = Splitter::new(b"bytes example", b" ").with_info::(); [INFO] [stdout] | --------- ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Info<'_, u8>` is not implemented for `impls::Custom<'_>` [INFO] [stdout] --> tests/derive.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Custom<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `Info<'a, T>` is implemented for `&'a [T]` [INFO] [stdout] note: required by a bound in `Splitter::<'a, T, H, S, E>::with_info` [INFO] [stdout] --> /opt/rustwide/workdir/src/splitter.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn with_info>(self) -> Splitter<'a, T, I, S, E> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Splitter::<'a, T, H, S, E>::with_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `Splitter<'_, u8, impls::Custom<'_>, &[u8; 1], fn(&[u8]) -> NonZero>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 10 | struct Custom<'a> { [INFO] [stdout] | ----------------- doesn't satisfy `impls::Custom<'_>: Info<'_, u8>` [INFO] [stdout] ... [INFO] [stdout] 16 | sp.collect::>(), [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/splitter.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Splitter<'a, T, I, S, F = fn(&'a [T]) -> NonZeroUsize> [INFO] [stdout] | ----------------------------------------------------------------- doesn't satisfy `_: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `impls::Custom<'_>: Info<'_, u8>` [INFO] [stdout] which is required by `Splitter<'_, u8, impls::Custom<'_>, &[u8; 1], fn(&[u8]) -> NonZero>: Iterator` [INFO] [stdout] `Splitter<'_, u8, impls::Custom<'_>, &[u8; 1], fn(&[u8]) -> NonZero>: Iterator` [INFO] [stdout] which is required by `&mut Splitter<'_, u8, impls::Custom<'_>, &[u8; 1], fn(&[u8]) -> NonZero>: Iterator` [INFO] [stdout] note: the trait `Info` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/info/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait Info<'a, T>: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `impls::StrCustom<'_>: StrInfo<'_>` is not satisfied [INFO] [stdout] --> tests/derive.rs:30:65 [INFO] [stdout] | [INFO] [stdout] 30 | let sp = StrSplitter::new("bytes example", " ").with_info::(); [INFO] [stdout] | --------- ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `StrInfo<'_>` is not implemented for `impls::StrCustom<'_>` [INFO] [stdout] --> tests/derive.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct StrCustom<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `StrInfo<'a>` is implemented for `&'a str` [INFO] [stdout] note: required by a bound in `StrSplitter::<'a, H, S>::with_info` [INFO] [stdout] --> /opt/rustwide/workdir/src/string/mod.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn with_info>(self) -> StrSplitter<'a, I, S> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `StrSplitter::<'a, H, S>::with_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `impls::StrCustom<'_>: StrInfo<'_>` is not satisfied in `StrSplitter<'_, impls::StrCustom<'_>, &str>` [INFO] [stdout] --> tests/derive.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let sp = StrSplitter::new("bytes example", " ").with_info::(); [INFO] [stdout] | ^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `StrSplitter<'_, impls::StrCustom<'_>, &str>`, the trait `StrInfo<'_>` is not implemented for `impls::StrCustom<'_>` [INFO] [stdout] --> tests/derive.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct StrCustom<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `StrInfo<'a>` is implemented for `&'a str` [INFO] [stdout] note: required because it appears within the type `StrSplitter<'_, impls::StrCustom<'_>, &str>` [INFO] [stdout] --> /opt/rustwide/workdir/src/string/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct StrSplitter<'a, I, S> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `StrSplitter<'_, impls::StrCustom<'_>, &str>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 25 | struct StrCustom<'a> { [INFO] [stdout] | -------------------- doesn't satisfy `impls::StrCustom<'_>: StrInfo<'_>` [INFO] [stdout] ... [INFO] [stdout] 32 | sp.collect::>(), [INFO] [stdout] | ^^^^^^^ method cannot be called on `StrSplitter<'_, impls::StrCustom<'_>, &str>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/string/mod.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct StrSplitter<'a, I, S> [INFO] [stdout] | -------------------------------- doesn't satisfy `_: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `impls::StrCustom<'_>: StrInfo<'_>` [INFO] [stdout] which is required by `StrSplitter<'_, impls::StrCustom<'_>, &str>: Iterator` [INFO] [stdout] `StrSplitter<'_, impls::StrCustom<'_>, &str>: Iterator` [INFO] [stdout] which is required by `&mut StrSplitter<'_, impls::StrCustom<'_>, &str>: Iterator` [INFO] [stdout] note: the trait `StrInfo` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/string/info/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait StrInfo<'a>: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tuple::Custom<'_>: Info<'_, u8>` is not satisfied [INFO] [stdout] --> tests/derive.rs:163:64 [INFO] [stdout] | [INFO] [stdout] 163 | let sp = Splitter::new(b"bytes example", b" ").with_info::(); [INFO] [stdout] | --------- ^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Info<'_, u8>` is not implemented for `tuple::Custom<'_>` [INFO] [stdout] --> tests/derive.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | struct Custom<'a>(&'a [u8]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `Info<'a, T>` is implemented for `&'a [T]` [INFO] [stdout] note: required by a bound in `Splitter::<'a, T, H, S, E>::with_info` [INFO] [stdout] --> /opt/rustwide/workdir/src/splitter.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn with_info>(self) -> Splitter<'a, T, I, S, E> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Splitter::<'a, T, H, S, E>::with_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `Splitter<'_, u8, tuple::Custom<'_>, &[u8; 1], fn(&[u8]) -> NonZero>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 161 | struct Custom<'a>(&'a [u8]); [INFO] [stdout] | ----------------- doesn't satisfy `tuple::Custom<'_>: Info<'_, u8>` [INFO] [stdout] ... [INFO] [stdout] 165 | sp.collect::>(), [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/splitter.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Splitter<'a, T, I, S, F = fn(&'a [T]) -> NonZeroUsize> [INFO] [stdout] | ----------------------------------------------------------------- doesn't satisfy `_: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `tuple::Custom<'_>: Info<'_, u8>` [INFO] [stdout] which is required by `Splitter<'_, u8, tuple::Custom<'_>, &[u8; 1], fn(&[u8]) -> NonZero>: Iterator` [INFO] [stdout] `Splitter<'_, u8, tuple::Custom<'_>, &[u8; 1], fn(&[u8]) -> NonZero>: Iterator` [INFO] [stdout] which is required by `&mut Splitter<'_, u8, tuple::Custom<'_>, &[u8; 1], fn(&[u8]) -> NonZero>: Iterator` [INFO] [stdout] note: the trait `Info` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/info/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait Info<'a, T>: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tuple::StrCustom<'_>: StrInfo<'_>` is not satisfied [INFO] [stdout] --> tests/derive.rs:176:65 [INFO] [stdout] | [INFO] [stdout] 176 | let sp = StrSplitter::new("bytes example", " ").with_info::(); [INFO] [stdout] | --------- ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `StrInfo<'_>` is not implemented for `tuple::StrCustom<'_>` [INFO] [stdout] --> tests/derive.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | struct StrCustom<'a>(&'a str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `StrInfo<'a>` is implemented for `&'a str` [INFO] [stdout] note: required by a bound in `StrSplitter::<'a, H, S>::with_info` [INFO] [stdout] --> /opt/rustwide/workdir/src/string/mod.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn with_info>(self) -> StrSplitter<'a, I, S> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `StrSplitter::<'a, H, S>::with_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StrEnum: StrInfo<'_>` is not satisfied [INFO] [stdout] --> tests/enum.rs:21:81 [INFO] [stdout] | [INFO] [stdout] 21 | let sp = StrSplitter::new("hello\nsplitter :) 15", [" ", "\n"]).with_info::(); [INFO] [stdout] | --------- ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `StrInfo<'_>` is not implemented for `StrEnum` [INFO] [stdout] --> tests/enum.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | enum StrEnum { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `StrInfo<'a>` is implemented for `&'a str` [INFO] [stdout] note: required by a bound in `StrSplitter::<'a, H, S>::with_info` [INFO] [stdout] --> /opt/rustwide/workdir/src/string/mod.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn with_info>(self) -> StrSplitter<'a, I, S> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `StrSplitter::<'a, H, S>::with_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `StrEnum: StrInfo<'_>` is not satisfied in `StrSplitter<'_, StrEnum, [&str; 2]>` [INFO] [stdout] --> tests/enum.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let sp = StrSplitter::new("hello\nsplitter :) 15", [" ", "\n"]).with_info::(); [INFO] [stdout] | ^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `StrSplitter<'_, StrEnum, [&str; 2]>`, the trait `StrInfo<'_>` is not implemented for `StrEnum` [INFO] [stdout] --> tests/enum.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | enum StrEnum { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `StrInfo<'a>` is implemented for `&'a str` [INFO] [stdout] note: required because it appears within the type `StrSplitter<'_, StrEnum, [&str; 2]>` [INFO] [stdout] --> /opt/rustwide/workdir/src/string/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct StrSplitter<'a, I, S> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tuple::StrCustom<'_>: StrInfo<'_>` is not satisfied in `StrSplitter<'_, tuple::StrCustom<'_>, &str>` [INFO] [stdout] --> tests/derive.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | let sp = StrSplitter::new("bytes example", " ").with_info::(); [INFO] [stdout] | ^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `StrSplitter<'_, tuple::StrCustom<'_>, &str>`, the trait `StrInfo<'_>` is not implemented for `tuple::StrCustom<'_>` [INFO] [stdout] --> tests/derive.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | struct StrCustom<'a>(&'a str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `StrInfo<'a>` is implemented for `&'a str` [INFO] [stdout] note: required because it appears within the type `StrSplitter<'_, tuple::StrCustom<'_>, &str>` [INFO] [stdout] --> /opt/rustwide/workdir/src/string/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct StrSplitter<'a, I, S> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `StrSplitter<'_, tuple::StrCustom<'_>, &str>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 174 | struct StrCustom<'a>(&'a str); [INFO] [stdout] | -------------------- doesn't satisfy `tuple::StrCustom<'_>: StrInfo<'_>` [INFO] [stdout] ... [INFO] [stdout] 178 | sp.collect::>(), [INFO] [stdout] | ^^^^^^^ method cannot be called on `StrSplitter<'_, tuple::StrCustom<'_>, &str>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/string/mod.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct StrSplitter<'a, I, S> [INFO] [stdout] | -------------------------------- doesn't satisfy `_: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `tuple::StrCustom<'_>: StrInfo<'_>` [INFO] [stdout] which is required by `StrSplitter<'_, tuple::StrCustom<'_>, &str>: Iterator` [INFO] [stdout] `StrSplitter<'_, tuple::StrCustom<'_>, &str>: Iterator` [INFO] [stdout] which is required by `&mut StrSplitter<'_, tuple::StrCustom<'_>, &str>: Iterator` [INFO] [stdout] note: the trait `StrInfo` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/string/info/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait StrInfo<'a>: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `StrSplitter<'_, StrEnum, [&str; 2]>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/enum.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 5 | enum StrEnum { [INFO] [stdout] | ------------ doesn't satisfy `StrEnum: StrInfo<'_>` [INFO] [stdout] ... [INFO] [stdout] 23 | sp.collect::>(), [INFO] [stdout] | ^^^^^^^ method cannot be called on `StrSplitter<'_, StrEnum, [&str; 2]>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/string/mod.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct StrSplitter<'a, I, S> [INFO] [stdout] | -------------------------------- doesn't satisfy `StrSplitter<'_, StrEnum, [&str; 2]>: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `StrEnum: StrInfo<'_>` [INFO] [stdout] which is required by `StrSplitter<'_, StrEnum, [&str; 2]>: Iterator` [INFO] [stdout] `StrSplitter<'_, StrEnum, [&str; 2]>: Iterator` [INFO] [stdout] which is required by `&mut StrSplitter<'_, StrEnum, [&str; 2]>: Iterator` [INFO] [stdout] note: the trait `StrInfo` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/string/info/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait StrInfo<'a>: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SliceEnum: Info<'_, u8>` is not satisfied [INFO] [stdout] --> tests/enum.rs:56:81 [INFO] [stdout] | [INFO] [stdout] 56 | let sp = Splitter::new(b"hello\nsplitter :) 15", [b" ", b"\n"]).with_info::(); [INFO] [stdout] | --------- ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Info<'_, u8>` is not implemented for `SliceEnum` [INFO] [stdout] --> tests/enum.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | enum SliceEnum { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `Info<'a, T>` is implemented for `&'a [T]` [INFO] [stdout] note: required by a bound in `Splitter::<'a, T, H, S, E>::with_info` [INFO] [stdout] --> /opt/rustwide/workdir/src/splitter.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn with_info>(self) -> Splitter<'a, T, I, S, E> { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `Splitter::<'a, T, H, S, E>::with_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `collect` exists for struct `Splitter<'_, u8, SliceEnum, [&[u8; 1]; 2], fn(&[u8]) -> NonZero>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/enum.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 40 | enum SliceEnum { [INFO] [stdout] | -------------- doesn't satisfy `SliceEnum: Info<'_, u8>` [INFO] [stdout] ... [INFO] [stdout] 58 | sp.collect::>(), [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/splitter.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Splitter<'a, T, I, S, F = fn(&'a [T]) -> NonZeroUsize> [INFO] [stdout] | ----------------------------------------------------------------- doesn't satisfy `_: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `SliceEnum: Info<'_, u8>` [INFO] [stdout] which is required by `Splitter<'_, u8, SliceEnum, [&[u8; 1]; 2], fn(&[u8]) -> NonZero>: Iterator` [INFO] [stdout] `Splitter<'_, u8, SliceEnum, [&[u8; 1]; 2], fn(&[u8]) -> NonZero>: Iterator` [INFO] [stdout] which is required by `&mut Splitter<'_, u8, SliceEnum, [&[u8; 1]; 2], fn(&[u8]) -> NonZero>: Iterator` [INFO] [stdout] note: the trait `Info` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/info/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait Info<'a, T>: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `splitter` (test "derive") due to 37 previous errors [INFO] [stderr] error: could not compile `splitter` (test "enum") due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "79e81ada8b517382856f9be2328ec3360e40d6434e0850a2cdf6b2c4d7bb0439", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79e81ada8b517382856f9be2328ec3360e40d6434e0850a2cdf6b2c4d7bb0439", kill_on_drop: false }` [INFO] [stdout] 79e81ada8b517382856f9be2328ec3360e40d6434e0850a2cdf6b2c4d7bb0439