[INFO] fetching crate test-assets 0.2.0... [INFO] checking test-assets-0.2.0 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] extracting crate test-assets 0.2.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate test-assets 0.2.0 on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate test-assets 0.2.0 [INFO] finished tweaking crates.io crate test-assets 0.2.0 [INFO] tweaked toml for crates.io crate test-assets 0.2.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e36ffc4de5fdb2718bd54d20e001797d0bd0ceeacc015a2500f8b1387da7be1f [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" "e36ffc4de5fdb2718bd54d20e001797d0bd0ceeacc015a2500f8b1387da7be1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e36ffc4de5fdb2718bd54d20e001797d0bd0ceeacc015a2500f8b1387da7be1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e36ffc4de5fdb2718bd54d20e001797d0bd0ceeacc015a2500f8b1387da7be1f", kill_on_drop: false }` [INFO] [stdout] e36ffc4de5fdb2718bd54d20e001797d0bd0ceeacc015a2500f8b1387da7be1f [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 631a603bd5260a27a9e251be388b075520df02f4fc08a01039eae47882465540 [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" "631a603bd5260a27a9e251be388b075520df02f4fc08a01039eae47882465540", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking sha2 v0.1.2 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling curl-sys v0.4.36+curl-7.71.1 [INFO] [stderr] Compiling curl v0.4.33 [INFO] [stderr] Checking test-assets v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hash_list.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let rdr = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hash_list.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | return Ok(try!(HashList::from_reader(&mut brdr))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hash_list.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | let line = try!(oline); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hash_list.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | let hash = try!(Sha256Hash::from_hex(hash_str).map_err(|_| TaError::BadHashFormat)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hash_list.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let wrt = try!(File::create(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hash_list.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | try!(bwrtr.write(format!("{} {}\n", hash.to_hex(), name).as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | None => try!(Err(())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | None => try!(Err(())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:149:2 [INFO] [stdout] | [INFO] [stdout] 149 | try!(client.url(&tfile.url)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:154:3 [INFO] [stdout] | [INFO] [stdout] 154 | try!(transfer.write_function(|data| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:158:3 [INFO] [stdout] | [INFO] [stdout] 158 | try!(transfer.perform()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hash_list.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let rdr = try!(File::open(path)); [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/hash_list.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | return Ok(try!(HashList::from_reader(&mut brdr))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hash_list.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | let line = try!(oline); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hash_list.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | let hash = try!(Sha256Hash::from_hex(hash_str).map_err(|_| TaError::BadHashFormat)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hash_list.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let wrt = try!(File::create(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hash_list.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | try!(bwrtr.write(format!("{} {}\n", hash.to_hex(), name).as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | None => try!(Err(())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | None => try!(Err(())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:149:2 [INFO] [stdout] | [INFO] [stdout] 149 | try!(client.url(&tfile.url)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:154:3 [INFO] [stdout] | [INFO] [stdout] 154 | try!(transfer.write_function(|data| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:158:3 [INFO] [stdout] | [INFO] [stdout] 158 | try!(transfer.perform()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let mut file = try!(File::create(format!("{}/{}", dir, tfile.filename))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:163:2 [INFO] [stdout] | [INFO] [stdout] 163 | try!(file.write_all(&content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | let response_code = try!(client.response_code()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:177:2 [INFO] [stdout] | [INFO] [stdout] 177 | try!(client.follow_location(true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:185:10 [INFO] [stdout] | [INFO] [stdout] 185 | e => { try!(e); unreachable!() }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:187:2 [INFO] [stdout] | [INFO] [stdout] 187 | try!(create_dir_all(dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:189:20 [INFO] [stdout] | [INFO] [stdout] 189 | let tfile_hash = try!(Sha256Hash::from_hex(&tfile.hash).map_err(|_| TaError::BadHashFormat)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let outcome = try!(download_test_file(&mut client, tfile, dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:222:2 [INFO] [stdout] | [INFO] [stdout] 222 | try!(hash_list.to_file(&hash_list_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let mut file = try!(File::create(format!("{}/{}", dir, tfile.filename))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:163:2 [INFO] [stdout] | [INFO] [stdout] 163 | try!(file.write_all(&content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | let response_code = try!(client.response_code()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:177:2 [INFO] [stdout] | [INFO] [stdout] 177 | try!(client.follow_location(true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:185:10 [INFO] [stdout] | [INFO] [stdout] 185 | e => { try!(e); unreachable!() }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:187:2 [INFO] [stdout] | [INFO] [stdout] 187 | try!(create_dir_all(dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:189:20 [INFO] [stdout] | [INFO] [stdout] 189 | let tfile_hash = try!(Sha256Hash::from_hex(&tfile.hash).map_err(|_| TaError::BadHashFormat)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let outcome = try!(download_test_file(&mut client, tfile, dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:222:2 [INFO] [stdout] | [INFO] [stdout] 222 | try!(hash_list.to_file(&hash_list_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `test-assets` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "631a603bd5260a27a9e251be388b075520df02f4fc08a01039eae47882465540", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "631a603bd5260a27a9e251be388b075520df02f4fc08a01039eae47882465540", kill_on_drop: false }` [INFO] [stdout] 631a603bd5260a27a9e251be388b075520df02f4fc08a01039eae47882465540