[INFO] fetching crate git-build-version 0.1.2...
[INFO] testing git-build-version-0.1.2 against beta-2022-07-10 for beta-1.63-1
[INFO] extracting crate git-build-version 0.1.2 into /workspace/builds/worker-3/source
[INFO] validating manifest of crates.io crate git-build-version 0.1.2 on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate git-build-version 0.1.2
[INFO] finished tweaking crates.io crate git-build-version 0.1.2
[INFO] tweaked toml for crates.io crate git-build-version 0.1.2 written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 461f9066d9c480df15d30fc67eca33787fad61d5d5938c43fdcd55448612446e
[INFO] running `Command { std: "docker" "start" "-a" "461f9066d9c480df15d30fc67eca33787fad61d5d5938c43fdcd55448612446e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "461f9066d9c480df15d30fc67eca33787fad61d5d5938c43fdcd55448612446e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "461f9066d9c480df15d30fc67eca33787fad61d5d5938c43fdcd55448612446e", kill_on_drop: false }`
[INFO] [stdout] 461f9066d9c480df15d30fc67eca33787fad61d5d5938c43fdcd55448612446e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f26d01e590a058499c77e542f80e4a019e5cb236545ffdf8a2678a42eea673ee
[INFO] running `Command { std: "docker" "start" "-a" "f26d01e590a058499c77e542f80e4a019e5cb236545ffdf8a2678a42eea673ee", kill_on_drop: false }`
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling bitflags v0.1.1
[INFO] [stderr]    Compiling quick-error v0.1.4
[INFO] [stderr]    Compiling openssl-sys v0.7.17
[INFO] [stderr]    Compiling libz-sys v1.1.8
[INFO] [stderr]    Compiling cmake v0.1.48
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling libgit2-sys v0.4.6
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling git2 v0.4.4
[INFO] [stderr]    Compiling git-build-version v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     try!(f.read_to_string(&mut current));
[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:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut f = try!(File::open(path));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     try!(create_dir_all(path));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:37:16
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let path = try!(env::var_os("OUT_DIR").ok_or(Error::MissingEnvVar));
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let repo = try!(Repository::discover(topdir));
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:45:16
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let desc = try!(repo.describe(&DescribeOptions::new().describe_tags().show_commit_oid_as_fallback(true)));
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:48:69
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let content = format!("static VERSION: &'static str = {:?};\n", try!(desc.format(None)));
[INFO] [stdout]    |                                                                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |         try!(same_content_as(&path, &content))
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:59:7
[INFO] [stdout]    |
[INFO] [stdout] 59 |       try!(write!(file, "{}", content));
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:57:37
[INFO] [stdout]    |
[INFO] [stdout] 57 |       let mut file = BufWriter::new(try!(File::create(&path)));
[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:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / quick_error! {
[INFO] [stdout] 13 | |     #[derive(Debug)]
[INFO] [stdout] 14 | |     pub enum Error {
[INFO] [stdout] 15 | |         Io(err: std::io::Error) {
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |     }
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[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:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / quick_error! {
[INFO] [stdout] 13 | |     #[derive(Debug)]
[INFO] [stdout] 14 | |     pub enum Error {
[INFO] [stdout] 15 | |         Io(err: std::io::Error) {
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |     }
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[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:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / quick_error! {
[INFO] [stdout] 13 | |     #[derive(Debug)]
[INFO] [stdout] 14 | |     pub enum Error {
[INFO] [stdout] 15 | |         Io(err: std::io::Error) {
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |     }
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 19.66s
[INFO] running `Command { std: "docker" "inspect" "f26d01e590a058499c77e542f80e4a019e5cb236545ffdf8a2678a42eea673ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f26d01e590a058499c77e542f80e4a019e5cb236545ffdf8a2678a42eea673ee", kill_on_drop: false }`
[INFO] [stdout] f26d01e590a058499c77e542f80e4a019e5cb236545ffdf8a2678a42eea673ee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9aef2f0e0ab66620f4145128d5203176f3052fced16a75b2ffe281a0bbbfa32e
[INFO] running `Command { std: "docker" "start" "-a" "9aef2f0e0ab66620f4145128d5203176f3052fced16a75b2ffe281a0bbbfa32e", kill_on_drop: false }`
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     try!(f.read_to_string(&mut current));
[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:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut f = try!(File::open(path));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     try!(create_dir_all(path));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:37:16
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let path = try!(env::var_os("OUT_DIR").ok_or(Error::MissingEnvVar));
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let repo = try!(Repository::discover(topdir));
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:45:16
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let desc = try!(repo.describe(&DescribeOptions::new().describe_tags().show_commit_oid_as_fallback(true)));
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:48:69
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let content = format!("static VERSION: &'static str = {:?};\n", try!(desc.format(None)));
[INFO] [stdout]    |                                                                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |         try!(same_content_as(&path, &content))
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:59:7
[INFO] [stdout]    |
[INFO] [stdout] 59 |       try!(write!(file, "{}", content));
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:57:37
[INFO] [stdout]    |
[INFO] [stdout] 57 |       let mut file = BufWriter::new(try!(File::create(&path)));
[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:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / quick_error! {
[INFO] [stdout] 13 | |     #[derive(Debug)]
[INFO] [stdout] 14 | |     pub enum Error {
[INFO] [stdout] 15 | |         Io(err: std::io::Error) {
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |     }
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[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:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / quick_error! {
[INFO] [stdout] 13 | |     #[derive(Debug)]
[INFO] [stdout] 14 | |     pub enum Error {
[INFO] [stdout] 15 | |         Io(err: std::io::Error) {
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |     }
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[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:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / quick_error! {
[INFO] [stdout] 13 | |     #[derive(Debug)]
[INFO] [stdout] 14 | |     pub enum Error {
[INFO] [stdout] 15 | |         Io(err: std::io::Error) {
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |     }
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling git-build-version v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     try!(f.read_to_string(&mut current));
[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:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut f = try!(File::open(path));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     try!(create_dir_all(path));
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:37:16
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let path = try!(env::var_os("OUT_DIR").ok_or(Error::MissingEnvVar));
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:44:16
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let repo = try!(Repository::discover(topdir));
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:45:16
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let desc = try!(repo.describe(&DescribeOptions::new().describe_tags().show_commit_oid_as_fallback(true)));
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:48:69
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let content = format!("static VERSION: &'static str = {:?};\n", try!(desc.format(None)));
[INFO] [stdout]    |                                                                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |         try!(same_content_as(&path, &content))
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:59:7
[INFO] [stdout]    |
[INFO] [stdout] 59 |       try!(write!(file, "{}", content));
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:57:37
[INFO] [stdout]    |
[INFO] [stdout] 57 |       let mut file = BufWriter::new(try!(File::create(&path)));
[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:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / quick_error! {
[INFO] [stdout] 13 | |     #[derive(Debug)]
[INFO] [stdout] 14 | |     pub enum Error {
[INFO] [stdout] 15 | |         Io(err: std::io::Error) {
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |     }
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[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:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / quick_error! {
[INFO] [stdout] 13 | |     #[derive(Debug)]
[INFO] [stdout] 14 | |     pub enum Error {
[INFO] [stdout] 15 | |         Io(err: std::io::Error) {
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |     }
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[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:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | / quick_error! {
[INFO] [stdout] 13 | |     #[derive(Debug)]
[INFO] [stdout] 14 | |     pub enum Error {
[INFO] [stdout] 15 | |         Io(err: std::io::Error) {
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |     }
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.74s
[INFO] running `Command { std: "docker" "inspect" "9aef2f0e0ab66620f4145128d5203176f3052fced16a75b2ffe281a0bbbfa32e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9aef2f0e0ab66620f4145128d5203176f3052fced16a75b2ffe281a0bbbfa32e", kill_on_drop: false }`
[INFO] [stdout] 9aef2f0e0ab66620f4145128d5203176f3052fced16a75b2ffe281a0bbbfa32e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 56abba877df9565d52312c7ef46d42d6228c71d01a7d7eaec134a36b4c14be6b
[INFO] running `Command { std: "docker" "start" "-a" "56abba877df9565d52312c7ef46d42d6228c71d01a7d7eaec134a36b4c14be6b", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/lib.rs:31:5
[INFO] [stderr]    |
[INFO] [stderr] 31 |     try!(f.read_to_string(&mut current));
[INFO] [stderr]    |     ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/lib.rs:29:17
[INFO] [stderr]    |
[INFO] [stderr] 29 |     let mut f = try!(File::open(path));
[INFO] [stderr]    |                 ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/lib.rs:40:5
[INFO] [stderr]    |
[INFO] [stderr] 40 |     try!(create_dir_all(path));
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/lib.rs:37:16
[INFO] [stderr]    |
[INFO] [stderr] 37 |     let path = try!(env::var_os("OUT_DIR").ok_or(Error::MissingEnvVar));
[INFO] [stderr]    |                ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/lib.rs:44:16
[INFO] [stderr]    |
[INFO] [stderr] 44 |     let repo = try!(Repository::discover(topdir));
[INFO] [stderr]    |                ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/lib.rs:45:16
[INFO] [stderr]    |
[INFO] [stderr] 45 |     let desc = try!(repo.describe(&DescribeOptions::new().describe_tags().show_commit_oid_as_fallback(true)));
[INFO] [stderr]    |                ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/lib.rs:48:69
[INFO] [stderr]    |
[INFO] [stderr] 48 |     let content = format!("static VERSION: &'static str = {:?};\n", try!(desc.format(None)));
[INFO] [stderr]    |                                                                     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/lib.rs:51:9
[INFO] [stderr]    |
[INFO] [stderr] 51 |         try!(same_content_as(&path, &content))
[INFO] [stderr]    |         ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/lib.rs:59:7
[INFO] [stderr]    |
[INFO] [stderr] 59 |       try!(write!(file, "{}", content));
[INFO] [stderr]    |       ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr]   --> src/lib.rs:57:37
[INFO] [stderr]    |
[INFO] [stderr] 57 |       let mut file = BufWriter::new(try!(File::create(&path)));
[INFO] [stderr]    |                                     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> src/lib.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | / quick_error! {
[INFO] [stderr] 13 | |     #[derive(Debug)]
[INFO] [stderr] 14 | |     pub enum Error {
[INFO] [stderr] 15 | |         Io(err: std::io::Error) {
[INFO] [stderr] ...  |
[INFO] [stderr] 23 | |     }
[INFO] [stderr] 24 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `git-build-version` (lib) generated 13 warnings (2 duplicates)
[INFO] [stderr] warning: `git-build-version` (lib test) generated 13 warnings (13 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/git_build_version-1d9ff8ca78c14906)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test test ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test stdout ----
[INFO] [stdout] thread 'test' panicked at 'write version: MissingEnvVar', src/lib.rs:66:24
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5576477297ed - std::backtrace_rs::backtrace::libunwind::trace::ha6f17a0190089cf8
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
[INFO] [stdout]    1:     0x5576477297ed - std::backtrace_rs::backtrace::trace_unsynchronized::h205a094224eb7f22
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5576477297ed - std::sys_common::backtrace::_print_fmt::hbb8cd76c874438ae
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:66:5
[INFO] [stdout]    3:     0x5576477297ed - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h5140749f24499626
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:45:22
[INFO] [stdout]    4:     0x55764774c38c - core::fmt::write::hb44ee394505bd6f8
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/fmt/mod.rs:1197:17
[INFO] [stdout]    5:     0x557647726101 - std::io::Write::write_fmt::hb4e0ebb2e17fda58
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/io/mod.rs:1672:15
[INFO] [stdout]    6:     0x55764772b265 - std::sys_common::backtrace::_print::hf34a8184c9680f98
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:48:5
[INFO] [stdout]    7:     0x55764772b265 - std::sys_common::backtrace::print::h6e6ffb9f69520522
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:35:9
[INFO] [stdout]    8:     0x55764772b265 - std::panicking::default_hook::{{closure}}::h4a6ce615e72f69df
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:295:22
[INFO] [stdout]    9:     0x55764772af09 - std::panicking::default_hook::hcd4065ac7e0beae0
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:311:9
[INFO] [stdout]   10:     0x55764772b7f6 - std::panicking::rust_panic_with_hook::h847d34d7b69cdb65
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:698:17
[INFO] [stdout]   11:     0x55764772b6e7 - std::panicking::begin_panic_handler::{{closure}}::hb575030271dff76d
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:588:13
[INFO] [stdout]   12:     0x557647729ca4 - std::sys_common::backtrace::__rust_end_short_backtrace::hb71757678eb2a6c2
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:138:18
[INFO] [stdout]   13:     0x55764772b419 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:584:5
[INFO] [stdout]   14:     0x5576476647c3 - core::panicking::panic_fmt::hf7d085e9fd9dc429
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/panicking.rs:142:14
[INFO] [stdout]   15:     0x5576476648b3 - core::result::unwrap_failed::h861592d95cb72a77
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/result.rs:1805:5
[INFO] [stdout]   16:     0x55764766878d - core::result::Result<T,E>::expect::h2326aa43cae09850
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/result.rs:1055:23
[INFO] [stdout]   17:     0x557647667423 - git_build_version::test::h24f025db67c6086b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/lib.rs:66:5
[INFO] [stdout]   18:     0x5576476673da - git_build_version::test::{{closure}}::h7bb7148e7700431f
[INFO] [stdout]                                at /opt/rustwide/workdir/src/lib.rs:65:1
[INFO] [stdout]   19:     0x55764766608e - core::ops::function::FnOnce::call_once::h14bbea799e5d7fe8
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   20:     0x55764769da13 - core::ops::function::FnOnce::call_once::he7ad2b4dde46c720
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   21:     0x55764769da13 - test::__rust_begin_short_backtrace::h857d05f9709ec1f3
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/test/src/lib.rs:572:5
[INFO] [stdout]   22:     0x55764769c80a - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc3a5608ef45a8da8
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/alloc/src/boxed.rs:1951:9
[INFO] [stdout]   23:     0x55764769c80a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hccaecb576373f779
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   24:     0x55764769c80a - std::panicking::try::do_call::h8eab667553f676ef
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:492:40
[INFO] [stdout]   25:     0x55764769c80a - std::panicking::try::h13522e8b44ab5e4e
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:456:19
[INFO] [stdout]   26:     0x55764769c80a - std::panic::catch_unwind::h1f79c673bef37a0c
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panic.rs:137:14
[INFO] [stdout]   27:     0x55764769c80a - test::run_test_in_process::hfecf104ace99bc2f
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/test/src/lib.rs:595:18
[INFO] [stdout]   28:     0x55764769c80a - test::run_test::run_test_inner::{{closure}}::h21828c2a3f5cb92f
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/test/src/lib.rs:489:39
[INFO] [stdout]   29:     0x557647668ced - test::run_test::run_test_inner::{{closure}}::hecfe67302276722b
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/test/src/lib.rs:516:37
[INFO] [stdout]   30:     0x557647668ced - std::sys_common::backtrace::__rust_begin_short_backtrace::ha2c0c8e2f25fd64d
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:122:18
[INFO] [stdout]   31:     0x55764766e668 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc523fe96d9d2b387
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/thread/mod.rs:505:17
[INFO] [stdout]   32:     0x55764766e668 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb145ac919bb97016
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   33:     0x55764766e668 - std::panicking::try::do_call::ha985e270f2d947ea
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:492:40
[INFO] [stdout]   34:     0x55764766e668 - std::panicking::try::h030316f2f0d133d0
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:456:19
[INFO] [stdout]   35:     0x55764766e668 - std::panic::catch_unwind::h231053aff97815f2
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panic.rs:137:14
[INFO] [stdout]   36:     0x55764766e668 - std::thread::Builder::spawn_unchecked_::{{closure}}::hc596aa71cda6c5a6
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/thread/mod.rs:504:30
[INFO] [stdout]   37:     0x55764766e668 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb0ff2925e9add919
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   38:     0x557647730053 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hb11cb820f158651d
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/alloc/src/boxed.rs:1951:9
[INFO] [stdout]   39:     0x557647730053 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h357cd5c6b7203d32
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/alloc/src/boxed.rs:1951:9
[INFO] [stdout]   40:     0x557647730053 - std::sys::unix::thread::Thread::new::thread_start::hcf74ef6fcb7b805a
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   41:     0x7fd7135e6609 - start_thread
[INFO] [stdout]   42:     0x7fd7133b4133 - clone
[INFO] [stdout]   43:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     test
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--lib'
[INFO] running `Command { std: "docker" "inspect" "56abba877df9565d52312c7ef46d42d6228c71d01a7d7eaec134a36b4c14be6b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56abba877df9565d52312c7ef46d42d6228c71d01a7d7eaec134a36b4c14be6b", kill_on_drop: false }`
[INFO] [stdout] 56abba877df9565d52312c7ef46d42d6228c71d01a7d7eaec134a36b4c14be6b
