[INFO] fetching crate libgitdit 0.4.0... [INFO] checking libgitdit-0.4.0 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate libgitdit 0.4.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate libgitdit 0.4.0 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate libgitdit 0.4.0 [INFO] finished tweaking crates.io crate libgitdit 0.4.0 [INFO] tweaked toml for crates.io crate libgitdit 0.4.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded git2 v0.6.11 [INFO] [stderr] Downloaded libgit2-sys v0.6.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ba5c6c9f780b1e8194d05d21aa66580092bc9ea88ddcc88caf6a51ad22030dd [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" "5ba5c6c9f780b1e8194d05d21aa66580092bc9ea88ddcc88caf6a51ad22030dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ba5c6c9f780b1e8194d05d21aa66580092bc9ea88ddcc88caf6a51ad22030dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ba5c6c9f780b1e8194d05d21aa66580092bc9ea88ddcc88caf6a51ad22030dd", kill_on_drop: false }` [INFO] [stdout] 5ba5c6c9f780b1e8194d05d21aa66580092bc9ea88ddcc88caf6a51ad22030dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a3dab95106df5322e28aafd94e7101e58f823a28e3c09341bb56aedd329e9d40 [INFO] running `Command { std: "docker" "start" "-a" "a3dab95106df5322e28aafd94e7101e58f823a28e3c09341bb56aedd329e9d40", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Compiling libgit2-sys v0.6.19 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Checking git2 v0.6.11 [INFO] [stderr] Checking libgitdit v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message/mod.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | if try!(self.next().ok_or(Error::from_kind(EK::EmptyMessage))).as_ref().is_empty() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/iter.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | 'refill: for item in &mut self.inner { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/trailer/accumulation.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | type IntoIter = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain! { [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | GitError(::git2::Error); [INFO] [stdout] 15 | | } [INFO] [stdout] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] 108 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/trailer/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | / lazy_static! { [INFO] [stdout] 157 | | // regex to match the beginning of a trailer [INFO] [stdout] 158 | | static ref RE: Regex = Regex::new(r"^([[:alnum:]-]+)[:=](.*)$").unwrap(); [INFO] [stdout] 159 | | } [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/message/mod.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | if try!(self.next().ok_or(Error::from_kind(EK::EmptyMessage))).as_ref().is_empty() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/iter.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | 'refill: for item in &mut self.inner { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/trailer/accumulation.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | type IntoIter = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain! { [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | GitError(::git2::Error); [INFO] [stdout] 15 | | } [INFO] [stdout] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] 108 | | } [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/trailer/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | / lazy_static! { [INFO] [stdout] 157 | | // regex to match the beginning of a trailer [INFO] [stdout] 158 | | static ref RE: Regex = Regex::new(r"^([[:alnum:]-]+)[:=](.*)$").unwrap(); [INFO] [stdout] 159 | | } [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 associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/message/block.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | let trimmed = line.as_ref().trim_right(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/message/line_processor.rs:76:55 [INFO] [stdout] | [INFO] [stdout] 76 | self.0.next().map(|s| String::from(s.as_ref().trim_left())) [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/message/line_processor.rs:105:55 [INFO] [stdout] | [INFO] [stdout] 105 | self.0.next().map(|s| String::from(s.as_ref().trim_right())) [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/message/block.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | let trimmed = line.as_ref().trim_right(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain! { [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | GitError(::git2::Error); [INFO] [stdout] 15 | | } [INFO] [stdout] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] 108 | | } [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 associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/message/line_processor.rs:76:55 [INFO] [stdout] | [INFO] [stdout] 76 | self.0.next().map(|s| String::from(s.as_ref().trim_left())) [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/message/line_processor.rs:105:55 [INFO] [stdout] | [INFO] [stdout] 105 | self.0.next().map(|s| String::from(s.as_ref().trim_right())) [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / error_chain! { [INFO] [stdout] 13 | | foreign_links { [INFO] [stdout] 14 | | GitError(::git2::Error); [INFO] [stdout] 15 | | } [INFO] [stdout] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] 108 | | } [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.53s [INFO] running `Command { std: "docker" "inspect" "a3dab95106df5322e28aafd94e7101e58f823a28e3c09341bb56aedd329e9d40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3dab95106df5322e28aafd94e7101e58f823a28e3c09341bb56aedd329e9d40", kill_on_drop: false }` [INFO] [stdout] a3dab95106df5322e28aafd94e7101e58f823a28e3c09341bb56aedd329e9d40