[INFO] fetching crate scm 0.0.3... [INFO] testing scm-0.0.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate scm 0.0.3 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate scm 0.0.3 [INFO] finished tweaking crates.io crate scm 0.0.3 [INFO] tweaked toml for crates.io crate scm 0.0.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scm 0.0.3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded commandext v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 096819b22a87af6cbb809a488e42121520e21783192d05eb048553cd0132cfbd [INFO] running `Command { std: "docker" "start" "-a" "096819b22a87af6cbb809a488e42121520e21783192d05eb048553cd0132cfbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "096819b22a87af6cbb809a488e42121520e21783192d05eb048553cd0132cfbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "096819b22a87af6cbb809a488e42121520e21783192d05eb048553cd0132cfbd", kill_on_drop: false }` [INFO] [stdout] 096819b22a87af6cbb809a488e42121520e21783192d05eb048553cd0132cfbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 236b7e1b2f58db41d118cd9ddc7abaec28cf0926422c35535a699cf982117343 [INFO] running `Command { std: "docker" "start" "-a" "236b7e1b2f58db41d118cd9ddc7abaec28cf0926422c35535a699cf982117343", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling commandext v0.1.0 [INFO] [stderr] Compiling scm v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::io::File` [INFO] [stdout] --> src/git.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | use std::io::File; [INFO] [stdout] | ^^^^^^^^^^^^^ no `File` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 132 - use std::io::File; [INFO] [stdout] 132 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::process` [INFO] [stdout] --> src/git.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 133 | use std::io::process::Command; [INFO] [stdout] | ^^^^^^^ could not find `process` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::os::getcwd` [INFO] [stdout] --> src/git.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | use std::os::getcwd; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `getcwd` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::process` [INFO] [stdout] --> src/hg.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | use std::io::process::Command; [INFO] [stdout] | ^^^^^^^ could not find `process` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::process` [INFO] [stdout] --> src/svn.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::process::Command; [INFO] [stdout] | ^^^^^^^ could not find `process` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/lib.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | #![experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/git.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | #![experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/git.rs:139:3 [INFO] [stdout] | [INFO] [stdout] 139 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/git.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 151 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/git.rs:161:3 [INFO] [stdout] | [INFO] [stdout] 161 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/git.rs:176:7 [INFO] [stdout] | [INFO] [stdout] 176 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/git.rs:198:7 [INFO] [stdout] | [INFO] [stdout] 198 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/git.rs:216:7 [INFO] [stdout] | [INFO] [stdout] 216 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/git.rs:239:7 [INFO] [stdout] | [INFO] [stdout] 239 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/git.rs:299:7 [INFO] [stdout] | [INFO] [stdout] 299 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/git.rs:310:7 [INFO] [stdout] | [INFO] [stdout] 310 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/git.rs:321:7 [INFO] [stdout] | [INFO] [stdout] 321 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/git.rs:332:7 [INFO] [stdout] | [INFO] [stdout] 332 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/git.rs:343:7 [INFO] [stdout] | [INFO] [stdout] 343 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/git.rs:354:7 [INFO] [stdout] | [INFO] [stdout] 354 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/git.rs:371:7 [INFO] [stdout] | [INFO] [stdout] 371 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/git.rs:387:7 [INFO] [stdout] | [INFO] [stdout] 387 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/git.rs:397:7 [INFO] [stdout] | [INFO] [stdout] 397 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/git.rs:407:7 [INFO] [stdout] | [INFO] [stdout] 407 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/git.rs:417:7 [INFO] [stdout] | [INFO] [stdout] 417 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/git.rs:427:7 [INFO] [stdout] | [INFO] [stdout] 427 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/git.rs:437:7 [INFO] [stdout] | [INFO] [stdout] 437 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/git.rs:447:7 [INFO] [stdout] | [INFO] [stdout] 447 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/git.rs:525:7 [INFO] [stdout] | [INFO] [stdout] 525 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/hg.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | #![experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/hg.rs:98:3 [INFO] [stdout] | [INFO] [stdout] 98 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/hg.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/hg.rs:152:7 [INFO] [stdout] | [INFO] [stdout] 152 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/hg.rs:175:7 [INFO] [stdout] | [INFO] [stdout] 175 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/hg.rs:236:7 [INFO] [stdout] | [INFO] [stdout] 236 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/hg.rs:247:7 [INFO] [stdout] | [INFO] [stdout] 247 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/hg.rs:258:7 [INFO] [stdout] | [INFO] [stdout] 258 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/hg.rs:269:7 [INFO] [stdout] | [INFO] [stdout] 269 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/hg.rs:280:7 [INFO] [stdout] | [INFO] [stdout] 280 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/hg.rs:291:7 [INFO] [stdout] | [INFO] [stdout] 291 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/hg.rs:302:7 [INFO] [stdout] | [INFO] [stdout] 302 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/hg.rs:313:7 [INFO] [stdout] | [INFO] [stdout] 313 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/svn.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | #![experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/svn.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/svn.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/svn.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/svn.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/svn.rs:178:7 [INFO] [stdout] | [INFO] [stdout] 178 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/svn.rs:189:7 [INFO] [stdout] | [INFO] [stdout] 189 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/svn.rs:200:7 [INFO] [stdout] | [INFO] [stdout] 200 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/git.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 163 | wd: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 130 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/git.rs:199:30 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn wd(&mut self, wd: Path) -> &mut GitCommand { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 130 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/hg.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | wd: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 94 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/hg.rs:135:30 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn wd(&mut self, wd: Path) -> &mut HgCommand { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 94 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/svn.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | wd: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/svn.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn wd(&mut self, wd: Path) -> &mut SvnCommand { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/lib.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Heads` and `Tags` [INFO] [stdout] --> src/git.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | use self::RefType::{Heads,Tags}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/git.rs:277:32 [INFO] [stdout] | [INFO] [stdout] 277 | None => { ; }, [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/git.rs:288:26 [INFO] [stdout] | [INFO] [stdout] 288 | None => { ; }, [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/hg.rs:214:32 [INFO] [stdout] | [INFO] [stdout] 214 | None => { ; }, [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/hg.rs:225:26 [INFO] [stdout] | [INFO] [stdout] 225 | None => { ; }, [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/svn.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | None => { ; }, [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/svn.rs:142:26 [INFO] [stdout] | [INFO] [stdout] 142 | None => { ; }, [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/svn.rs:156:32 [INFO] [stdout] | [INFO] [stdout] 156 | None => { ; }, [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/svn.rs:167:26 [INFO] [stdout] | [INFO] [stdout] 167 | None => { ; }, [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/git.rs:281:23 [INFO] [stdout] | [INFO] [stdout] 281 | cmd.env(k.as_slice(), v.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/git.rs:281:37 [INFO] [stdout] | [INFO] [stdout] 281 | cmd.env(k.as_slice(), v.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `output` on type `Output` [INFO] [stdout] --> src/git.rs:462:52 [INFO] [stdout] | [INFO] [stdout] 462 | let co = String::from_utf8_lossy(o.output.as_slice()); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `status`, `stdout`, `stderr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `RefType` [INFO] [stdout] --> src/git.rs:479:16 [INFO] [stdout] | [INFO] [stdout] 479 | if *rt == RefType::Heads { [INFO] [stdout] | --- ^^ -------------- RefType [INFO] [stdout] | | [INFO] [stdout] | RefType [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `RefType` [INFO] [stdout] --> src/git.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | enum RefType { [INFO] [stdout] | ^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `RefType` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 153 + #[derive(PartialEq)] [INFO] [stdout] 154 | enum RefType { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `output` on type `Output` [INFO] [stdout] --> src/git.rs:496:48 [INFO] [stdout] | [INFO] [stdout] 496 | Ok(o) => String::from_utf8_lossy(o.output.as_slice()).into_owned(), [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `status`, `stdout`, `stderr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `HeadType` [INFO] [stdout] --> src/git.rs:529:39 [INFO] [stdout] | [INFO] [stdout] 529 | if !(self.head_type() == NamedBranch(branch.to_string())) { [INFO] [stdout] | ---------------- ^^ ------------------------------- HeadType [INFO] [stdout] | | [INFO] [stdout] | HeadType [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `HeadType` [INFO] [stdout] --> src/git.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | enum HeadType { [INFO] [stdout] | ^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `HeadType` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 141 + #[derive(PartialEq)] [INFO] [stdout] 142 | enum HeadType { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `HeadType` [INFO] [stdout] --> src/git.rs:541:51 [INFO] [stdout] | [INFO] [stdout] 541 | ... if !(self.head_type() == Detached) { [INFO] [stdout] | ---------------- ^^ -------- HeadType [INFO] [stdout] | | [INFO] [stdout] | HeadType [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `HeadType` [INFO] [stdout] --> src/git.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | enum HeadType { [INFO] [stdout] | ^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `HeadType` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 141 + #[derive(PartialEq)] [INFO] [stdout] 142 | enum HeadType { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/git.rs:559:21 [INFO] [stdout] | [INFO] [stdout] 526 | pub fn update_branch(&self, branch: &str) -> Result { [INFO] [stdout] | ------------- expected `Result` because of return type [INFO] [stdout] ... [INFO] [stdout] 559 | / self.pull(None, to_res()) [INFO] [stdout] 560 | | .and(self.submodule(Some(vec!["init"]), to_res())) [INFO] [stdout] 561 | | .and(self.submodule(None, to_res())) [INFO] [stdout] | |____________________________________________________________^ expected `Result`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/hg.rs:218:23 [INFO] [stdout] | [INFO] [stdout] 218 | cmd.env(k.as_slice(), v.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/hg.rs:218:37 [INFO] [stdout] | [INFO] [stdout] 218 | cmd.env(k.as_slice(), v.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/svn.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | cmd.env(k.as_slice(), v.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/svn.rs:135:37 [INFO] [stdout] | [INFO] [stdout] 135 | cmd.env(k.as_slice(), v.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/svn.rs:160:23 [INFO] [stdout] | [INFO] [stdout] 160 | cmd.env(k.as_slice(), v.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/svn.rs:160:37 [INFO] [stdout] | [INFO] [stdout] 160 | cmd.env(k.as_slice(), v.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0369, E0412, E0432, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scm` (lib) due to 70 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "236b7e1b2f58db41d118cd9ddc7abaec28cf0926422c35535a699cf982117343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "236b7e1b2f58db41d118cd9ddc7abaec28cf0926422c35535a699cf982117343", kill_on_drop: false }` [INFO] [stdout] 236b7e1b2f58db41d118cd9ddc7abaec28cf0926422c35535a699cf982117343