[INFO] fetching crate clap_lex_cryo 0.5.0... [INFO] testing clap_lex_cryo-0.5.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate clap_lex_cryo 0.5.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate clap_lex_cryo 0.5.0 [INFO] finished tweaking crates.io crate clap_lex_cryo 0.5.0 [INFO] tweaked toml for crates.io crate clap_lex_cryo 0.5.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate clap_lex_cryo 0.5.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bf3aedd7550d22af415be885fbc0f78152f46fcfa451153977e689c229d0bb9 [INFO] running `Command { std: "docker" "start" "-a" "5bf3aedd7550d22af415be885fbc0f78152f46fcfa451153977e689c229d0bb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bf3aedd7550d22af415be885fbc0f78152f46fcfa451153977e689c229d0bb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bf3aedd7550d22af415be885fbc0f78152f46fcfa451153977e689c229d0bb9", kill_on_drop: false }` [INFO] [stdout] 5bf3aedd7550d22af415be885fbc0f78152f46fcfa451153977e689c229d0bb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 956f4c6e88f910b35b63455a9464dc659edeb8b92228ed8af086f8ef2aa3cce4 [INFO] running `Command { std: "docker" "start" "-a" "956f4c6e88f910b35b63455a9464dc659edeb8b92228ed8af086f8ef2aa3cce4", kill_on_drop: false }` [INFO] [stderr] Compiling clap_lex_cryo v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "956f4c6e88f910b35b63455a9464dc659edeb8b92228ed8af086f8ef2aa3cce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "956f4c6e88f910b35b63455a9464dc659edeb8b92228ed8af086f8ef2aa3cce4", kill_on_drop: false }` [INFO] [stdout] 956f4c6e88f910b35b63455a9464dc659edeb8b92228ed8af086f8ef2aa3cce4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2248d83e311add0a1cb8b1c5994627d54171bb24edf93c2e99ff20de8247ffcc [INFO] running `Command { std: "docker" "start" "-a" "2248d83e311add0a1cb8b1c5994627d54171bb24edf93c2e99ff20de8247ffcc", kill_on_drop: false }` [INFO] [stderr] Compiling clap_lex_cryo v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "2248d83e311add0a1cb8b1c5994627d54171bb24edf93c2e99ff20de8247ffcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2248d83e311add0a1cb8b1c5994627d54171bb24edf93c2e99ff20de8247ffcc", kill_on_drop: false }` [INFO] [stdout] 2248d83e311add0a1cb8b1c5994627d54171bb24edf93c2e99ff20de8247ffcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e67c20b5aabd112998b76b48405f3005d841e7af0843b7b10a3ea86e08a32454 [INFO] running `Command { std: "docker" "start" "-a" "e67c20b5aabd112998b76b48405f3005d841e7af0843b7b10a3ea86e08a32454", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/clap_lex_cryo-d848b9ab5fa44c0b) [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 clap_lex_cryo [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test src/ext.rs - ext::OsStrExt::split (line 157) ... ignored [INFO] [stdout] test src/lib.rs - RawArgs::from_args (line 161) - compile ... FAILED [INFO] [stdout] test src/ext.rs - ext::OsStrExt::contains (line 13) ... FAILED [INFO] [stdout] test src/ext.rs - ext::OsStrExt::split (line 85) ... FAILED [INFO] [stdout] test src/lib.rs - (line 9) ... FAILED [INFO] [stdout] test src/ext.rs - ext::OsStrExt::split_once (line 170) ... FAILED [INFO] [stdout] test src/ext.rs - ext::OsStrExt::find (line 28) ... FAILED [INFO] [stdout] test src/ext.rs - ext::OsStrExt::split (line 115) ... FAILED [INFO] [stdout] test src/ext.rs - ext::OsStrExt::strip_prefix (line 55) ... FAILED [INFO] [stdout] test src/ext.rs - ext::OsStrExt::split (line 127) ... FAILED [INFO] [stdout] test src/ext.rs - ext::OsStrExt::split (line 146) ... FAILED [INFO] [stdout] test src/ext.rs - ext::OsStrExt::split (line 104) ... FAILED [INFO] [stdout] test src/ext.rs - ext::OsStrExt::split (line 136) ... FAILED [INFO] [stdout] test src/ext.rs - ext::OsStrExt::find (line 39) ... FAILED [INFO] [stdout] test src/lib.rs - RawArgs::new (line 178) - compile ... FAILED [INFO] [stdout] test src/lib.rs - RawArgs::cursor (line 196) - compile ... FAILED [INFO] [stdout] test src/ext.rs - ext::OsStrExt::starts_with (line 70) ... FAILED [INFO] [stdout] test src/lib.rs - RawArgs::remaining (line 235) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - RawArgs::from_args (line 161) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `clap_lex` [INFO] [stdout] --> src/lib.rs:163:11 [INFO] [stdout] | [INFO] [stdout] 4 | let raw = clap_lex::RawArgs::from_args(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `clap_lex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap_lex`, use `cargo add clap_lex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::RawArgs; [INFO] [stdout] | [INFO] [stdout] help: if you import `RawArgs`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - let raw = clap_lex::RawArgs::from_args(); [INFO] [stdout] 4 + let raw = RawArgs::from_args(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ext.rs - ext::OsStrExt::contains (line 13) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `clap_lex` [INFO] [stdout] --> src/ext.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clap_lex::OsStrExt as _; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `clap_lex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap_lex`, use `cargo add clap_lex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(bananas.contains("nana")); [INFO] [stdout] | ^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `contains` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 7 | assert!(!bananas.contains("apples")); [INFO] [stdout] | ^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `contains` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/ext.rs - ext::OsStrExt::split (line 85) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `clap_lex` [INFO] [stdout] --> src/ext.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap_lex::OsStrExt as _; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `clap_lex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap_lex`, use `cargo add clap_lex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:88:54 [INFO] [stdout] | [INFO] [stdout] 5 | let v: Vec<_> = OsStr::new("Mary had a little lamb").split(" ").collect(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `split` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `split_once` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | let v: Vec<_> = OsStr::new("Mary had a little lamb").split_once(" ").collect(); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 8 | let v: Vec<_> = OsStr::new("").split("X").collect(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `split` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `split_once` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | let v: Vec<_> = OsStr::new("").split_once("X").collect(); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:94:51 [INFO] [stdout] | [INFO] [stdout] 11 | let v: Vec<_> = OsStr::new("lionXXtigerXleopard").split("X").collect(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `split` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `split_once` with a similar name [INFO] [stdout] | [INFO] [stdout] 11 | let v: Vec<_> = OsStr::new("lionXXtigerXleopard").split_once("X").collect(); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:97:52 [INFO] [stdout] | [INFO] [stdout] 14 | let v: Vec<_> = OsStr::new("lion::tiger::leopard").split("::").collect(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `split` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `split_once` with a similar name [INFO] [stdout] | [INFO] [stdout] 14 | let v: Vec<_> = OsStr::new("lion::tiger::leopard").split_once("::").collect(); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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 - (line 9) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `clap_lex` [INFO] [stdout] --> src/lib.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 51 | let raw = clap_lex::RawArgs::new(raw); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `clap_lex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap_lex`, use `cargo add clap_lex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::RawArgs; [INFO] [stdout] | [INFO] [stdout] help: if you import `RawArgs`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 51 - let raw = clap_lex::RawArgs::new(raw); [INFO] [stdout] 51 + let raw = RawArgs::new(raw); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ext.rs - ext::OsStrExt::split_once (line 170) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `clap_lex` [INFO] [stdout] --> src/ext.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap_lex::OsStrExt as _; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `clap_lex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap_lex`, use `cargo add clap_lex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split_once` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:173:30 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(OsStr::new("cfg").split_once("="), None); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `split_once` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `split` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - assert_eq!(OsStr::new("cfg").split_once("="), None); [INFO] [stdout] 5 + assert_eq!(OsStr::new("cfg").split("="), None); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split_once` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:174:31 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(OsStr::new("cfg=").split_once("="), Some((OsStr::new("cfg"), OsStr::new("")))); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `split_once` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `split` with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(OsStr::new("cfg=").split_once("="), Some((OsStr::new("cfg"), OsStr::new("")))); [INFO] [stdout] 6 + assert_eq!(OsStr::new("cfg=").split("="), Some((OsStr::new("cfg"), OsStr::new("")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split_once` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(OsStr::new("cfg=foo").split_once("="), Some((OsStr::new("cfg"), OsStr::new("foo")))); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `split_once` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `split` with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - assert_eq!(OsStr::new("cfg=foo").split_once("="), Some((OsStr::new("cfg"), OsStr::new("foo")))); [INFO] [stdout] 7 + assert_eq!(OsStr::new("cfg=foo").split("="), Some((OsStr::new("cfg"), OsStr::new("foo")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split_once` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:176:38 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(OsStr::new("cfg=foo=bar").split_once("="), Some((OsStr::new("cfg"), OsStr::new("foo=bar")))); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `split_once` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `split` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(OsStr::new("cfg=foo=bar").split_once("="), Some((OsStr::new("cfg"), OsStr::new("foo=bar")))); [INFO] [stdout] 8 + assert_eq!(OsStr::new("cfg=foo=bar").split("="), Some((OsStr::new("cfg"), OsStr::new("foo=bar")))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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/ext.rs - ext::OsStrExt::find (line 28) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `clap_lex` [INFO] [stdout] --> src/ext.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clap_lex::OsStrExt as _; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `clap_lex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap_lex`, use `cargo add clap_lex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(s.find("L"), Some(0)); [INFO] [stdout] | ^^^^ method not found in `&OsStr` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `find` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(s.find("é"), Some(14)); [INFO] [stdout] | ^^^^ method not found in `&OsStr` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `find` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(s.find("par"), Some(17)); [INFO] [stdout] | ^^^^ method not found in `&OsStr` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `find` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/ext.rs - ext::OsStrExt::split (line 115) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `clap_lex` [INFO] [stdout] --> src/ext.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap_lex::OsStrExt as _; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `clap_lex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap_lex`, use `cargo add clap_lex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 6 | let d: Vec<_> = x.split("/").collect(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `split` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `split_once` with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | let d: Vec<_> = x.split_once("/").collect(); [INFO] [stdout] | +++++ [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/ext.rs - ext::OsStrExt::strip_prefix (line 55) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `clap_lex` [INFO] [stdout] --> src/ext.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap_lex::OsStrExt as _; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `clap_lex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap_lex`, use `cargo add clap_lex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `strip_prefix` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(OsStr::new("foo:bar").strip_prefix("foo:"), Some(OsStr::new("bar"))); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `strip_prefix` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `strip_prefix` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(OsStr::new("foo:bar").strip_prefix("bar"), None); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `strip_prefix` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `strip_prefix` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(OsStr::new("foofoo").strip_prefix("foo"), Some(OsStr::new("foo"))); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `strip_prefix` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/ext.rs - ext::OsStrExt::split (line 127) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `clap_lex` [INFO] [stdout] --> src/ext.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap_lex::OsStrExt as _; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `clap_lex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap_lex`, use `cargo add clap_lex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:130:35 [INFO] [stdout] | [INFO] [stdout] 5 | let d: Vec<_> = OsStr::new("010").split("0").collect(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `split` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `split_once` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | let d: Vec<_> = OsStr::new("010").split_once("0").collect(); [INFO] [stdout] | +++++ [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/ext.rs - ext::OsStrExt::split (line 146) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `clap_lex` [INFO] [stdout] --> src/ext.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap_lex::OsStrExt as _; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `clap_lex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap_lex`, use `cargo add clap_lex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 6 | let d: Vec<_> = x.split(" ").collect(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `split` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `split_once` with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | let d: Vec<_> = x.split_once(" ").collect(); [INFO] [stdout] | +++++ [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/ext.rs - ext::OsStrExt::split (line 104) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `clap_lex` [INFO] [stdout] --> src/ext.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap_lex::OsStrExt as _; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `clap_lex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap_lex`, use `cargo add clap_lex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 6 | let d: Vec<_> = x.split("|").collect(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `split` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `split_once` with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | let d: Vec<_> = x.split_once("|").collect(); [INFO] [stdout] | +++++ [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/ext.rs - ext::OsStrExt::split (line 136) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `clap_lex` [INFO] [stdout] --> src/ext.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap_lex::OsStrExt as _; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `clap_lex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap_lex`, use `cargo add clap_lex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `split` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:139:36 [INFO] [stdout] | [INFO] [stdout] 5 | let f: Vec<_> = OsStr::new("rust").split("").collect(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `split` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `split_once` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | let f: Vec<_> = OsStr::new("rust").split_once("").collect(); [INFO] [stdout] | +++++ [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/ext.rs - ext::OsStrExt::find (line 39) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `clap_lex` [INFO] [stdout] --> src/ext.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clap_lex::OsStrExt as _; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `clap_lex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap_lex`, use `cargo add clap_lex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(s.find("1"), None); [INFO] [stdout] | ^^^^ method not found in `&OsStr` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `find` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [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 - RawArgs::new (line 178) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `clap_lex` [INFO] [stdout] --> src/lib.rs:180:11 [INFO] [stdout] | [INFO] [stdout] 4 | let raw = clap_lex::RawArgs::new(["bin", "foo.txt"]); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `clap_lex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap_lex`, use `cargo add clap_lex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::RawArgs; [INFO] [stdout] | [INFO] [stdout] help: if you import `RawArgs`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - let raw = clap_lex::RawArgs::new(["bin", "foo.txt"]); [INFO] [stdout] 4 + let raw = RawArgs::new(["bin", "foo.txt"]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RawArgs::cursor (line 196) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `clap_lex` [INFO] [stdout] --> src/lib.rs:198:11 [INFO] [stdout] | [INFO] [stdout] 4 | let raw = clap_lex::RawArgs::new(["bin", "foo.txt"]); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `clap_lex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap_lex`, use `cargo add clap_lex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::RawArgs; [INFO] [stdout] | [INFO] [stdout] help: if you import `RawArgs`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - let raw = clap_lex::RawArgs::new(["bin", "foo.txt"]); [INFO] [stdout] 4 + let raw = RawArgs::new(["bin", "foo.txt"]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ext.rs - ext::OsStrExt::starts_with (line 70) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `clap_lex` [INFO] [stdout] --> src/ext.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clap_lex::OsStrExt as _; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `clap_lex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap_lex`, use `cargo add clap_lex` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `starts_with` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(bananas.starts_with("bana")); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `starts_with` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `starts_with` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/ext.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 7 | assert!(!bananas.starts_with("nana")); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OsStrExt` which provides `starts_with` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::OsStrExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 - RawArgs::remaining (line 235) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `clap_lex` [INFO] [stdout] --> src/lib.rs:237:11 [INFO] [stdout] | [INFO] [stdout] 4 | let raw = clap_lex::RawArgs::new(["bin", "foo.txt"]); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `clap_lex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap_lex`, use `cargo add clap_lex` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use clap_lex_cryo::RawArgs; [INFO] [stdout] | [INFO] [stdout] help: if you import `RawArgs`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - let raw = clap_lex::RawArgs::new(["bin", "foo.txt"]); [INFO] [stdout] 4 + let raw = RawArgs::new(["bin", "foo.txt"]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/ext.rs - ext::OsStrExt::contains (line 13) [INFO] [stdout] src/ext.rs - ext::OsStrExt::find (line 28) [INFO] [stdout] src/ext.rs - ext::OsStrExt::find (line 39) [INFO] [stdout] src/ext.rs - ext::OsStrExt::split (line 104) [INFO] [stdout] src/ext.rs - ext::OsStrExt::split (line 115) [INFO] [stdout] src/ext.rs - ext::OsStrExt::split (line 127) [INFO] [stdout] src/ext.rs - ext::OsStrExt::split (line 136) [INFO] [stdout] src/ext.rs - ext::OsStrExt::split (line 146) [INFO] [stdout] src/ext.rs - ext::OsStrExt::split (line 85) [INFO] [stdout] src/ext.rs - ext::OsStrExt::split_once (line 170) [INFO] [stdout] src/ext.rs - ext::OsStrExt::starts_with (line 70) [INFO] [stdout] src/ext.rs - ext::OsStrExt::strip_prefix (line 55) [INFO] [stdout] src/lib.rs - (line 9) [INFO] [stdout] src/lib.rs - RawArgs::cursor (line 196) [INFO] [stdout] src/lib.rs - RawArgs::from_args (line 161) [INFO] [stdout] src/lib.rs - RawArgs::new (line 178) [INFO] [stdout] src/lib.rs - RawArgs::remaining (line 235) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 17 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e67c20b5aabd112998b76b48405f3005d841e7af0843b7b10a3ea86e08a32454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e67c20b5aabd112998b76b48405f3005d841e7af0843b7b10a3ea86e08a32454", kill_on_drop: false }` [INFO] [stdout] e67c20b5aabd112998b76b48405f3005d841e7af0843b7b10a3ea86e08a32454