[INFO] fetching crate json_io 0.3.0... [INFO] checking json_io-0.3.0 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate json_io 0.3.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate json_io 0.3.0 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 json_io 0.3.0 [INFO] finished tweaking crates.io crate json_io 0.3.0 [INFO] tweaked toml for crates.io crate json_io 0.3.0 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] ff3ea3485370b73e0e00de8335c7ceef4e42967462cf8806a62a2c222aac8bd9 [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" "ff3ea3485370b73e0e00de8335c7ceef4e42967462cf8806a62a2c222aac8bd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff3ea3485370b73e0e00de8335c7ceef4e42967462cf8806a62a2c222aac8bd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff3ea3485370b73e0e00de8335c7ceef4e42967462cf8806a62a2c222aac8bd9", kill_on_drop: false }` [INFO] [stdout] ff3ea3485370b73e0e00de8335c7ceef4e42967462cf8806a62a2c222aac8bd9 [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] 1c23bcabfa9c10ba99423d169adc684bd1a34e7e0d284d57a1e04444d4c08507 [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" "1c23bcabfa9c10ba99423d169adc684bd1a34e7e0d284d57a1e04444d4c08507", kill_on_drop: false }` [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking find_folder v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking serde_json v0.9.10 [INFO] [stderr] Checking json_io v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | try!(std::fs::File::open(&path.with_extension("json"))), [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/lib.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | try!(std::io::Read::read_to_end(&mut file, &mut contents)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | let json_str = try!(std::str::from_utf8(&contents[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | let t: T = try!(serde_json::from_str(&json_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | let json_string = try!(serde_json::to_string(&t)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | let mut file = try!(std::fs::File::create(&path.with_extension("json"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | try!(std::io::Write::write_all(&mut file, json_string.as_bytes())); [INFO] [stdout] | ^^^ [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/lib.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | Error::IO(ref err) => std::error::Error::description(err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/lib.rs:51:41 [INFO] [stdout] | [INFO] [stdout] 51 | Error::Utf8(ref err) => std::error::Error::description(err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/lib.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | Error::Json(ref err) => std::error::Error::description(err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | try!(std::fs::File::open(&path.with_extension("json"))), [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/lib.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | try!(std::io::Read::read_to_end(&mut file, &mut contents)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | let json_str = try!(std::str::from_utf8(&contents[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | let t: T = try!(serde_json::from_str(&json_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | let json_string = try!(serde_json::to_string(&t)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | let mut file = try!(std::fs::File::create(&path.with_extension("json"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | try!(std::io::Write::write_all(&mut file, json_string.as_bytes())); [INFO] [stdout] | ^^^ [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/lib.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | Error::IO(ref err) => std::error::Error::description(err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/lib.rs:51:41 [INFO] [stdout] | [INFO] [stdout] 51 | Error::Utf8(ref err) => std::error::Error::description(err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/lib.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | Error::Json(ref err) => std::error::Error::description(err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.98s [INFO] running `Command { std: "docker" "inspect" "1c23bcabfa9c10ba99423d169adc684bd1a34e7e0d284d57a1e04444d4c08507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c23bcabfa9c10ba99423d169adc684bd1a34e7e0d284d57a1e04444d4c08507", kill_on_drop: false }` [INFO] [stdout] 1c23bcabfa9c10ba99423d169adc684bd1a34e7e0d284d57a1e04444d4c08507