[INFO] fetching crate clap_cryo 4.3.21-cryo... [INFO] testing clap_cryo-4.3.21-cryo against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate clap_cryo 4.3.21-cryo into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate clap_cryo 4.3.21-cryo [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate clap_cryo 4.3.21-cryo [INFO] tweaked toml for crates.io crate clap_cryo 4.3.21-cryo written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate clap_cryo 4.3.21-cryo on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate clap_cryo 4.3.21-cryo 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c5719fdfafeb9dfdd86e13ecbc58db2602b2165d0e3eed549a836a93d2257c7 [INFO] running `Command { std: "docker" "start" "-a" "3c5719fdfafeb9dfdd86e13ecbc58db2602b2165d0e3eed549a836a93d2257c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c5719fdfafeb9dfdd86e13ecbc58db2602b2165d0e3eed549a836a93d2257c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c5719fdfafeb9dfdd86e13ecbc58db2602b2165d0e3eed549a836a93d2257c7", kill_on_drop: false }` [INFO] [stdout] 3c5719fdfafeb9dfdd86e13ecbc58db2602b2165d0e3eed549a836a93d2257c7 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62f513566cc4be442d5f5a7f740cabd4ee912b3806b82102b0dfa46e6dc36ef3 [INFO] running `Command { std: "docker" "start" "-a" "62f513566cc4be442d5f5a7f740cabd4ee912b3806b82102b0dfa46e6dc36ef3", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling clap_lex_cryo v0.5.0 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling clap_builder_cryo v4.3.21-cryo [INFO] [stderr] Compiling clap_cryo v4.3.21-cryo (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.39s [INFO] running `Command { std: "docker" "inspect" "62f513566cc4be442d5f5a7f740cabd4ee912b3806b82102b0dfa46e6dc36ef3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62f513566cc4be442d5f5a7f740cabd4ee912b3806b82102b0dfa46e6dc36ef3", kill_on_drop: false }` [INFO] [stdout] 62f513566cc4be442d5f5a7f740cabd4ee912b3806b82102b0dfa46e6dc36ef3 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 238c0959bc2b06f027308864f92e8710c89970fdc94e58e4a992cb1ec34bcbf3 [INFO] running `Command { std: "docker" "start" "-a" "238c0959bc2b06f027308864f92e8710c89970fdc94e58e4a992cb1ec34bcbf3", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling rustix v0.38.7 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling escargot v0.5.8 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling trybuild v1.0.82 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling similar v2.2.1 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling clap_lex_cryo v0.5.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling winnow v0.5.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling unic-emoji-char v0.9.0 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling os_pipe v1.1.4 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling snapbox-macros v0.3.4 [INFO] [stderr] Compiling clap_builder_cryo v4.3.21-cryo [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling clap_cryo v4.3.21-cryo (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_spanned v0.6.3 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling humantime-serde v1.1.1 [INFO] [stderr] Compiling basic-toml v0.1.4 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Compiling snapbox v0.4.11 [INFO] [stderr] Compiling trycmd v0.14.16 [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> examples/git.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::{arg, Command}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `clap` [INFO] [stdout] --> examples/git.rs:43:67 [INFO] [stdout] | [INFO] [stdout] 43 | .arg(arg!( ... "Stuff to add").value_parser(clap::value_parser!(PathBuf))), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/git.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | sub_matches.get_one::("REMOTE").expect("required") [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/git.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | let color = sub_matches [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/git.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | .map(|s| s.as_str()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 72 | .map(|s: /* Type */| s.as_str()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/git.rs:75:71 [INFO] [stdout] | [INFO] [stdout] 75 | let mut base = sub_matches.get_one::("base").map(|s| s.as_str()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 75 | let mut base = sub_matches.get_one::("base").map(|s: /* Type */| s.as_str()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/git.rs:76:71 [INFO] [stdout] | [INFO] [stdout] 76 | let mut head = sub_matches.get_one::("head").map(|s| s.as_str()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 76 | let mut head = sub_matches.get_one::("head").map(|s: /* Type */| s.as_str()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/git.rs:77:71 [INFO] [stdout] | [INFO] [stdout] 77 | let mut path = sub_matches.get_one::("path").map(|s| s.as_str()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 77 | let mut path = sub_matches.get_one::("path").map(|s: /* Type */| s.as_str()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/git.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | sub_matches.get_one::("REMOTE").expect("required") [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/git.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | let paths = sub_matches [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/git.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | let stash_command = sub_matches.subcommand().unwrap_or(("push", sub_matches)); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/git.rs:109:33 [INFO] [stdout] | [INFO] [stdout] 109 | let stash = sub_matches.get_one::("STASH"); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/git.rs:113:33 [INFO] [stdout] | [INFO] [stdout] 113 | let stash = sub_matches.get_one::("STASH"); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/git.rs:117:35 [INFO] [stdout] | [INFO] [stdout] 117 | let message = sub_matches.get_one::("message"); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/git.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | let args = sub_matches [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `clap` [INFO] [stdout] --> examples/git.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | fn push_args() -> Vec { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clap_cryo` (example "git") due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> examples/multicall-hostname.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::Command; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> examples/pacman.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{Arg, ArgAction, Command}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/pacman.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | if sync_matches.contains_id("search") { [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/pacman.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | .map(|s| s.as_str()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 78 | .map(|s: /* Type */| s.as_str()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> examples/tutorial_builder/02_apps.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{arg, Command}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/pacman.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 88 | .map(|s| s.as_str()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 88 | .map(|s: /* Type */| s.as_str()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/pacman.rs:99:37 [INFO] [stdout] | [INFO] [stdout] 99 | if let Some(packages) = query_matches.get_many::("info") { [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/pacman.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | let comma_sep = packages.map(|s| s.as_str()).collect::>().join(", "); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/pacman.rs:100:47 [INFO] [stdout] | [INFO] [stdout] 100 | let comma_sep = packages.map(|s| s.as_str()).collect::>().join(", "); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 100 | let comma_sep = packages.map(|s: /* Type */| s.as_str()).collect::>().join(", "); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/pacman.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | let comma_sep = queries.map(|s| s.as_str()).collect::>().join(", "); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/pacman.rs:103:46 [INFO] [stdout] | [INFO] [stdout] 103 | let comma_sep = queries.map(|s| s.as_str()).collect::>().join(", "); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 103 | let comma_sep = queries.map(|s: /* Type */| s.as_str()).collect::>().join(", "); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clap_cryo` (example "pacman") due to 9 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clap_cryo` (example "hostname") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> examples/multicall-busybox.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::{value_parser, Arg, ArgAction, Command}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> examples/multicall-busybox.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/multicall-busybox.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | if cmd.contains_id("install") { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> examples/repl.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::Command; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clap_cryo` (example "02_apps") due to 1 previous error [INFO] [stderr] error: could not compile `clap_cryo` (example "busybox") due to 2 previous errors; 1 warning emitted [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/repl.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | .map_err(|e| e.to_string())?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 33 | .map_err(|e: /* Type */| e.to_string())?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clap_cryo` (example "repl") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "238c0959bc2b06f027308864f92e8710c89970fdc94e58e4a992cb1ec34bcbf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "238c0959bc2b06f027308864f92e8710c89970fdc94e58e4a992cb1ec34bcbf3", kill_on_drop: false }` [INFO] [stdout] 238c0959bc2b06f027308864f92e8710c89970fdc94e58e4a992cb1ec34bcbf3