[INFO] fetching crate crates-mirror 0.2.1... [INFO] testing crates-mirror-0.2.1 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate crates-mirror 0.2.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate crates-mirror 0.2.1 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate crates-mirror 0.2.1 [INFO] finished tweaking crates.io crate crates-mirror 0.2.1 [INFO] tweaked toml for crates.io crate crates-mirror 0.2.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clippy v0.0.95 [INFO] [stderr] Downloaded clippy_lints v0.0.95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36174395173b09ececf40ebbd310a7b9c84c6bafb9c2171f41e03cbfe8ec138a [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" "36174395173b09ececf40ebbd310a7b9c84c6bafb9c2171f41e03cbfe8ec138a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36174395173b09ececf40ebbd310a7b9c84c6bafb9c2171f41e03cbfe8ec138a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36174395173b09ececf40ebbd310a7b9c84c6bafb9c2171f41e03cbfe8ec138a", kill_on_drop: false }` [INFO] [stdout] 36174395173b09ececf40ebbd310a7b9c84c6bafb9c2171f41e03cbfe8ec138a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--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] 8cb5be36d47f0c1b0f5c28f47ada8780345ef05dc628d469eda0bfdb46598a15 [INFO] running `Command { std: "docker" "start" "-a" "8cb5be36d47f0c1b0f5c28f47ada8780345ef05dc628d469eda0bfdb46598a15", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling traitobject v0.0.1 [INFO] [stderr] Compiling byte-tools v0.1.3 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling curl-sys v0.4.44+curl-7.77.0 [INFO] [stderr] Compiling libssh2-sys v0.2.21 [INFO] [stderr] Compiling error v0.1.9 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling libgit2-sys v0.6.19 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling num_cpus v0.2.13 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling hpack v0.2.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling solicit v0.4.4 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling cookie v0.2.5 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling generic-array v0.5.1 [INFO] [stderr] Compiling digest-buffer v0.1.2 [INFO] [stderr] Compiling digest v0.2.1 [INFO] [stderr] Compiling sha2 v0.2.0 [INFO] [stderr] Compiling hyper v0.9.18 [INFO] [stderr] Compiling conduit-mime-types v0.7.3 [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Compiling iron v0.4.0 [INFO] [stderr] Compiling router v0.4.0 [INFO] [stderr] Compiling curl v0.4.38 [INFO] [stderr] Compiling git2 v0.6.11 [INFO] [stderr] Compiling crates-mirror v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, RustcDecodable, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug, RustcDecodable, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Debug, RustcDecodable, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `File` is imported redundantly [INFO] [stdout] --> src/main.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 25 | use std::fs::{create_dir_all, File}; [INFO] [stdout] | ---- the item `File` is already imported here [INFO] [stdout] ... [INFO] [stdout] 70 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Read` is imported redundantly [INFO] [stdout] --> src/main.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 26 | use std::io::{BufWriter, Write, Read, BufReader, BufRead}; [INFO] [stdout] | ---- the item `Read` is already imported here [INFO] [stdout] ... [INFO] [stdout] 71 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:435:22 [INFO] [stdout] | [INFO] [stdout] 435 | let config = try!(git2::Config::open_default()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:489:5 [INFO] [stdout] | [INFO] [stdout] 489 | try!(origin.fetch(&["master"], None, None)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:490:16 [INFO] [stdout] | [INFO] [stdout] 490 | let head = try!(repo.head()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:492:18 [INFO] [stdout] | [INFO] [stdout] 492 | let parent = try!(repo.find_commit(head.target().unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:493:18 [INFO] [stdout] | [INFO] [stdout] 493 | let remote = try!(repo.find_reference("refs/remotes/origin/master")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | let c = try!(repo.reference_to_annotated_commit(&remote)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:497:21 [INFO] [stdout] | [INFO] [stdout] 497 | let mut index = try!(repo.index()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:498:20 [INFO] [stdout] | [INFO] [stdout] 498 | let old_tree = try!(repo.find_tree(try!(index.write_tree()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:498:40 [INFO] [stdout] | [INFO] [stdout] 498 | let old_tree = try!(repo.find_tree(try!(index.write_tree()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:499:5 [INFO] [stdout] | [INFO] [stdout] 499 | try!(repo.merge(&[&c], [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:502:5 [INFO] [stdout] | [INFO] [stdout] 502 | try!(index.write()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:503:19 [INFO] [stdout] | [INFO] [stdout] 503 | let tree_id = try!(index.write_tree()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:504:16 [INFO] [stdout] | [INFO] [stdout] 504 | let tree = try!(repo.find_tree(tree_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:505:16 [INFO] [stdout] | [INFO] [stdout] 505 | let diff = try!(repo.diff_tree_to_tree(Some(&old_tree), Some(&tree), None)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:506:8 [INFO] [stdout] | [INFO] [stdout] 506 | if try!(diff.stats()).files_changed() > 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:508:19 [INFO] [stdout] | [INFO] [stdout] 508 | let sig = try!(repo.signature()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:509:9 [INFO] [stdout] | [INFO] [stdout] 509 | try!(repo.commit(Some("HEAD"), &sig, &sig, "Merge", &tree, &[&parent])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:515:30 [INFO] [stdout] | [INFO] [stdout] 515 | let mut remote = try!(repo.find_remote("local")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:518:13 [INFO] [stdout] | [INFO] [stdout] 518 | try!(remote.push(&["refs/heads/master"], Some(&mut opts))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | try!(repo.cleanup_state()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crates-mirror` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "8cb5be36d47f0c1b0f5c28f47ada8780345ef05dc628d469eda0bfdb46598a15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cb5be36d47f0c1b0f5c28f47ada8780345ef05dc628d469eda0bfdb46598a15", kill_on_drop: false }` [INFO] [stdout] 8cb5be36d47f0c1b0f5c28f47ada8780345ef05dc628d469eda0bfdb46598a15