[INFO] crate add-remote 2.0.1 is already in cache [INFO] extracting crate add-remote 2.0.1 into work/ex/pr-57745/sources/master#f613dc138b4012cf3d2eb40718fbcc7cf0a34039/reg/add-remote/2.0.1 [INFO] extracting crate add-remote 2.0.1 into work/ex/pr-57745/sources/try#29640c57b5f92febba0e40c50cb863c9a7ede51d/reg/add-remote/2.0.1 [INFO] validating manifest of add-remote-2.0.1 on toolchain master#f613dc138b4012cf3d2eb40718fbcc7cf0a34039 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+f613dc138b4012cf3d2eb40718fbcc7cf0a34039-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of add-remote-2.0.1 on toolchain try#29640c57b5f92febba0e40c50cb863c9a7ede51d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+29640c57b5f92febba0e40c50cb863c9a7ede51d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing add-remote-2.0.1 [INFO] finished frobbing add-remote-2.0.1 [INFO] frobbed toml for add-remote-2.0.1 written to work/ex/pr-57745/sources/master#f613dc138b4012cf3d2eb40718fbcc7cf0a34039/reg/add-remote/2.0.1/Cargo.toml [INFO] started frobbing add-remote-2.0.1 [INFO] finished frobbing add-remote-2.0.1 [INFO] frobbed toml for add-remote-2.0.1 written to work/ex/pr-57745/sources/try#29640c57b5f92febba0e40c50cb863c9a7ede51d/reg/add-remote/2.0.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+f613dc138b4012cf3d2eb40718fbcc7cf0a34039-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+29640c57b5f92febba0e40c50cb863c9a7ede51d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+f613dc138b4012cf3d2eb40718fbcc7cf0a34039-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+29640c57b5f92febba0e40c50cb863c9a7ede51d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking add-remote-2.0.1 against master#f613dc138b4012cf3d2eb40718fbcc7cf0a34039 for pr-57745 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-57745/worker-7/master#f613dc138b4012cf3d2eb40718fbcc7cf0a34039:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-57745/sources/master#f613dc138b4012cf3d2eb40718fbcc7cf0a34039/reg/add-remote/2.0.1:/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" "+f613dc138b4012cf3d2eb40718fbcc7cf0a34039-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 39a3eaf89c96e8d6907ce2b30b010da89928c2cd0fdcfe6fa3166ff4029c8a48 [INFO] running `"docker" "start" "-a" "39a3eaf89c96e8d6907ce2b30b010da89928c2cd0fdcfe6fa3166ff4029c8a48"` [INFO] [stderr] Checking find_git v1.2.0 [INFO] [stderr] Checking colour v0.2.1 [INFO] [stderr] Checking tokio-reactor v0.1.8 [INFO] [stderr] Checking tokio-threadpool v0.1.10 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-fs v0.1.5 [INFO] [stderr] Checking tokio v0.1.14 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking hyper v0.11.27 [INFO] [stderr] Checking tokio-tls v0.1.4 [INFO] [stderr] Checking hyper-tls v0.1.4 [INFO] [stderr] Checking reqwest v0.8.8 [INFO] [stderr] Checking add-remote v2.0.1 (/opt/crater/workdir) [INFO] [stderr] error: use of deprecated item 'core::str::::trim_right': superseded by `trim_end` [INFO] [stderr] --> src/input_getter.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | Ok(_) => Ok(input.trim_right().to_string()), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/main.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | #![forbid(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[forbid(deprecated)] implied by #[forbid(warnings)] [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/repo.rs:37:38 [INFO] [stderr] | [INFO] [stderr] 37 | let mut owner_and_repo = url.trim_left_matches("git@gitlab.com:"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/repo.rs:38:41 [INFO] [stderr] | [INFO] [stderr] 38 | owner_and_repo = owner_and_repo.trim_left_matches("https://gitlab.com/"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/repo.rs:40:34 [INFO] [stderr] | [INFO] [stderr] 40 | owner_and_repo = url.trim_left_matches("git@github.com:"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/repo.rs:41:45 [INFO] [stderr] | [INFO] [stderr] 41 | owner_and_repo = owner_and_repo.trim_left_matches("https://github.com/"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/repo.rs:49:41 [INFO] [stderr] | [INFO] [stderr] 49 | owner_and_repo = owner_and_repo.trim_right_matches(".git"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'core::str::::trim_right': superseded by `trim_end` [INFO] [stderr] --> src/input_getter.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | Ok(_) => Ok(input.trim_right().to_string()), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/main.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | #![forbid(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[forbid(deprecated)] implied by #[forbid(warnings)] [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/repo.rs:37:38 [INFO] [stderr] | [INFO] [stderr] 37 | let mut owner_and_repo = url.trim_left_matches("git@gitlab.com:"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/repo.rs:38:41 [INFO] [stderr] | [INFO] [stderr] 38 | owner_and_repo = owner_and_repo.trim_left_matches("https://gitlab.com/"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/repo.rs:40:34 [INFO] [stderr] | [INFO] [stderr] 40 | owner_and_repo = url.trim_left_matches("git@github.com:"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/repo.rs:41:45 [INFO] [stderr] | [INFO] [stderr] 41 | owner_and_repo = owner_and_repo.trim_left_matches("https://github.com/"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/repo.rs:49:41 [INFO] [stderr] | [INFO] [stderr] 49 | owner_and_repo = owner_and_repo.trim_right_matches(".git"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `add-remote`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `add-remote`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "39a3eaf89c96e8d6907ce2b30b010da89928c2cd0fdcfe6fa3166ff4029c8a48"` [INFO] running `"docker" "rm" "-f" "39a3eaf89c96e8d6907ce2b30b010da89928c2cd0fdcfe6fa3166ff4029c8a48"` [INFO] [stdout] 39a3eaf89c96e8d6907ce2b30b010da89928c2cd0fdcfe6fa3166ff4029c8a48