[INFO] cloning repository https://github.com/LiamOW/RustyCalculator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LiamOW/RustyCalculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiamOW%2FRustyCalculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiamOW%2FRustyCalculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 161648464c208333d2d331363f63468c27cbee47 [INFO] checking LiamOW/RustyCalculator against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiamOW%2FRustyCalculator" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LiamOW/RustyCalculator on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LiamOW/RustyCalculator [INFO] finished tweaking git repo https://github.com/LiamOW/RustyCalculator [INFO] tweaked toml for git repo https://github.com/LiamOW/RustyCalculator written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/LiamOW/RustyCalculator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustyline v5.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a42591678fabb5a0a225dc8de07f3239ccac7c49dc7e985130eff3de3a39bf72 [INFO] running `Command { std: "docker" "start" "-a" "a42591678fabb5a0a225dc8de07f3239ccac7c49dc7e985130eff3de3a39bf72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a42591678fabb5a0a225dc8de07f3239ccac7c49dc7e985130eff3de3a39bf72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a42591678fabb5a0a225dc8de07f3239ccac7c49dc7e985130eff3de3a39bf72", kill_on_drop: false }` [INFO] [stdout] a42591678fabb5a0a225dc8de07f3239ccac7c49dc7e985130eff3de3a39bf72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e142c3b6a0cb403f62ad38fbb47ab9bd7d6759bd29a451c2eaf8a90bcb7b8dcd [INFO] running `Command { std: "docker" "start" "-a" "e142c3b6a0cb403f62ad38fbb47ab9bd7d6759bd29a451c2eaf8a90bcb7b8dcd", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] cookie v0.11.3 (as host dependency): aes-gcm, base64, hkdf, hmac, key-expansion, private, rand, secure, sha2, signed [INFO] [stderr] digest v0.8.1 (as host dependency): std [INFO] [stderr] rocket_http v0.4.5 (as host dependency): private-cookies [INFO] [stderr] [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking unic-char-range v0.7.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking unic-common v0.7.0 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking calculator v0.1.0 (/tmp/fixit/calculator) [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling indexmap v1.5.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rocket_codegen v0.4.5 [INFO] [stdout] error[E0432]: unresolved import `std::option::NoneError` [INFO] [stdout] --> calculator/src/parser.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::option::NoneError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `NoneError` in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rocket v0.4.5 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking miniz_oxide v0.4.1 [INFO] [stderr] Checking unic-char-property v0.7.0 [INFO] [stderr] Checking unic-ucd-version v0.7.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking unic-ucd-segment v0.7.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking filetime v0.2.12 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> calculator/src/parser.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 28 | / pub fn new(source: &'a str) -> Result { [INFO] [stdout] 29 | | let mut lexer = Lexer::new(source); [INFO] [stdout] 30 | | let cur = lexer.next()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, ParseError>` [INFO] [stdout] 31 | | let peek = lexer.next()?; [INFO] [stdout] ... | [INFO] [stdout] 37 | | }) [INFO] [stdout] 38 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, ParseError>` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> calculator/src/parser.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 28 | / pub fn new(source: &'a str) -> Result { [INFO] [stdout] 29 | | let mut lexer = Lexer::new(source); [INFO] [stdout] 30 | | let cur = lexer.next()?; [INFO] [stdout] 31 | | let peek = lexer.next()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 37 | | }) [INFO] [stdout] 38 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, ParseError>` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> calculator/src/parser.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 41 | / fn next_token(&mut self) -> Result<(), ParseError> { [INFO] [stdout] 42 | | self.current_token = self.peek_token.clone(); [INFO] [stdout] 43 | | self.peek_token = self.lexer.next()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), ParseError>` [INFO] [stdout] 44 | | Ok(()) [INFO] [stdout] 45 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), ParseError>` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `calculator` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "e142c3b6a0cb403f62ad38fbb47ab9bd7d6759bd29a451c2eaf8a90bcb7b8dcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e142c3b6a0cb403f62ad38fbb47ab9bd7d6759bd29a451c2eaf8a90bcb7b8dcd", kill_on_drop: false }` [INFO] [stdout] e142c3b6a0cb403f62ad38fbb47ab9bd7d6759bd29a451c2eaf8a90bcb7b8dcd