[INFO] updating cached repository hwchen/percent-encoding-cli-rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/hwchen/percent-encoding-cli-rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/hwchen/percent-encoding-cli-rs" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/hwchen/percent-encoding-cli-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/hwchen/percent-encoding-cli-rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/hwchen/percent-encoding-cli-rs" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/hwchen/percent-encoding-cli-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/hwchen/percent-encoding-cli-rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e6456298b36d49a9f5dfcba158532f734a11e09d [INFO] sha for GitHub repo hwchen/percent-encoding-cli-rs: e6456298b36d49a9f5dfcba158532f734a11e09d [INFO] validating manifest of hwchen/percent-encoding-cli-rs on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of hwchen/percent-encoding-cli-rs on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing hwchen/percent-encoding-cli-rs [INFO] finished frobbing hwchen/percent-encoding-cli-rs [INFO] frobbed toml for hwchen/percent-encoding-cli-rs written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/hwchen/percent-encoding-cli-rs/Cargo.toml [INFO] started frobbing hwchen/percent-encoding-cli-rs [INFO] finished frobbing hwchen/percent-encoding-cli-rs [INFO] frobbed toml for hwchen/percent-encoding-cli-rs written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/hwchen/percent-encoding-cli-rs/Cargo.toml [INFO] crate hwchen/percent-encoding-cli-rs already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking hwchen/percent-encoding-cli-rs against master#60960a260f7b5c695fd0717311d72ce62dd4eb43 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-0/master#60960a260f7b5c695fd0717311d72ce62dd4eb43:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/hwchen/percent-encoding-cli-rs:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 04b5635e5cb2dbdbf2ce306b08dd853232b0b9ddc8bd270a8629e0a0e91cf3bc [INFO] running `"docker" "start" "-a" "04b5635e5cb2dbdbf2ce306b08dd853232b0b9ddc8bd270a8629e0a0e91cf3bc"` [INFO] [stderr] Checking percent-encoding-cli v0.1.0 (/opt/crater/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] 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] 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] 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] 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] warning: build failed, waiting for other jobs to finish... [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" "04b5635e5cb2dbdbf2ce306b08dd853232b0b9ddc8bd270a8629e0a0e91cf3bc"` [INFO] running `"docker" "rm" "-f" "04b5635e5cb2dbdbf2ce306b08dd853232b0b9ddc8bd270a8629e0a0e91cf3bc"` [INFO] [stdout] 04b5635e5cb2dbdbf2ce306b08dd853232b0b9ddc8bd270a8629e0a0e91cf3bc