[INFO] updating cached repository https://github.com/hwchen/percent-encoding-cli-rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e6456298b36d49a9f5dfcba158532f734a11e09d [INFO] testing hwchen/percent-encoding-cli-rs against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhwchen%2Fpercent-encoding-cli-rs" "work/builds/worker-3/source"` [INFO] [stderr] Cloning into 'work/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hwchen/percent-encoding-cli-rs on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/hwchen/percent-encoding-cli-rs [INFO] finished tweaking git repo https://github.com/hwchen/percent-encoding-cli-rs [INFO] tweaked toml for git repo https://github.com/hwchen/percent-encoding-cli-rs written to work/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/hwchen/percent-encoding-cli-rs already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 8be258a5ffa44a0e27dca48751bf594d5cf664f6e2a2d9c52f91d31cc5566330 [INFO] running `"docker" "start" "-a" "8be258a5ffa44a0e27dca48751bf594d5cf664f6e2a2d9c52f91d31cc5566330"` [INFO] [stderr] Compiling term_size v0.3.0 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling backtrace-sys v0.1.11 [INFO] [stderr] Compiling backtrace v0.3.2 [INFO] [stderr] Compiling textwrap v0.6.0 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling clap v2.25.0 [INFO] [stderr] Compiling percent-encoding-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: incorrect close delimiter: `}` [INFO] [stderr] --> src/main.rs:121:5 [INFO] [stderr] | [INFO] [stderr] 106 | if let Some(q_index) = url.find("?") { [INFO] [stderr] | - close delimiter possibly meant for this [INFO] [stderr] ... [INFO] [stderr] 118 | for i in cut_indices.iter().rev().chunk( { [INFO] [stderr] | - un-closed delimiter [INFO] [stderr] ... [INFO] [stderr] 121 | } [INFO] [stderr] | ^ incorrect close delimiter [INFO] [stderr] [INFO] [stderr] error: expected one of `.`, `?`, `{`, or an operator, found `}` [INFO] [stderr] --> src/main.rs:121:5 [INFO] [stderr] | [INFO] [stderr] 121 | } [INFO] [stderr] | ^ expected one of `.`, `?`, `{`, or an operator here [INFO] [stderr] [INFO] [stderr] warning: type `target` should have an upper camel case name [INFO] [stderr] --> src/main.rs:98:10 [INFO] [stderr] | [INFO] [stderr] 98 | enum target { [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper camel case: `Target` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::FnMut<(char,)>` closure, found `usize` [INFO] [stderr] --> src/main.rs:107:27 [INFO] [stderr] | [INFO] [stderr] 107 | let queries = url.split(q_index); [INFO] [stderr] | ^^^^^ expected an `FnMut<(char,)>` closure, found `usize` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::FnMut<(char,)>` is not implemented for `usize` [INFO] [stderr] = note: required because of the requirements on the impl of `std::str::pattern::Pattern<'_>` for `usize` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `rfind` found for type `std::str::Split<'_, usize>` in the current scope [INFO] [stderr] --> src/main.rs:114:39 [INFO] [stderr] | [INFO] [stderr] 114 | while let Some(i) = query_sub.rfind() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `rfind` exists but the following trait bounds were not satisfied: [INFO] [stderr] `std::str::Split<'_, usize> : std::iter::DoubleEndedIterator` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:106:5 [INFO] [stderr] | [INFO] [stderr] 106 | / if let Some(q_index) = url.find("?") { [INFO] [stderr] 107 | | let queries = url.split(q_index); [INFO] [stderr] 108 | | [INFO] [stderr] 109 | | // create index (in reverse) of = and & delimiters [INFO] [stderr] ... | [INFO] [stderr] 120 | | } [INFO] [stderr] 121 | | } [INFO] [stderr] | |_____^ expected struct `std::collections::HashMap`, found () [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::collections::HashMap` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | / error_chain! { [INFO] [stderr] 13 | | foreign_links { [INFO] [stderr] 14 | | Io(::std::io::Error); [INFO] [stderr] 15 | | UrlParse(ParseError); [INFO] [stderr] 16 | | } [INFO] [stderr] 17 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | / error_chain! { [INFO] [stderr] 13 | | foreign_links { [INFO] [stderr] 14 | | Io(::std::io::Error); [INFO] [stderr] 15 | | UrlParse(ParseError); [INFO] [stderr] 16 | | } [INFO] [stderr] 17 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `percent-encoding-cli`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8be258a5ffa44a0e27dca48751bf594d5cf664f6e2a2d9c52f91d31cc5566330"` [INFO] running `"docker" "rm" "-f" "8be258a5ffa44a0e27dca48751bf594d5cf664f6e2a2d9c52f91d31cc5566330"` [INFO] [stdout] 8be258a5ffa44a0e27dca48751bf594d5cf664f6e2a2d9c52f91d31cc5566330