[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] testing LiamOW/RustyCalculator against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiamOW%2FRustyCalculator" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LiamOW/RustyCalculator 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 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-12/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded indexmap v1.5.2 [INFO] [stderr] Downloaded rustyline v5.0.6 [INFO] [stderr] Downloaded handlebars v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 9e0a17a3c1d89f60834a68e1411d88189006608ae49715daf553e55c9a333f6c [INFO] running `Command { std: "docker" "start" "-a" "9e0a17a3c1d89f60834a68e1411d88189006608ae49715daf553e55c9a333f6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e0a17a3c1d89f60834a68e1411d88189006608ae49715daf553e55c9a333f6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e0a17a3c1d89f60834a68e1411d88189006608ae49715daf553e55c9a333f6c", kill_on_drop: false }` [INFO] [stdout] 9e0a17a3c1d89f60834a68e1411d88189006608ae49715daf553e55c9a333f6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] [stdout] bd83a2dde7403ca68f4f3f1fda12f4107aa85aae07485e9c08eb845c2e18906b [INFO] running `Command { std: "docker" "start" "-a" "bd83a2dde7403ca68f4f3f1fda12f4107aa85aae07485e9c08eb845c2e18906b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling unic-char-range v0.7.0 [INFO] [stderr] Compiling state v0.4.1 [INFO] [stderr] Compiling unic-common v0.7.0 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling calculator v0.1.0 (/opt/rustwide/workdir/calculator) [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling miniz_oxide v0.4.1 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unic-ucd-version v0.7.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling unic-char-property v0.7.0 [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] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `calculator` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bd83a2dde7403ca68f4f3f1fda12f4107aa85aae07485e9c08eb845c2e18906b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd83a2dde7403ca68f4f3f1fda12f4107aa85aae07485e9c08eb845c2e18906b", kill_on_drop: false }` [INFO] [stdout] bd83a2dde7403ca68f4f3f1fda12f4107aa85aae07485e9c08eb845c2e18906b