[INFO] updating cached repository https://github.com/vitiral/replace.rs [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 246ff7c9b8b91c5d81d8ee41d25d42020e731f03 [INFO] checking vitiral/replace.rs against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitiral%2Freplace.rs" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vitiral/replace.rs on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vitiral/replace.rs [INFO] finished tweaking git repo https://github.com/vitiral/replace.rs [INFO] tweaked toml for git repo https://github.com/vitiral/replace.rs written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/vitiral/replace.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee1a28be60d9c3af40daa645dee9765bd46b602fa4e604910122719365c16e40 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ee1a28be60d9c3af40daa645dee9765bd46b602fa4e604910122719365c16e40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee1a28be60d9c3af40daa645dee9765bd46b602fa4e604910122719365c16e40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee1a28be60d9c3af40daa645dee9765bd46b602fa4e604910122719365c16e40", kill_on_drop: false }` [INFO] [stdout] ee1a28be60d9c3af40daa645dee9765bd46b602fa4e604910122719365c16e40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e75ad7c519e717456f02c91039baa0e56af33dbc712e6c74c46c0c200254526 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7e75ad7c519e717456f02c91039baa0e56af33dbc712e6c74c46c0c200254526", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking libc v0.2.20 [INFO] [stderr] Compiling gcc v0.3.43 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling backtrace v0.3.0 [INFO] [stderr] Checking rustc-demangle v0.1.3 [INFO] [stderr] Checking same-file v0.1.3 [INFO] [stderr] Checking regex-syntax v0.4.0 [INFO] [stderr] Checking unicode-segmentation v1.1.0 [INFO] [stderr] Checking maplit v0.1.4 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Checking walkdir v1.0.7 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking thread-id v3.0.0 [INFO] [stderr] Checking term_size v0.2.2 [INFO] [stderr] Checking clap v2.20.3 [INFO] [stderr] Checking thread_local v0.3.2 [INFO] [stderr] Checking aho-corasick v0.6.2 [INFO] [stderr] Compiling backtrace-sys v0.1.7 [INFO] [stderr] Checking regex v0.2.1 [INFO] [stderr] Checking error-chain v0.9.0 [INFO] [stderr] Checking replace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/types.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | /// Library Error and Result types [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/types.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | /// Library Error and Result types [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/types.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / error_chain! { [INFO] [stdout] 14 | | types { [INFO] [stdout] 15 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] 16 | | } [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/types.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / error_chain! { [INFO] [stdout] 14 | | types { [INFO] [stdout] 15 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] 16 | | } [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/types.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / error_chain! { [INFO] [stdout] 14 | | types { [INFO] [stdout] 15 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] 16 | | } [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/types.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / error_chain! { [INFO] [stdout] 14 | | types { [INFO] [stdout] 15 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] 16 | | } [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/types.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / error_chain! { [INFO] [stdout] 14 | | types { [INFO] [stdout] 15 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] 16 | | } [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/replace.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | &Groups::Named(ref g) => panic!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/types.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / error_chain! { [INFO] [stdout] 14 | | types { [INFO] [stdout] 15 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] 16 | | } [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/replace.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | &Groups::Named(ref g) => panic!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_replace` [INFO] [stdout] --> src/replace.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn do_replace(c: &Cmd, d: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Named` [INFO] [stdout] --> src/types.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | Named(NamedGroups<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Named` [INFO] [stdout] --> src/types.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | Named(NamedGroups<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.85s [INFO] running `Command { std: "docker" "inspect" "7e75ad7c519e717456f02c91039baa0e56af33dbc712e6c74c46c0c200254526", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e75ad7c519e717456f02c91039baa0e56af33dbc712e6c74c46c0c200254526", kill_on_drop: false }` [INFO] [stdout] 7e75ad7c519e717456f02c91039baa0e56af33dbc712e6c74c46c0c200254526