[INFO] cloning repository https://github.com/ratschance/patch-fix [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ratschance/patch-fix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fratschance%2Fpatch-fix", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fratschance%2Fpatch-fix'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94c5b3b9e808798d200faf5a4bf915e3c9e1214b [INFO] checking ratschance/patch-fix against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fratschance%2Fpatch-fix" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ratschance/patch-fix on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ratschance/patch-fix [INFO] finished tweaking git repo https://github.com/ratschance/patch-fix [INFO] tweaked toml for git repo https://github.com/ratschance/patch-fix written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/ratschance/patch-fix already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28c1b21bfb41e4821693f9cd9f867d173ce61f402f0633308bac215d1d653520 [INFO] running `Command { std: "docker" "start" "-a" "28c1b21bfb41e4821693f9cd9f867d173ce61f402f0633308bac215d1d653520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28c1b21bfb41e4821693f9cd9f867d173ce61f402f0633308bac215d1d653520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28c1b21bfb41e4821693f9cd9f867d173ce61f402f0633308bac215d1d653520", kill_on_drop: false }` [INFO] [stdout] 28c1b21bfb41e4821693f9cd9f867d173ce61f402f0633308bac215d1d653520 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a803e2c7a489f61aa97799806deab7f4f469827afe6d3f96a3f3c60dd22d2d0 [INFO] running `Command { std: "docker" "start" "-a" "4a803e2c7a489f61aa97799806deab7f4f469827afe6d3f96a3f3c60dd22d2d0", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.26 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking unicode-segmentation v1.1.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking textwrap v0.6.0 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking clap v2.25.0 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Checking patch-fix v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/patch.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | / lazy_static! { [INFO] [stdout] 43 | | static ref RE_INIT: Regex = Regex::new(R_HASH_LINE).unwrap(); [INFO] [stdout] 44 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/patch.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | / lazy_static! { [INFO] [stdout] 43 | | static ref RE_INIT: Regex = Regex::new(R_HASH_LINE).unwrap(); [INFO] [stdout] 44 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/patch.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | / lazy_static! { [INFO] [stdout] 59 | | static ref RE_AUTHOR: Regex = Regex::new(R_AUTHOR_LINE).unwrap(); [INFO] [stdout] 60 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/patch.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | / lazy_static! { [INFO] [stdout] 59 | | static ref RE_AUTHOR: Regex = Regex::new(R_AUTHOR_LINE).unwrap(); [INFO] [stdout] 60 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/patch.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | / lazy_static! { [INFO] [stdout] 74 | | static ref RE_DATE: Regex = Regex::new(R_DATE_LINE).unwrap(); [INFO] [stdout] 75 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/patch.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | / lazy_static! { [INFO] [stdout] 43 | | static ref RE_INIT: Regex = Regex::new(R_HASH_LINE).unwrap(); [INFO] [stdout] 44 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/patch.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | / lazy_static! { [INFO] [stdout] 43 | | static ref RE_INIT: Regex = Regex::new(R_HASH_LINE).unwrap(); [INFO] [stdout] 44 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/patch.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | / lazy_static! { [INFO] [stdout] 59 | | static ref RE_AUTHOR: Regex = Regex::new(R_AUTHOR_LINE).unwrap(); [INFO] [stdout] 60 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/patch.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | / lazy_static! { [INFO] [stdout] 59 | | static ref RE_AUTHOR: Regex = Regex::new(R_AUTHOR_LINE).unwrap(); [INFO] [stdout] 60 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/patch.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | / lazy_static! { [INFO] [stdout] 74 | | static ref RE_DATE: Regex = Regex::new(R_DATE_LINE).unwrap(); [INFO] [stdout] 75 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/patch.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | / lazy_static! { [INFO] [stdout] 74 | | static ref RE_DATE: Regex = Regex::new(R_DATE_LINE).unwrap(); [INFO] [stdout] 75 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/patch.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | / lazy_static! { [INFO] [stdout] 89 | | static ref RE_SUB: Regex = Regex::new(R_SUBJECT_LINE).unwrap(); [INFO] [stdout] 90 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/patch.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | / lazy_static! { [INFO] [stdout] 89 | | static ref RE_SUB: Regex = Regex::new(R_SUBJECT_LINE).unwrap(); [INFO] [stdout] 90 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/patch.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | / lazy_static! { [INFO] [stdout] 74 | | static ref RE_DATE: Regex = Regex::new(R_DATE_LINE).unwrap(); [INFO] [stdout] 75 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/patch.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | / lazy_static! { [INFO] [stdout] 89 | | static ref RE_SUB: Regex = Regex::new(R_SUBJECT_LINE).unwrap(); [INFO] [stdout] 90 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/patch.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | / lazy_static! { [INFO] [stdout] 89 | | static ref RE_SUB: Regex = Regex::new(R_SUBJECT_LINE).unwrap(); [INFO] [stdout] 90 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unrwap` found for enum `Option` in the current scope [INFO] [stdout] --> src/main.rs:33:63 [INFO] [stdout] | [INFO] [stdout] 33 | let patches = enumerate_patches(&patch_file, &signed).unrwap(); [INFO] [stdout] | ^^^^^^ help: there is an associated function with a similar name: `unwrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `patch-fix` due to 2 previous errors; 8 warnings emitted [INFO] [stdout] error: aborting due to previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unrwap` found for enum `Option` in the current scope [INFO] [stdout] --> src/main.rs:33:63 [INFO] [stdout] | [INFO] [stdout] 33 | let patches = enumerate_patches(&patch_file, &signed).unrwap(); [INFO] [stdout] | ^^^^^^ help: there is an associated function with a similar name: `unwrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4a803e2c7a489f61aa97799806deab7f4f469827afe6d3f96a3f3c60dd22d2d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a803e2c7a489f61aa97799806deab7f4f469827afe6d3f96a3f3c60dd22d2d0", kill_on_drop: false }` [INFO] [stdout] 4a803e2c7a489f61aa97799806deab7f4f469827afe6d3f96a3f3c60dd22d2d0