[INFO] fetching crate approvals 0.0.7... [INFO] checking approvals-0.0.7 against try#6f12b8fe67b4eed2e838dab803ed9493b9d62c0f for pr-79073 [INFO] extracting crate approvals 0.0.7 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate approvals 0.0.7 on toolchain 6f12b8fe67b4eed2e838dab803ed9493b9d62c0f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate approvals 0.0.7 [INFO] finished tweaking crates.io crate approvals 0.0.7 [INFO] tweaked toml for crates.io crate approvals 0.0.7 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded debug-builders v0.1.0 [INFO] [stderr] Downloaded backtrace v0.1.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d42597d420b2b6b8548cecac70facbbdb95ee8cceaca728b08c11876bb98feb6 [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" "d42597d420b2b6b8548cecac70facbbdb95ee8cceaca728b08c11876bb98feb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d42597d420b2b6b8548cecac70facbbdb95ee8cceaca728b08c11876bb98feb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d42597d420b2b6b8548cecac70facbbdb95ee8cceaca728b08c11876bb98feb6", kill_on_drop: false }` [INFO] [stdout] d42597d420b2b6b8548cecac70facbbdb95ee8cceaca728b08c11876bb98feb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02e50e2a145679b37f53dd18fe5b3580f1c21e3d1850df7566c62e7c387e5b96 [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" "02e50e2a145679b37f53dd18fe5b3580f1c21e3d1850df7566c62e7c387e5b96", kill_on_drop: false }` [INFO] [stderr] Checking debug-builders v0.1.0 [INFO] [stderr] Checking backtrace v0.1.8 [INFO] [stderr] Checking approvals v0.0.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/method_name/mod.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | let name = try!(symbol.name().ok_or(Error::NoSymbolName)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/method_name/mod.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let demangled = try!(get_demangled(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/method_name/mod.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let index = try!(demangled.rfind(':').ok_or(Error::NoMethodSeparator)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/method_name/mod.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | let method_name = try!(str::from_utf8(&(demangled.as_bytes())[..(index - 1)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/method_name/mod.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | let mangled = try!(str::from_utf8(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/method_name/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | try!(backtrace::demangle(&mut demangled, mangled)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/method_name/mod.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | fn resolve_method(symbol: &backtrace::Symbol, level: usize, levels_up: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backtrace::Symbol` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/method_name/mod.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | let name = try!(symbol.name().ok_or(Error::NoSymbolName)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/method_name/mod.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let demangled = try!(get_demangled(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/method_name/mod.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let index = try!(demangled.rfind(':').ok_or(Error::NoMethodSeparator)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/method_name/mod.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | let method_name = try!(str::from_utf8(&(demangled.as_bytes())[..(index - 1)])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/method_name/mod.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | let mangled = try!(str::from_utf8(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/method_name/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | try!(backtrace::demangle(&mut demangled, mangled)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/method_name/mod.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | fn resolve_method(symbol: &backtrace::Symbol, level: usize, levels_up: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn backtrace::Symbol` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | if actual.trim_right_matches("\n") == contents.trim_right_matches("\n") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:17:52 [INFO] [stdout] | [INFO] [stdout] 17 | if actual.trim_right_matches("\n") == contents.trim_right_matches("\n") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | if actual.trim_right_matches("\n") == contents.trim_right_matches("\n") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:17:52 [INFO] [stdout] | [INFO] [stdout] 17 | if actual.trim_right_matches("\n") == contents.trim_right_matches("\n") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [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 0.96s [INFO] running `Command { std: "docker" "inspect" "02e50e2a145679b37f53dd18fe5b3580f1c21e3d1850df7566c62e7c387e5b96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02e50e2a145679b37f53dd18fe5b3580f1c21e3d1850df7566c62e7c387e5b96", kill_on_drop: false }` [INFO] [stdout] 02e50e2a145679b37f53dd18fe5b3580f1c21e3d1850df7566c62e7c387e5b96