[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94c5b3b9e808798d200faf5a4bf915e3c9e1214b [INFO] checking ratschance/patch-fix against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fratschance%2Fpatch-fix" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ratschance/patch-fix on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", 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-10/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" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b68e8ad30aeb70aa90861a84e0d70922cc4b6a45f315ca6d7ab49fcf7ae35682 [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" "b68e8ad30aeb70aa90861a84e0d70922cc4b6a45f315ca6d7ab49fcf7ae35682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b68e8ad30aeb70aa90861a84e0d70922cc4b6a45f315ca6d7ab49fcf7ae35682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b68e8ad30aeb70aa90861a84e0d70922cc4b6a45f315ca6d7ab49fcf7ae35682", kill_on_drop: false }` [INFO] [stdout] b68e8ad30aeb70aa90861a84e0d70922cc4b6a45f315ca6d7ab49fcf7ae35682 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 048ab0af464854fd6a1e15f0131d3fd34a73fd77a6eb65c3c6793da3adc9fb9d [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" "048ab0af464854fd6a1e15f0131d3fd34a73fd77a6eb65c3c6793da3adc9fb9d", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking unicode-segmentation v1.1.0 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking textwrap v0.6.0 [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 item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (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 `std::option::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] [stdout] error[E0599]: no method named `unrwap` found for enum `std::option::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`. [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] 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" "048ab0af464854fd6a1e15f0131d3fd34a73fd77a6eb65c3c6793da3adc9fb9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "048ab0af464854fd6a1e15f0131d3fd34a73fd77a6eb65c3c6793da3adc9fb9d", kill_on_drop: false }` [INFO] [stdout] 048ab0af464854fd6a1e15f0131d3fd34a73fd77a6eb65c3c6793da3adc9fb9d