[INFO] cloning repository https://github.com/gefjon/gender-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gefjon/gender-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgefjon%2Fgender-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgefjon%2Fgender-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 665d7e9aaddfa9b898846af1edb48b5591764ae3 [INFO] checking gefjon/gender-lang against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgefjon%2Fgender-lang" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gefjon/gender-lang on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6/source/rust-toolchain [INFO] started tweaking git repo https://github.com/gefjon/gender-lang [INFO] finished tweaking git repo https://github.com/gefjon/gender-lang [INFO] tweaked toml for git repo https://github.com/gefjon/gender-lang written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/gefjon/gender-lang already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a11c29e03f6ebdd97a13dea1cb2a6a58e9988c3cf81801ab5364a6c89fb5d271 [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" "a11c29e03f6ebdd97a13dea1cb2a6a58e9988c3cf81801ab5364a6c89fb5d271", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a11c29e03f6ebdd97a13dea1cb2a6a58e9988c3cf81801ab5364a6c89fb5d271", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a11c29e03f6ebdd97a13dea1cb2a6a58e9988c3cf81801ab5364a6c89fb5d271", kill_on_drop: false }` [INFO] [stdout] a11c29e03f6ebdd97a13dea1cb2a6a58e9988c3cf81801ab5364a6c89fb5d271 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e32b9bfc58bc488737b91b0bf3c7b1899ab0d2727fad870f5db75c6d855a796f [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" "e32b9bfc58bc488737b91b0bf3c7b1899ab0d2727fad870f5db75c6d855a796f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling strsim v0.9.2 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.3 [INFO] [stderr] Compiling lalrpop-util v0.17.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling bit-set v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling ena v0.13.0 [INFO] [stderr] Checking aho-corasick v0.7.3 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling lalrpop v0.17.0 [INFO] [stderr] Compiling gender-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::option::NoneError` [INFO] [stdout] --> src/err.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt, option::NoneError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `NoneError` in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::option::NoneError` [INFO] [stdout] --> src/err.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt, option::NoneError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `NoneError` in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/gender-lang-c4b74ab778acc57f/out/grammar.rs:1137:5 [INFO] [stdout] | [INFO] [stdout] 1137 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/gender-lang-c4b74ab778acc57f/out/grammar.rs:1181:5 [INFO] [stdout] | [INFO] [stdout] 1181 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/gender-lang-c4b74ab778acc57f/out/grammar.rs:1192:5 [INFO] [stdout] | [INFO] [stdout] 1192 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/gender-lang-c4b74ab778acc57f/out/grammar.rs:1203:5 [INFO] [stdout] | [INFO] [stdout] 1203 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/gender-lang-c4b74ab778acc57f/out/grammar.rs:1315:5 [INFO] [stdout] | [INFO] [stdout] 1315 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/gender-lang-c4b74ab778acc57f/out/grammar.rs:1137:5 [INFO] [stdout] | [INFO] [stdout] 1137 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/gender-lang-c4b74ab778acc57f/out/grammar.rs:1181:5 [INFO] [stdout] | [INFO] [stdout] 1181 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/gender-lang-c4b74ab778acc57f/out/grammar.rs:1192:5 [INFO] [stdout] | [INFO] [stdout] 1192 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/gender-lang-c4b74ab778acc57f/out/grammar.rs:1203:5 [INFO] [stdout] | [INFO] [stdout] 1203 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/gender-lang-c4b74ab778acc57f/out/grammar.rs:1315:5 [INFO] [stdout] | [INFO] [stdout] 1315 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/lib.rs:92:48 [INFO] [stdout] | [INFO] [stdout] 88 | / pub fn dynamic_call<'thread>( [INFO] [stdout] 89 | | obj: Object<'thread>, [INFO] [stdout] 90 | | method: &'thread str, [INFO] [stdout] 91 | | ) -> err::Result> { [INFO] [stdout] 92 | | let method = obj.gender.methods.get(method)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result, err::Error>` [INFO] [stdout] 93 | | let res = method.invoke_on(obj); [INFO] [stdout] 94 | | Ok(res) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result, err::Error>` [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] --> src/lib.rs:176:51 [INFO] [stdout] | [INFO] [stdout] 158 | / pub fn eval(&mut self, expr: Expr) -> err::Result> { [INFO] [stdout] 159 | | match expr { [INFO] [stdout] 160 | | Expr::Number(n) => Ok(Object::number(n)), [INFO] [stdout] 161 | | Expr::Boolean(b) => Ok(Object::boolean(b)), [INFO] [stdout] ... | [INFO] [stdout] 176 | | pred_result.try_extract_bool()? [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result, err::Error>` [INFO] [stdout] ... | [INFO] [stdout] 207 | | } [INFO] [stdout] 208 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result, err::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [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] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/lib.rs:92:48 [INFO] [stdout] | [INFO] [stdout] 88 | / pub fn dynamic_call<'thread>( [INFO] [stdout] 89 | | obj: Object<'thread>, [INFO] [stdout] 90 | | method: &'thread str, [INFO] [stdout] 91 | | ) -> err::Result> { [INFO] [stdout] 92 | | let method = obj.gender.methods.get(method)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result, err::Error>` [INFO] [stdout] 93 | | let res = method.invoke_on(obj); [INFO] [stdout] 94 | | Ok(res) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result, err::Error>` [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] --> src/lib.rs:176:51 [INFO] [stdout] | [INFO] [stdout] 158 | / pub fn eval(&mut self, expr: Expr) -> err::Result> { [INFO] [stdout] 159 | | match expr { [INFO] [stdout] 160 | | Expr::Number(n) => Ok(Object::number(n)), [INFO] [stdout] 161 | | Expr::Boolean(b) => Ok(Object::boolean(b)), [INFO] [stdout] ... | [INFO] [stdout] 176 | | pred_result.try_extract_bool()? [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result, err::Error>` [INFO] [stdout] ... | [INFO] [stdout] 207 | | } [INFO] [stdout] 208 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result, err::Error>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gender-lang` [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 3 previous errors; 5 warnings emitted [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: build failed [INFO] running `Command { std: "docker" "inspect" "e32b9bfc58bc488737b91b0bf3c7b1899ab0d2727fad870f5db75c6d855a796f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e32b9bfc58bc488737b91b0bf3c7b1899ab0d2727fad870f5db75c6d855a796f", kill_on_drop: false }` [INFO] [stdout] e32b9bfc58bc488737b91b0bf3c7b1899ab0d2727fad870f5db75c6d855a796f