[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#d27c6c6a469a28343396a8f3ac1c9d403aabda69 for pr-66037 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleonardehrenfried%2Frreplace" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leonardehrenfried/rreplace on toolchain d27c6c6a469a28343396a8f3ac1c9d403aabda69 [INFO] running `"/workspace/cargo-home/bin/cargo" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "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-0/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" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "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] de534b0629b3e18b7ee59b269a1e08e288d2cdd4134b93b581cfa993761e1148 [INFO] running `"docker" "start" "-a" "de534b0629b3e18b7ee59b269a1e08e288d2cdd4134b93b581cfa993761e1148"` [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 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:26:76 [INFO] [stderr] | [INFO] [stderr] 26 | Err(why) => panic!("couldn't open {}: {}", path.display(), why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [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: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] 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 3 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 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:26:76 [INFO] [stderr] | [INFO] [stderr] 26 | Err(why) => panic!("couldn't open {}: {}", path.display(), why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [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: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] 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 3 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" "de534b0629b3e18b7ee59b269a1e08e288d2cdd4134b93b581cfa993761e1148"` [INFO] running `"docker" "rm" "-f" "de534b0629b3e18b7ee59b269a1e08e288d2cdd4134b93b581cfa993761e1148"` [INFO] [stdout] de534b0629b3e18b7ee59b269a1e08e288d2cdd4134b93b581cfa993761e1148