[INFO] cloning repository https://github.com/stephanmeesters/rust_svn_tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stephanmeesters/rust_svn_tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools/objects/info: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/stephanmeesters/rust_svn_tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stephanmeesters/rust_svn_tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/sendemail-validate.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools/hooks/sendemail-validate.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/stephanmeesters/rust_svn_tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stephanmeesters/rust_svn_tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools/info/: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/stephanmeesters/rust_svn_tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stephanmeesters/rust_svn_tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/stephanmeesters/rust_svn_tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stephanmeesters/rust_svn_tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/stephanmeesters/rust_svn_tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stephanmeesters/rust_svn_tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/stephanmeesters/rust_svn_tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stephanmeesters/rust_svn_tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/stephanmeesters/rust_svn_tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stephanmeesters/rust_svn_tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/stephanmeesters/rust_svn_tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stephanmeesters/rust_svn_tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/stephanmeesters/rust_svn_tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stephanmeesters/rust_svn_tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/stephanmeesters/rust_svn_tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stephanmeesters/rust_svn_tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/stephanmeesters/rust_svn_tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stephanmeesters/rust_svn_tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/stephanmeesters/rust_svn_tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stephanmeesters/rust_svn_tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/stephanmeesters/rust_svn_tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stephanmeesters/rust_svn_tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7402bde4bb0cd727068788b221dfe2c7bd574e51 [INFO] checking stephanmeesters/rust_svn_tools against try#dd2d87b6cc31907ae305875eb6be399783dc0256 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstephanmeesters%2Frust_svn_tools" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/stephanmeesters/rust_svn_tools [INFO] finished tweaking git repo https://github.com/stephanmeesters/rust_svn_tools [INFO] tweaked toml for git repo https://github.com/stephanmeesters/rust_svn_tools written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stephanmeesters/rust_svn_tools on toolchain dd2d87b6cc31907ae305875eb6be399783dc0256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/stephanmeesters/rust_svn_tools 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" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fb74c9b09cd39aa6dd3c96706976ec47fe280d05647e6963a492287253c20f3 [INFO] running `Command { std: "docker" "start" "-a" "7fb74c9b09cd39aa6dd3c96706976ec47fe280d05647e6963a492287253c20f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fb74c9b09cd39aa6dd3c96706976ec47fe280d05647e6963a492287253c20f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fb74c9b09cd39aa6dd3c96706976ec47fe280d05647e6963a492287253c20f3", kill_on_drop: false }` [INFO] [stdout] 7fb74c9b09cd39aa6dd3c96706976ec47fe280d05647e6963a492287253c20f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 648b4aa1ec9c488776d0e266d5e4e327bccebbc2e57c84289faeac78961cbcb6 [INFO] running `Command { std: "docker" "start" "-a" "648b4aa1ec9c488776d0e266d5e4e327bccebbc2e57c84289faeac78961cbcb6", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking RustSvnStatus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0252]: the name `Result` is defined multiple times [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env::current_dir, fmt::Result, process::Command}; [INFO] [stdout] | ----------- previous import of the type `Result` here [INFO] [stdout] 2 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ `Result` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Result` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::Result as OtherResult; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/main.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | fn run_svn_process(inputs: &[&str]) -> Result>{ [INFO] [stdout] | ^^^^^^--------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/main.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | fn main() -> Result<()>{ [INFO] [stdout] | ^^^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[&str]: AsRef` is not satisfied [INFO] [stdout] --> src/main.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | .arg(inputs) [INFO] [stdout] | --- ^^^^^^ the trait `AsRef` is not implemented for `[&str]` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `AsRef`: [INFO] [stdout] [T; N] [INFO] [stdout] [T] [INFO] [stdout] = note: required for `&[&str]` to implement `AsRef` [INFO] [stdout] note: required by a bound in `Command::arg` [INFO] [stdout] --> /rustc/dd2d87b6cc31907ae305875eb6be399783dc0256/library/std/src/process.rs:718:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::fmt::Error` [INFO] [stdout] --> src/main.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 4 | fn run_svn_process(inputs: &[&str]) -> Result>{ [INFO] [stdout] | --------------- expected `std::fmt::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 8 | .output()? [INFO] [stdout] | --------^ the trait `From` is not implemented for `std::fmt::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Result` is defined multiple times [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{env::current_dir, fmt::Result, process::Command}; [INFO] [stdout] | ----------- previous import of the type `Result` here [INFO] [stdout] 2 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ `Result` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Result` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::Result as OtherResult; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/main.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | fn run_svn_process(inputs: &[&str]) -> Result>{ [INFO] [stdout] | ^^^^^^--------- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | Ok(Command::new("svn") [INFO] [stdout] | _________--_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this enum variant are incorrect [INFO] [stdout] 7 | | .arg(inputs) [INFO] [stdout] 8 | | .output()? [INFO] [stdout] 9 | | .stdout) [INFO] [stdout] | |___________________^ expected `()`, found `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Vec` [INFO] [stdout] help: the type constructed contains `Vec` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | Ok(Command::new("svn") [INFO] [stdout] | _________^ - [INFO] [stdout] | |____________| [INFO] [stdout] 7 | || .arg(inputs) [INFO] [stdout] 8 | || .output()? [INFO] [stdout] 9 | || .stdout) [INFO] [stdout] | ||___________________-^ [INFO] [stdout] | |____________________| [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/dd2d87b6cc31907ae305875eb6be399783dc0256/library/core/src/result.rs:552:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: type alias takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/main.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | fn main() -> Result<()>{ [INFO] [stdout] | ^^^^^^---- help: remove the unnecessary generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::fmt::Error` [INFO] [stdout] --> src/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 4 | fn run_svn_process(inputs: &[&str]) -> Result>{ [INFO] [stdout] | --------------- expected `std::fmt::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 13 | .output()? [INFO] [stdout] | --------^ the trait `From` is not implemented for `std::fmt::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | Ok(Command::new("/usr/bin/svn") [INFO] [stdout] | _________--_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this enum variant are incorrect [INFO] [stdout] 12 | | .args(inputs) [INFO] [stdout] 13 | | .output()? [INFO] [stdout] 14 | | .stdout) [INFO] [stdout] | |___________________^ expected `()`, found `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Vec` [INFO] [stdout] help: the type constructed contains `Vec` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | Ok(Command::new("/usr/bin/svn") [INFO] [stdout] | _________^ - [INFO] [stdout] | |____________| [INFO] [stdout] 12 | || .args(inputs) [INFO] [stdout] 13 | || .output()? [INFO] [stdout] 14 | || .stdout) [INFO] [stdout] | ||___________________-^ [INFO] [stdout] | |____________________| [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/dd2d87b6cc31907ae305875eb6be399783dc0256/library/core/src/result.rs:552:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[&str]: AsRef` is not satisfied [INFO] [stdout] --> src/main.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | .arg(inputs) [INFO] [stdout] | --- ^^^^^^ the trait `AsRef` is not implemented for `[&str]` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `AsRef`: [INFO] [stdout] [T; N] [INFO] [stdout] [T] [INFO] [stdout] = note: required for `&[&str]` to implement `AsRef` [INFO] [stdout] note: required by a bound in `Command::arg` [INFO] [stdout] --> /rustc/dd2d87b6cc31907ae305875eb6be399783dc0256/library/std/src/process.rs:718:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | let hello = run_svn_process(["status", "-v", &curdir])?; [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&[&str]`, found `[&str; 3]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn run_svn_process(inputs: &[&str]) -> Result>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 22 | let hello = run_svn_process(&["status", "-v", &curdir])?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::fmt::Error` [INFO] [stdout] --> src/main.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 4 | fn run_svn_process(inputs: &[&str]) -> Result>{ [INFO] [stdout] | --------------- expected `std::fmt::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 8 | .output()? [INFO] [stdout] | --------^ the trait `From` is not implemented for `std::fmt::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter` found for unit type `()` in the current scope [INFO] [stdout] --> src/main.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | for (ind, i) in hello.iter().enumerate() { [INFO] [stdout] | ^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `()` [INFO] [stdout] --> src/main.rs:46:51 [INFO] [stdout] | [INFO] [stdout] 46 | println!("{}", String::from_utf8(hello[last_zero_index..ind].to_vec()).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to access tuple elements, use tuple indexing syntax (e.g., `tuple.0`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | Ok(Command::new("svn") [INFO] [stdout] | _________--_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this enum variant are incorrect [INFO] [stdout] 7 | | .arg(inputs) [INFO] [stdout] 8 | | .output()? [INFO] [stdout] 9 | | .stdout) [INFO] [stdout] | |___________________^ expected `()`, found `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Vec` [INFO] [stdout] help: the type constructed contains `Vec` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | Ok(Command::new("svn") [INFO] [stdout] | _________^ - [INFO] [stdout] | |____________| [INFO] [stdout] 7 | || .arg(inputs) [INFO] [stdout] 8 | || .output()? [INFO] [stdout] 9 | || .stdout) [INFO] [stdout] | ||___________________-^ [INFO] [stdout] | |____________________| [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/dd2d87b6cc31907ae305875eb6be399783dc0256/library/core/src/result.rs:552:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::fmt::Error` [INFO] [stdout] --> src/main.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 4 | fn run_svn_process(inputs: &[&str]) -> Result>{ [INFO] [stdout] | --------------- expected `std::fmt::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 13 | .output()? [INFO] [stdout] | --------^ the trait `From` is not implemented for `std::fmt::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | Ok(Command::new("/usr/bin/svn") [INFO] [stdout] | _________--_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this enum variant are incorrect [INFO] [stdout] 12 | | .args(inputs) [INFO] [stdout] 13 | | .output()? [INFO] [stdout] 14 | | .stdout) [INFO] [stdout] | |___________________^ expected `()`, found `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Vec` [INFO] [stdout] help: the type constructed contains `Vec` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | Ok(Command::new("/usr/bin/svn") [INFO] [stdout] | _________^ - [INFO] [stdout] | |____________| [INFO] [stdout] 12 | || .args(inputs) [INFO] [stdout] 13 | || .output()? [INFO] [stdout] 14 | || .stdout) [INFO] [stdout] | ||___________________-^ [INFO] [stdout] | |____________________| [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/dd2d87b6cc31907ae305875eb6be399783dc0256/library/core/src/result.rs:552:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0252, E0277, E0308, E0599, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | let hello = run_svn_process(["status", "-v", &curdir])?; [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&[&str]`, found `[&str; 3]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn run_svn_process(inputs: &[&str]) -> Result>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 22 | let hello = run_svn_process(&["status", "-v", &curdir])?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `RustSvnStatus` (bin "RustSvnStatus" test) due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `iter` found for unit type `()` in the current scope [INFO] [stdout] --> src/main.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | for (ind, i) in hello.iter().enumerate() { [INFO] [stdout] | ^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `()` [INFO] [stdout] --> src/main.rs:46:51 [INFO] [stdout] | [INFO] [stdout] 46 | println!("{}", String::from_utf8(hello[last_zero_index..ind].to_vec()).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to access tuple elements, use tuple indexing syntax (e.g., `tuple.0`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0252, E0277, E0308, E0599, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `RustSvnStatus` (bin "RustSvnStatus") due to 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "648b4aa1ec9c488776d0e266d5e4e327bccebbc2e57c84289faeac78961cbcb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "648b4aa1ec9c488776d0e266d5e4e327bccebbc2e57c84289faeac78961cbcb6", kill_on_drop: false }` [INFO] [stdout] 648b4aa1ec9c488776d0e266d5e4e327bccebbc2e57c84289faeac78961cbcb6