[INFO] fetching crate approvals 0.0.7... [INFO] checking approvals-0.0.7 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate approvals 0.0.7 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate approvals 0.0.7 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fc58f6c638d2d924525dc44bd5afb65c2a1a44eedcb23cdaf259171fa978f30 [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" "6fc58f6c638d2d924525dc44bd5afb65c2a1a44eedcb23cdaf259171fa978f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fc58f6c638d2d924525dc44bd5afb65c2a1a44eedcb23cdaf259171fa978f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fc58f6c638d2d924525dc44bd5afb65c2a1a44eedcb23cdaf259171fa978f30", kill_on_drop: false }` [INFO] [stdout] 6fc58f6c638d2d924525dc44bd5afb65c2a1a44eedcb23cdaf259171fa978f30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5022f9213da64d92fe4189801a178a5a645726aecdc4e0c29242efe1b1f0152e [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" "5022f9213da64d92fe4189801a178a5a645726aecdc4e0c29242efe1b1f0152e", 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: 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: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: 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: 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: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: 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 1.18s [INFO] running `Command { std: "docker" "inspect" "5022f9213da64d92fe4189801a178a5a645726aecdc4e0c29242efe1b1f0152e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5022f9213da64d92fe4189801a178a5a645726aecdc4e0c29242efe1b1f0152e", kill_on_drop: false }` [INFO] [stdout] 5022f9213da64d92fe4189801a178a5a645726aecdc4e0c29242efe1b1f0152e