[INFO] cloning repository https://github.com/Madoshakalaka/rust_practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Madoshakalaka/rust_practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMadoshakalaka%2Frust_practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMadoshakalaka%2Frust_practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2bed6fec68756528fe166cb0ad6a0e198b1d515b [INFO] checking Madoshakalaka/rust_practice/2bed6fec68756528fe166cb0ad6a0e198b1d515b against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMadoshakalaka%2Frust_practice" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Madoshakalaka/rust_practice on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Madoshakalaka/rust_practice [INFO] finished tweaking git repo https://github.com/Madoshakalaka/rust_practice [INFO] tweaked toml for git repo https://github.com/Madoshakalaka/rust_practice written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Madoshakalaka/rust_practice 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v1.0.53 [INFO] [stderr] Downloaded bstr v0.2.14 [INFO] [stderr] Downloaded csv v1.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2a66a38fb0f27d6c4b73896d05b383c1bec9beb4a5924adbff55218a611c57a [INFO] running `Command { std: "docker" "start" "-a" "d2a66a38fb0f27d6c4b73896d05b383c1bec9beb4a5924adbff55218a611c57a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2a66a38fb0f27d6c4b73896d05b383c1bec9beb4a5924adbff55218a611c57a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2a66a38fb0f27d6c4b73896d05b383c1bec9beb4a5924adbff55218a611c57a", kill_on_drop: false }` [INFO] [stdout] d2a66a38fb0f27d6c4b73896d05b383c1bec9beb4a5924adbff55218a611c57a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9ad7873337939cdda452cf0fa2db155fe1e50ed85d122d184f05815526869eb [INFO] running `Command { std: "docker" "start" "-a" "a9ad7873337939cdda452cf0fa2db155fe1e50ed85d122d184f05815526869eb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking rust_practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/algebra/expression.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | fn _build(&self, root ,current:&mut PrefixExpression, placeheld_count:usize){ [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 54 | fn _build(&self, root: TypeName ,current:&mut PrefixExpression, placeheld_count:usize){ [INFO] [stdout] | ++++++++++ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 54 | fn _build(&self, _: root ,current:&mut PrefixExpression, placeheld_count:usize){ [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/algebra/expression.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | fn _build(&self, root ,current:&mut PrefixExpression, placeheld_count:usize){ [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 54 | fn _build(&self, root: TypeName ,current:&mut PrefixExpression, placeheld_count:usize){ [INFO] [stdout] | ++++++++++ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 54 | fn _build(&self, _: root ,current:&mut PrefixExpression, placeheld_count:usize){ [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/algebra/expression.rs:39:52 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a> HomonumericalPrefixExpressionGroup<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 38 | [INFO] [stdout] 39 | fn new(numbers: &'a Vec) -> Result { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/algebra/expression.rs:39:52 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a> HomonumericalPrefixExpressionGroup<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 38 | [INFO] [stdout] 39 | fn new(numbers: &'a Vec) -> Result { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Operator: Clone` is not satisfied [INFO] [stdout] --> src/algebra/expression.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 21 | struct PrefixExpression { [INFO] [stdout] 22 | operator: Operator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `Operator` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Operator` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 4 + #[derive(Clone)] [INFO] [stdout] 5 | enum Operator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/algebra/expression.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | todo!("finish this, every else case recurses into 3 cases: both operator / diff "); [INFO] [stdout] | ---------------------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 57 | [INFO] [stdout] 58 | / if placeheld_count == self.op_len { [INFO] [stdout] 59 | | let clone = current.clone(); [INFO] [stdout] 60 | | [INFO] [stdout] 61 | | current.first = Operand::Number(None); [INFO] [stdout] ... | [INFO] [stdout] 69 | | [INFO] [stdout] 70 | | } [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `expression_placeholder` on type `&HomonumericalPrefixExpressionGroup<'a>` [INFO] [stdout] --> src/algebra/expression.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | if self.expression_placeholder{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 90 | if self.expression_placeholders{ [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Operator: Clone` is not satisfied [INFO] [stdout] --> src/algebra/expression.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 21 | struct PrefixExpression { [INFO] [stdout] 22 | operator: Operator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `Operator` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Operator` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 4 + #[derive(Clone)] [INFO] [stdout] 5 | enum Operator { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/algebra/expression.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | todo!("finish this, every else case recurses into 3 cases: both operator / diff "); [INFO] [stdout] | ---------------------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 57 | [INFO] [stdout] 58 | / if placeheld_count == self.op_len { [INFO] [stdout] 59 | | let clone = current.clone(); [INFO] [stdout] 60 | | [INFO] [stdout] 61 | | current.first = Operand::Number(None); [INFO] [stdout] ... | [INFO] [stdout] 69 | | [INFO] [stdout] 70 | | } [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `expression_placeholder` on type `&HomonumericalPrefixExpressionGroup<'a>` [INFO] [stdout] --> src/algebra/expression.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | if self.expression_placeholder{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 90 | if self.expression_placeholders{ [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand_limit` [INFO] [stdout] --> src/algebra/expression.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let operand_limit = numbers.len() - 1; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand_limit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/algebra/expression.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | for op in TRYING_OPERATORS.iter() {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand_limit` [INFO] [stdout] --> src/algebra/expression.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let operand_limit = numbers.len() - 1; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand_limit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/algebra/expression.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | for op in TRYING_OPERATORS.iter() {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_practice` (lib) due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_practice` (lib test) due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a9ad7873337939cdda452cf0fa2db155fe1e50ed85d122d184f05815526869eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9ad7873337939cdda452cf0fa2db155fe1e50ed85d122d184f05815526869eb", kill_on_drop: false }` [INFO] [stdout] a9ad7873337939cdda452cf0fa2db155fe1e50ed85d122d184f05815526869eb