[INFO] cloning repository https://github.com/l3kn/EulerLisp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/l3kn/EulerLisp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl3kn%2FEulerLisp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl3kn%2FEulerLisp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c525a71b2059b06dc1341fcd479daa8f77bdd972 [INFO] checking l3kn/EulerLisp against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl3kn%2FEulerLisp" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/l3kn/EulerLisp on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/l3kn/EulerLisp [INFO] finished tweaking git repo https://github.com/l3kn/EulerLisp [INFO] tweaked toml for git repo https://github.com/l3kn/EulerLisp written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/l3kn/EulerLisp already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v0.15.25 [INFO] [stderr] Downloaded serde v1.0.33 [INFO] [stderr] Downloaded colored v1.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26c3464f05d80b8b28c52ce3dc50c34651c43b198a514d706a2d4a4fdd1775f7 [INFO] running `Command { std: "docker" "start" "-a" "26c3464f05d80b8b28c52ce3dc50c34651c43b198a514d706a2d4a4fdd1775f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26c3464f05d80b8b28c52ce3dc50c34651c43b198a514d706a2d4a4fdd1775f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26c3464f05d80b8b28c52ce3dc50c34651c43b198a514d706a2d4a4fdd1775f7", kill_on_drop: false }` [INFO] [stdout] 26c3464f05d80b8b28c52ce3dc50c34651c43b198a514d706a2d4a4fdd1775f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8559b7c1db1a30c284f76b61fd8ad6626f5dbf8b5742b955b32b6bd24703355d [INFO] running `Command { std: "docker" "start" "-a" "8559b7c1db1a30c284f76b61fd8ad6626f5dbf8b5742b955b32b6bd24703355d", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.39 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking crossbeam-epoch v0.3.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking encode_unicode v0.1.3 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking either v1.4.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking csv-core v0.1.4 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking serde v1.0.33 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking colored v1.6.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking bit-vec v0.4.4 [INFO] [stderr] Compiling syn v0.15.25 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking rayon v1.0.1 [INFO] [stderr] Checking rustyline v1.0.0 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking csv v1.0.0-beta.5 [INFO] [stderr] Compiling lisp-macros v0.1.0 (/opt/rustwide/workdir/lisp-macros) [INFO] [stderr] Checking euler_lisp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/lib.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | impl From for LispError { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::LispError::NoneError`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 40 | impl From for LispError { [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/lib.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | fn from(error: std::option::NoneError) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::LispError::NoneError`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 41 | fn from(error: crate::LispError) -> Self { [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/lib.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | impl From for LispError { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::LispError::NoneError`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 40 | impl From for LispError { [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/lib.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | fn from(error: std::option::NoneError) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::LispError::NoneError`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 41 | fn from(error: crate::LispError) -> Self { [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `try_trait` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `try_trait` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait)] [INFO] [stdout] | ^^^^^^^^^ [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/compiler/mod.rs:183:30 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn expand_macros(&mut self, datum: Value) -> LispResult { [INFO] [stdout] | ------------------------------------------------------------------ this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 183 | let sr = rule?.clone(); [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [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/compiler/mod.rs:363:38 [INFO] [stdout] | [INFO] [stdout] 334 | / pub fn preprocess_meaning( [INFO] [stdout] 335 | | &mut self, [INFO] [stdout] 336 | | datum: Value, [INFO] [stdout] 337 | | env: AEnvRef, [INFO] [stdout] 338 | | tail: bool, [INFO] [stdout] 339 | | ) -> LispResult> { [INFO] [stdout] | |____________________________________________- this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 363 | let sr = rule?.clone(); [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result)>, LispError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result)>, LispError>` [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [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/compiler/mod.rs:183:30 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn expand_macros(&mut self, datum: Value) -> LispResult { [INFO] [stdout] | ------------------------------------------------------------------ this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 183 | let sr = rule?.clone(); [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [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/compiler/mod.rs:605:33 [INFO] [stdout] | [INFO] [stdout] 589 | / fn preprocess_meaning_alternative( [INFO] [stdout] 590 | | &mut self, [INFO] [stdout] 591 | | mut datums: Vec, [INFO] [stdout] 592 | | env: AEnvRef, [INFO] [stdout] 593 | | tail: bool, [INFO] [stdout] 594 | | ) -> LispResult> { [INFO] [stdout] | |____________________________________________- this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 605 | let mut last = alt.pop()?; [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result)>, LispError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result)>, LispError>` [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [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/compiler/mod.rs:363:38 [INFO] [stdout] | [INFO] [stdout] 334 | / pub fn preprocess_meaning( [INFO] [stdout] 335 | | &mut self, [INFO] [stdout] 336 | | datum: Value, [INFO] [stdout] 337 | | env: AEnvRef, [INFO] [stdout] 338 | | tail: bool, [INFO] [stdout] 339 | | ) -> LispResult> { [INFO] [stdout] | |____________________________________________- this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 363 | let sr = rule?.clone(); [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result)>, LispError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result)>, LispError>` [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [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/compiler/mod.rs:605:33 [INFO] [stdout] | [INFO] [stdout] 589 | / fn preprocess_meaning_alternative( [INFO] [stdout] 590 | | &mut self, [INFO] [stdout] 591 | | mut datums: Vec, [INFO] [stdout] 592 | | env: AEnvRef, [INFO] [stdout] 593 | | tail: bool, [INFO] [stdout] 594 | | ) -> LispResult> { [INFO] [stdout] | |____________________________________________- this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 605 | let mut last = alt.pop()?; [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result)>, LispError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result)>, LispError>` [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `SymbolTable` in the current scope [INFO] [stdout] --> src/symbol_table.rs:177:31 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SymbolTable { [INFO] [stdout] | ---------------------- function or associated item `default` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 177 | let mut st = SymbolTable::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `SymbolTable` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `SymbolTable`, consider using `SymbolTable::new` which returns `SymbolTable` [INFO] [stdout] --> src/symbol_table.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [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/vm/mod.rs:392:51 [INFO] [stdout] | [INFO] [stdout] 230 | fn run_instruction(&mut self, inst: u8) -> LispResult<()> { [INFO] [stdout] | --------------------------------------------------------- this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 392 | self.env = self.env.parent.clone()?; [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), LispError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), LispError>` [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [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/vm/mod.rs:392:51 [INFO] [stdout] | [INFO] [stdout] 230 | fn run_instruction(&mut self, inst: u8) -> LispResult<()> { [INFO] [stdout] | --------------------------------------------------------- this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 392 | self.env = self.env.parent.clone()?; [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), LispError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(), LispError>` [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexer.rs:588:44 [INFO] [stdout] | [INFO] [stdout] 588 | let mut lexer = Lexer::from_string("#\\n #\\newline", None); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | | [INFO] [stdout] | | expected `String`, found `&str` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lexer.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn from_string(string: String, source: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ -------------- [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/syntax_rule.rs:139:57 [INFO] [stdout] | [INFO] [stdout] 65 | / pub fn matches( [INFO] [stdout] 66 | | &self, [INFO] [stdout] 67 | | pattern: &Pattern, [INFO] [stdout] 68 | | datum: Value, [INFO] [stdout] 69 | | bindings: &mut HashMap, [INFO] [stdout] 70 | | ) -> LispResult { [INFO] [stdout] | |_________________________- this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 139 | coll.push(subbinding.get(&k)?.clone()); [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexer.rs:601:44 [INFO] [stdout] | [INFO] [stdout] 601 | let mut lexer = Lexer::from_string("#\\s #\\space", None); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | | [INFO] [stdout] | | expected `String`, found `&str` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lexer.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn from_string(string: String, source: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ -------------- [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/syntax_rule.rs:190:62 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn parse(expr: Value, literals: &Vec) -> LispResult { [INFO] [stdout] | ------------------------------------------------------------------------ this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 190 | let rest = Pattern::parse(elems.pop()?, literals)?; [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexer.rs:614:44 [INFO] [stdout] | [INFO] [stdout] 614 | let mut lexer = Lexer::from_string("#\\t #\\tab", None); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | | [INFO] [stdout] | | expected `String`, found `&str` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lexer.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn from_string(string: String, source: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ -------------- [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/syntax_rule.rs:139:57 [INFO] [stdout] | [INFO] [stdout] 65 | / pub fn matches( [INFO] [stdout] 66 | | &self, [INFO] [stdout] 67 | | pattern: &Pattern, [INFO] [stdout] 68 | | datum: Value, [INFO] [stdout] 69 | | bindings: &mut HashMap, [INFO] [stdout] 70 | | ) -> LispResult { [INFO] [stdout] | |_________________________- this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 139 | coll.push(subbinding.get(&k)?.clone()); [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [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/syntax_rule.rs:190:62 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn parse(expr: Value, literals: &Vec) -> LispResult { [INFO] [stdout] | ------------------------------------------------------------------------ this function returns a `Result` [INFO] [stdout] ... [INFO] [stdout] 190 | let rest = Pattern::parse(elems.pop()?, literals)?; [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = help: the following other types implement trait `FromResidual`: [INFO] [stdout] as FromResidual>> [INFO] [stdout] as FromResidual>> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `euler_lisp` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `euler_lisp` (lib test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "8559b7c1db1a30c284f76b61fd8ad6626f5dbf8b5742b955b32b6bd24703355d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8559b7c1db1a30c284f76b61fd8ad6626f5dbf8b5742b955b32b6bd24703355d", kill_on_drop: false }` [INFO] [stdout] 8559b7c1db1a30c284f76b61fd8ad6626f5dbf8b5742b955b32b6bd24703355d [INFO] checking l3kn/EulerLisp against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl3kn%2FEulerLisp" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/l3kn/EulerLisp on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/l3kn/EulerLisp [INFO] finished tweaking git repo https://github.com/l3kn/EulerLisp [INFO] tweaked toml for git repo https://github.com/l3kn/EulerLisp written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/l3kn/EulerLisp already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c722291a9cb031e13af02f18289763bfa71f15e96c83b1151feaaf1de850b80e [INFO] running `Command { std: "docker" "start" "-a" "c722291a9cb031e13af02f18289763bfa71f15e96c83b1151feaaf1de850b80e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c722291a9cb031e13af02f18289763bfa71f15e96c83b1151feaaf1de850b80e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c722291a9cb031e13af02f18289763bfa71f15e96c83b1151feaaf1de850b80e", kill_on_drop: false }` [INFO] [stdout] c722291a9cb031e13af02f18289763bfa71f15e96c83b1151feaaf1de850b80e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcdc999326b800db2321afa32affa019dd01aec25c98fc225b4ddbb47dbcbb90 [INFO] running `Command { std: "docker" "start" "-a" "fcdc999326b800db2321afa32affa019dd01aec25c98fc225b4ddbb47dbcbb90", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "fcdc999326b800db2321afa32affa019dd01aec25c98fc225b4ddbb47dbcbb90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcdc999326b800db2321afa32affa019dd01aec25c98fc225b4ddbb47dbcbb90", kill_on_drop: false }` [INFO] [stdout] fcdc999326b800db2321afa32affa019dd01aec25c98fc225b4ddbb47dbcbb90