[INFO] updating cached repository https://github.com/leonardehrenfried/rreplace [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/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] 6b06935682e01aca548c6af638b65024aa7e589f [INFO] checking leonardehrenfried/rreplace against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleonardehrenfried%2Frreplace" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leonardehrenfried/rreplace on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/leonardehrenfried/rreplace [INFO] finished tweaking git repo https://github.com/leonardehrenfried/rreplace [INFO] tweaked toml for git repo https://github.com/leonardehrenfried/rreplace written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/leonardehrenfried/rreplace already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 705e872ef4fdc8aa82f610d36510085cd8ca811c7f2dcecb6eea3d8d476e4834 [INFO] running `"docker" "start" "-a" "705e872ef4fdc8aa82f610d36510085cd8ca811c7f2dcecb6eea3d8d476e4834"` [INFO] [stderr] Checking gitignore v1.0.5 [INFO] [stderr] Checking clap v2.19.3 [INFO] [stderr] Checking rreplace v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/main.rs:45:51 [INFO] [stderr] | [INFO] [stderr] 45 | let relative_path = full_path.trim_left_matches(pwd.to_str().unwrap()).trim_left_matches("/"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/main.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/main.rs:45:92 [INFO] [stderr] | [INFO] [stderr] 45 | let relative_path = full_path.trim_left_matches(pwd.to_str().unwrap()).trim_left_matches("/"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: could not compile `rreplace`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/main.rs:45:51 [INFO] [stderr] | [INFO] [stderr] 45 | let relative_path = full_path.trim_left_matches(pwd.to_str().unwrap()).trim_left_matches("/"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/main.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/main.rs:45:92 [INFO] [stderr] | [INFO] [stderr] 45 | let relative_path = full_path.trim_left_matches(pwd.to_str().unwrap()).trim_left_matches("/"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: could not compile `rreplace`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "705e872ef4fdc8aa82f610d36510085cd8ca811c7f2dcecb6eea3d8d476e4834"` [INFO] running `"docker" "rm" "-f" "705e872ef4fdc8aa82f610d36510085cd8ca811c7f2dcecb6eea3d8d476e4834"` [INFO] [stdout] 705e872ef4fdc8aa82f610d36510085cd8ca811c7f2dcecb6eea3d8d476e4834