[INFO] fetching crate seahorse-dev 0.1.1... [INFO] checking seahorse-dev-0.1.1 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate seahorse-dev 0.1.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate seahorse-dev 0.1.1 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate seahorse-dev 0.1.1 [INFO] finished tweaking crates.io crate seahorse-dev 0.1.1 [INFO] tweaked toml for crates.io crate seahorse-dev 0.1.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate seahorse-dev 0.1.1 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unic-emoji-char v0.9.0 [INFO] [stderr] Downloaded spinners v4.1.0 [INFO] [stderr] Downloaded rustversion v1.0.7 [INFO] [stderr] Downloaded lalrpop-util v0.17.2 [INFO] [stderr] Downloaded rustpython-parser v0.1.2 [INFO] [stderr] Downloaded base58 v0.2.0 [INFO] [stderr] Downloaded toolchain_find v0.2.0 [INFO] [stderr] Downloaded string_cache_codegen v0.4.4 [INFO] [stderr] Downloaded string_cache_shared v0.3.0 [INFO] [stderr] Downloaded owo-colors v3.4.0 [INFO] [stderr] Downloaded ucd-trie v0.1.4 [INFO] [stderr] Downloaded pest v2.2.1 [INFO] [stderr] Downloaded clap v3.2.8 [INFO] [stderr] Downloaded lalrpop v0.17.2 [INFO] [stderr] Downloaded unicode_names2 v0.4.0 [INFO] [stderr] Downloaded rustfmt-wrapper v0.2.0 [INFO] [stderr] Downloaded docopt v1.1.1 [INFO] [stderr] Downloaded ena v0.13.1 [INFO] [stderr] Downloaded string_cache v0.7.5 [INFO] [stderr] Downloaded crossbeam-utils v0.8.9 [INFO] [stderr] Downloaded unic-ucd-ident v0.9.0 [INFO] [stderr] Downloaded strum_macros v0.24.2 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c5dd2faa7446836ed62fa07d8ad76ea7e2b4459d1d09b596ea009953f7dfd3e [INFO] running `Command { std: "docker" "start" "-a" "2c5dd2faa7446836ed62fa07d8ad76ea7e2b4459d1d09b596ea009953f7dfd3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c5dd2faa7446836ed62fa07d8ad76ea7e2b4459d1d09b596ea009953f7dfd3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c5dd2faa7446836ed62fa07d8ad76ea7e2b4459d1d09b596ea009953f7dfd3e", kill_on_drop: false }` [INFO] [stdout] 2c5dd2faa7446836ed62fa07d8ad76ea7e2b4459d1d09b596ea009953f7dfd3e [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 063c0e913f77fde568018daf8713117aa0d0dd68917ba42fa8712f13981a5598 [INFO] running `Command { std: "docker" "start" "-a" "063c0e913f77fde568018daf8713117aa0d0dd68917ba42fa8712f13981a5598", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling rustversion v1.0.7 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking ucd-trie v0.1.4 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ena v0.13.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling lalrpop-util v0.17.2 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling seahorse-dev v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking combine v4.6.4 [INFO] [stderr] Checking unic-emoji-char v0.9.0 [INFO] [stderr] Checking unic-ucd-ident v0.9.0 [INFO] [stderr] Checking unicode_names2 v0.4.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking base58 v0.2.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Checking owo-colors v3.4.0 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling strum_macros v0.24.2 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking pest v2.2.1 [INFO] [stderr] Checking clap v3.2.8 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking spinners v4.1.0 [INFO] [stderr] Checking semver-parser v0.10.2 [INFO] [stderr] Checking toml_edit v0.14.4 [INFO] [stderr] Checking semver v0.11.0 [INFO] [stderr] Checking toolchain_find v0.2.0 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Compiling docopt v1.1.1 [INFO] [stderr] Compiling lalrpop v0.17.2 [INFO] [stderr] Checking rustfmt-wrapper v0.2.0 [INFO] [stderr] Compiling rustpython-parser v0.1.2 [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/core/clean/mod.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | convert::{Infallible, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/core/clean/mod.rs:374:51 [INFO] [stdout] | [INFO] [stdout] 374 | py::ExpressionType::Subscript { a, b } => ( [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 375 | | validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] | | ____________^________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 376 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 374 - py::ExpressionType::Subscript { a, b } => ( [INFO] [stdout] 375 - validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] 374 + py::ExpressionType::Subscript { a, b } => validate_constant(&*a) && validate_constant(&*b), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/core/clean/mod.rs:377:51 [INFO] [stdout] | [INFO] [stdout] 377 | py::ExpressionType::Binop { a, b, .. } => ( [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 378 | | validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] | | ____________^________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 379 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 377 - py::ExpressionType::Binop { a, b, .. } => ( [INFO] [stdout] 378 - validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] 377 + py::ExpressionType::Binop { a, b, .. } => validate_constant(&*a) && validate_constant(&*b), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BuiltinSource` is imported redundantly [INFO] [stdout] --> src/core/compile/check/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core::compile::builtin::BuiltinSource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | builtin::{prelude::Prelude, python::Python, *}, [INFO] [stdout] | - the item `BuiltinSource` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Prelude` is imported redundantly [INFO] [stdout] --> src/core/compile/check/mod.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | builtin::{prelude::Prelude, python::Python, *}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ - the item `Prelude` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Python` is imported redundantly [INFO] [stdout] --> src/core/compile/check/mod.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | builtin::{prelude::Prelude, python::Python, *}, [INFO] [stdout] | ^^^^^^^^^^^^^^ - the item `Python` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Python`, `pyth::ExprContext` [INFO] [stdout] --> src/core/compile/sign/mod.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | builtin::{pyth::ExprContext, Builtin, BuiltinSource, Python}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CoreError` is imported redundantly [INFO] [stdout] --> src/core/generate/mod.rs:2:67 [INFO] [stdout] | [INFO] [stdout] 2 | core::{compile::ast::*, compile::build::BuildOutput, util::*, CoreError}, [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `CoreError` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/core/generate/mod.rs:1480:32 [INFO] [stdout] | [INFO] [stdout] 1480 | let maybe_pyth_import = if (features.contains(&Feature::Pyth)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1480 - let maybe_pyth_import = if (features.contains(&Feature::Pyth)) { [INFO] [stdout] 1480 + let maybe_pyth_import = if features.contains(&Feature::Pyth) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CoreError` is imported redundantly [INFO] [stdout] --> src/core/preprocess/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | util::*, [INFO] [stdout] | ------- the item `CoreError` is already imported here [INFO] [stdout] 6 | CoreError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/core/clean/mod.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | convert::{Infallible, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/core/clean/mod.rs:374:51 [INFO] [stdout] | [INFO] [stdout] 374 | py::ExpressionType::Subscript { a, b } => ( [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 375 | | validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] | | ____________^________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 376 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 374 - py::ExpressionType::Subscript { a, b } => ( [INFO] [stdout] 375 - validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] 374 + py::ExpressionType::Subscript { a, b } => validate_constant(&*a) && validate_constant(&*b), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/core/clean/mod.rs:377:51 [INFO] [stdout] | [INFO] [stdout] 377 | py::ExpressionType::Binop { a, b, .. } => ( [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 378 | | validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] | | ____________^________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 379 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 377 - py::ExpressionType::Binop { a, b, .. } => ( [INFO] [stdout] 378 - validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] 377 + py::ExpressionType::Binop { a, b, .. } => validate_constant(&*a) && validate_constant(&*b), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BuiltinSource` is imported redundantly [INFO] [stdout] --> src/core/compile/check/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core::compile::builtin::BuiltinSource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | builtin::{prelude::Prelude, python::Python, *}, [INFO] [stdout] | - the item `BuiltinSource` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Prelude` is imported redundantly [INFO] [stdout] --> src/core/compile/check/mod.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | builtin::{prelude::Prelude, python::Python, *}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ - the item `Prelude` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Python` is imported redundantly [INFO] [stdout] --> src/core/compile/check/mod.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | builtin::{prelude::Prelude, python::Python, *}, [INFO] [stdout] | ^^^^^^^^^^^^^^ - the item `Python` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Python`, `pyth::ExprContext` [INFO] [stdout] --> src/core/compile/sign/mod.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | builtin::{pyth::ExprContext, Builtin, BuiltinSource, Python}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CoreError` is imported redundantly [INFO] [stdout] --> src/core/generate/mod.rs:2:67 [INFO] [stdout] | [INFO] [stdout] 2 | core::{compile::ast::*, compile::build::BuildOutput, util::*, CoreError}, [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `CoreError` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/core/generate/mod.rs:1480:32 [INFO] [stdout] | [INFO] [stdout] 1480 | let maybe_pyth_import = if (features.contains(&Feature::Pyth)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1480 - let maybe_pyth_import = if (features.contains(&Feature::Pyth)) { [INFO] [stdout] 1480 + let maybe_pyth_import = if features.contains(&Feature::Pyth) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CoreError` is imported redundantly [INFO] [stdout] --> src/core/preprocess/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | util::*, [INFO] [stdout] | ------- the item `CoreError` is already imported here [INFO] [stdout] 6 | CoreError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core/compile/build/mod.rs:1267:25 [INFO] [stdout] | [INFO] [stdout] 1267 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `abs` [INFO] [stdout] --> src/core/compile/build/mod.rs:1102:74 [INFO] [stdout] | [INFO] [stdout] 1102 | .map_with_path(|(mut contexts, (mut signatures, namespace)), abs| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_abs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/core/compile/builtin/prelude.rs:1276:48 [INFO] [stdout] | [INFO] [stdout] 1276 | Builtin::Prelude(Self::RustInt(s2, b2)) if (!s1 && b1 < b2) => Some(( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attr` [INFO] [stdout] --> src/core/compile/builtin/python.rs:662:27 [INFO] [stdout] | [INFO] [stdout] 662 | fn static_attr(&self, attr: &String) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_attr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core/compile/build/mod.rs:1267:25 [INFO] [stdout] | [INFO] [stdout] 1267 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `abs` [INFO] [stdout] --> src/core/compile/build/mod.rs:1102:74 [INFO] [stdout] | [INFO] [stdout] 1102 | .map_with_path(|(mut contexts, (mut signatures, namespace)), abs| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_abs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/core/compile/check/mod.rs:878:48 [INFO] [stdout] | [INFO] [stdout] 878 | Located(_, ImportObj { path, import_type: ImportType::Symbol, .. }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/core/compile/check/mod.rs:883:48 [INFO] [stdout] | [INFO] [stdout] 883 | Located(_, ImportObj { path, .. }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/core/compile/check/mod.rs:1153:27 [INFO] [stdout] | [INFO] [stdout] 1153 | (Some(target), None) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/core/compile/builtin/prelude.rs:1276:48 [INFO] [stdout] | [INFO] [stdout] 1276 | Builtin::Prelude(Self::RustInt(s2, b2)) if (!s1 && b1 < b2) => Some(( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> src/core/compile/sign/mod.rs:131:46 [INFO] [stdout] | [INFO] [stdout] 131 | |(_, FunctionSignature { params, returns })| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_returns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attr` [INFO] [stdout] --> src/core/compile/builtin/python.rs:662:27 [INFO] [stdout] | [INFO] [stdout] 662 | fn static_attr(&self, attr: &String) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_attr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/core/compile/check/mod.rs:878:48 [INFO] [stdout] | [INFO] [stdout] 878 | Located(_, ImportObj { path, import_type: ImportType::Symbol, .. }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/core/compile/check/mod.rs:883:48 [INFO] [stdout] | [INFO] [stdout] 883 | Located(_, ImportObj { path, .. }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/core/compile/check/mod.rs:1153:27 [INFO] [stdout] | [INFO] [stdout] 1153 | (Some(target), None) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/core/generate/mod.rs:1360:54 [INFO] [stdout] | [INFO] [stdout] 1360 | |(name, ContextAccount { account_ty, ty, .. })| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> src/core/compile/sign/mod.rs:131:46 [INFO] [stdout] | [INFO] [stdout] 131 | |(_, FunctionSignature { params, returns })| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_returns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ReusedVarInTuple` is never constructed [INFO] [stdout] --> src/core/compile/check/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 25 | VarNotFound(String), [INFO] [stdout] 26 | ReusedVarInTuple, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_undeclared` is never used [INFO] [stdout] --> src/core/compile/check/mod.rs:702:8 [INFO] [stdout] | [INFO] [stdout] 550 | impl<'a> Context<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 702 | fn get_undeclared(&self, target: &Target, loc: &Location) -> CResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CouldNotAddModule` is never constructed [INFO] [stdout] --> src/core/preprocess/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 20 | CouldNotAddModule, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/core/generate/mod.rs:1360:54 [INFO] [stdout] | [INFO] [stdout] 1360 | |(name, ContextAccount { account_ty, ty, .. })| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ReusedVarInTuple` is never constructed [INFO] [stdout] --> src/core/compile/check/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 25 | VarNotFound(String), [INFO] [stdout] 26 | ReusedVarInTuple, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_undeclared` is never used [INFO] [stdout] --> src/core/compile/check/mod.rs:702:8 [INFO] [stdout] | [INFO] [stdout] 550 | impl<'a> Context<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 702 | fn get_undeclared(&self, target: &Target, loc: &Location) -> CResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CouldNotAddModule` is never constructed [INFO] [stdout] --> src/core/preprocess/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 20 | CouldNotAddModule, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generate::GenerateOutput` [INFO] [stdout] --> src/bin/cli/compile.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | core::{compile as seahorse_compile, generate::GenerateOutput, Tree}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Table` [INFO] [stdout] --> src/bin/cli/init.rs:16:57 [INFO] [stdout] | [INFO] [stdout] 16 | use toml_edit::{Document, Formatted, InlineTable, Item, Table, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/bin/cli/update.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | io::{BufWriter, Write}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generate::GenerateOutput` [INFO] [stdout] --> src/bin/cli/compile.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | core::{compile as seahorse_compile, generate::GenerateOutput, Tree}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Table` [INFO] [stdout] --> src/bin/cli/init.rs:16:57 [INFO] [stdout] | [INFO] [stdout] 16 | use toml_edit::{Document, Formatted, InlineTable, Item, Table, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/bin/cli/update.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | io::{BufWriter, Write}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/bin/cli/update.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn update(args: UpdateArgs) -> Result<(), Box> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/bin/cli/update.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn update(args: UpdateArgs) -> Result<(), Box> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.98s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.17.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "063c0e913f77fde568018daf8713117aa0d0dd68917ba42fa8712f13981a5598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "063c0e913f77fde568018daf8713117aa0d0dd68917ba42fa8712f13981a5598", kill_on_drop: false }` [INFO] [stdout] 063c0e913f77fde568018daf8713117aa0d0dd68917ba42fa8712f13981a5598 [INFO] checking seahorse-dev-0.1.1 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate seahorse-dev 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate seahorse-dev 0.1.1 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate seahorse-dev 0.1.1 [INFO] finished tweaking crates.io crate seahorse-dev 0.1.1 [INFO] tweaked toml for crates.io crate seahorse-dev 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate seahorse-dev 0.1.1 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac9259590ca812f254294a2caa767cbad12a5924115dafa6847429f587f04e07 [INFO] running `Command { std: "docker" "start" "-a" "ac9259590ca812f254294a2caa767cbad12a5924115dafa6847429f587f04e07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac9259590ca812f254294a2caa767cbad12a5924115dafa6847429f587f04e07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac9259590ca812f254294a2caa767cbad12a5924115dafa6847429f587f04e07", kill_on_drop: false }` [INFO] [stdout] ac9259590ca812f254294a2caa767cbad12a5924115dafa6847429f587f04e07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1ed9140caa536d4b74511444641ac376c6ebbcbb826085d0386d53204e1dd0c [INFO] running `Command { std: "docker" "start" "-a" "b1ed9140caa536d4b74511444641ac376c6ebbcbb826085d0386d53204e1dd0c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rustversion v1.0.7 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Checking ucd-trie v0.1.4 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling ena v0.13.1 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling lalrpop-util v0.17.2 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling seahorse-dev v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking unic-emoji-char v0.9.0 [INFO] [stderr] Checking unic-ucd-ident v0.9.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Checking unicode_names2 v0.4.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking combine v4.6.4 [INFO] [stderr] Checking owo-colors v3.4.0 [INFO] [stderr] Checking base58 v0.2.0 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling strum_macros v0.24.2 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking pest v2.2.1 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking toml_edit v0.14.4 [INFO] [stderr] Checking spinners v4.1.0 [INFO] [stderr] Checking semver-parser v0.10.2 [INFO] [stderr] Checking clap v3.2.8 [INFO] [stderr] Checking semver v0.11.0 [INFO] [stderr] Checking toolchain_find v0.2.0 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Compiling docopt v1.1.1 [INFO] [stderr] Compiling lalrpop v0.17.2 [INFO] [stderr] Checking rustfmt-wrapper v0.2.0 [INFO] [stderr] Compiling rustpython-parser v0.1.2 [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/core/clean/mod.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | convert::{Infallible, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/core/clean/mod.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | convert::{Infallible, TryInto}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/core/clean/mod.rs:374:51 [INFO] [stdout] | [INFO] [stdout] 374 | py::ExpressionType::Subscript { a, b } => ( [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 375 | | validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] | | ____________^________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 376 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 374 - py::ExpressionType::Subscript { a, b } => ( [INFO] [stdout] 375 - validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] 374 + py::ExpressionType::Subscript { a, b } => validate_constant(&*a) && validate_constant(&*b), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/core/clean/mod.rs:377:51 [INFO] [stdout] | [INFO] [stdout] 377 | py::ExpressionType::Binop { a, b, .. } => ( [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 378 | | validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] | | ____________^________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 379 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 377 - py::ExpressionType::Binop { a, b, .. } => ( [INFO] [stdout] 378 - validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] 377 + py::ExpressionType::Binop { a, b, .. } => validate_constant(&*a) && validate_constant(&*b), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/core/clean/mod.rs:374:51 [INFO] [stdout] | [INFO] [stdout] 374 | py::ExpressionType::Subscript { a, b } => ( [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 375 | | validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] | | ____________^________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 376 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 374 - py::ExpressionType::Subscript { a, b } => ( [INFO] [stdout] 375 - validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] 374 + py::ExpressionType::Subscript { a, b } => validate_constant(&*a) && validate_constant(&*b), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/core/clean/mod.rs:377:51 [INFO] [stdout] | [INFO] [stdout] 377 | py::ExpressionType::Binop { a, b, .. } => ( [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 378 | | validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] | | ____________^________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 379 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 377 - py::ExpressionType::Binop { a, b, .. } => ( [INFO] [stdout] 378 - validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] 377 + py::ExpressionType::Binop { a, b, .. } => validate_constant(&*a) && validate_constant(&*b), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BuiltinSource` is imported redundantly [INFO] [stdout] --> src/core/compile/check/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core::compile::builtin::BuiltinSource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | builtin::{prelude::Prelude, python::Python, *}, [INFO] [stdout] | - the item `BuiltinSource` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Prelude` is imported redundantly [INFO] [stdout] --> src/core/compile/check/mod.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | builtin::{prelude::Prelude, python::Python, *}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ - the item `Prelude` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Python` is imported redundantly [INFO] [stdout] --> src/core/compile/check/mod.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | builtin::{prelude::Prelude, python::Python, *}, [INFO] [stdout] | ^^^^^^^^^^^^^^ - the item `Python` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BuiltinSource` is imported redundantly [INFO] [stdout] --> src/core/compile/check/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core::compile::builtin::BuiltinSource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | builtin::{prelude::Prelude, python::Python, *}, [INFO] [stdout] | - the item `BuiltinSource` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Prelude` is imported redundantly [INFO] [stdout] --> src/core/compile/check/mod.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | builtin::{prelude::Prelude, python::Python, *}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ - the item `Prelude` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Python` is imported redundantly [INFO] [stdout] --> src/core/compile/check/mod.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | builtin::{prelude::Prelude, python::Python, *}, [INFO] [stdout] | ^^^^^^^^^^^^^^ - the item `Python` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Python`, `pyth::ExprContext` [INFO] [stdout] --> src/core/compile/sign/mod.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | builtin::{pyth::ExprContext, Builtin, BuiltinSource, Python}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CoreError` is imported redundantly [INFO] [stdout] --> src/core/generate/mod.rs:2:67 [INFO] [stdout] | [INFO] [stdout] 2 | core::{compile::ast::*, compile::build::BuildOutput, util::*, CoreError}, [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `CoreError` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Python`, `pyth::ExprContext` [INFO] [stdout] --> src/core/compile/sign/mod.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | builtin::{pyth::ExprContext, Builtin, BuiltinSource, Python}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CoreError` is imported redundantly [INFO] [stdout] --> src/core/generate/mod.rs:2:67 [INFO] [stdout] | [INFO] [stdout] 2 | core::{compile::ast::*, compile::build::BuildOutput, util::*, CoreError}, [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `CoreError` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/core/generate/mod.rs:1480:32 [INFO] [stdout] | [INFO] [stdout] 1480 | let maybe_pyth_import = if (features.contains(&Feature::Pyth)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1480 - let maybe_pyth_import = if (features.contains(&Feature::Pyth)) { [INFO] [stdout] 1480 + let maybe_pyth_import = if features.contains(&Feature::Pyth) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CoreError` is imported redundantly [INFO] [stdout] --> src/core/preprocess/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | util::*, [INFO] [stdout] | ------- the item `CoreError` is already imported here [INFO] [stdout] 6 | CoreError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/core/generate/mod.rs:1480:32 [INFO] [stdout] | [INFO] [stdout] 1480 | let maybe_pyth_import = if (features.contains(&Feature::Pyth)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1480 - let maybe_pyth_import = if (features.contains(&Feature::Pyth)) { [INFO] [stdout] 1480 + let maybe_pyth_import = if features.contains(&Feature::Pyth) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CoreError` is imported redundantly [INFO] [stdout] --> src/core/preprocess/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | util::*, [INFO] [stdout] | ------- the item `CoreError` is already imported here [INFO] [stdout] 6 | CoreError, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core/compile/build/mod.rs:1267:25 [INFO] [stdout] | [INFO] [stdout] 1267 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `abs` [INFO] [stdout] --> src/core/compile/build/mod.rs:1102:74 [INFO] [stdout] | [INFO] [stdout] 1102 | .map_with_path(|(mut contexts, (mut signatures, namespace)), abs| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_abs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/core/compile/build/mod.rs:1267:25 [INFO] [stdout] | [INFO] [stdout] 1267 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `abs` [INFO] [stdout] --> src/core/compile/build/mod.rs:1102:74 [INFO] [stdout] | [INFO] [stdout] 1102 | .map_with_path(|(mut contexts, (mut signatures, namespace)), abs| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_abs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/core/compile/builtin/prelude.rs:1276:48 [INFO] [stdout] | [INFO] [stdout] 1276 | Builtin::Prelude(Self::RustInt(s2, b2)) if (!s1 && b1 < b2) => Some(( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/core/compile/builtin/prelude.rs:1276:48 [INFO] [stdout] | [INFO] [stdout] 1276 | Builtin::Prelude(Self::RustInt(s2, b2)) if (!s1 && b1 < b2) => Some(( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attr` [INFO] [stdout] --> src/core/compile/builtin/python.rs:662:27 [INFO] [stdout] | [INFO] [stdout] 662 | fn static_attr(&self, attr: &String) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_attr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attr` [INFO] [stdout] --> src/core/compile/builtin/python.rs:662:27 [INFO] [stdout] | [INFO] [stdout] 662 | fn static_attr(&self, attr: &String) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_attr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/core/compile/check/mod.rs:878:48 [INFO] [stdout] | [INFO] [stdout] 878 | Located(_, ImportObj { path, import_type: ImportType::Symbol, .. }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/core/compile/check/mod.rs:883:48 [INFO] [stdout] | [INFO] [stdout] 883 | Located(_, ImportObj { path, .. }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/core/compile/check/mod.rs:1153:27 [INFO] [stdout] | [INFO] [stdout] 1153 | (Some(target), None) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/core/compile/check/mod.rs:878:48 [INFO] [stdout] | [INFO] [stdout] 878 | Located(_, ImportObj { path, import_type: ImportType::Symbol, .. }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/core/compile/check/mod.rs:883:48 [INFO] [stdout] | [INFO] [stdout] 883 | Located(_, ImportObj { path, .. }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/core/compile/check/mod.rs:1153:27 [INFO] [stdout] | [INFO] [stdout] 1153 | (Some(target), None) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> src/core/compile/sign/mod.rs:131:46 [INFO] [stdout] | [INFO] [stdout] 131 | |(_, FunctionSignature { params, returns })| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_returns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> src/core/compile/sign/mod.rs:131:46 [INFO] [stdout] | [INFO] [stdout] 131 | |(_, FunctionSignature { params, returns })| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_returns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/core/generate/mod.rs:1360:54 [INFO] [stdout] | [INFO] [stdout] 1360 | |(name, ContextAccount { account_ty, ty, .. })| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/core/generate/mod.rs:1360:54 [INFO] [stdout] | [INFO] [stdout] 1360 | |(name, ContextAccount { account_ty, ty, .. })| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ReusedVarInTuple` is never constructed [INFO] [stdout] --> src/core/compile/check/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 25 | VarNotFound(String), [INFO] [stdout] 26 | ReusedVarInTuple, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_undeclared` is never used [INFO] [stdout] --> src/core/compile/check/mod.rs:702:8 [INFO] [stdout] | [INFO] [stdout] 550 | impl<'a> Context<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 702 | fn get_undeclared(&self, target: &Target, loc: &Location) -> CResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CouldNotAddModule` is never constructed [INFO] [stdout] --> src/core/preprocess/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 20 | CouldNotAddModule, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ReusedVarInTuple` is never constructed [INFO] [stdout] --> src/core/compile/check/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 25 | VarNotFound(String), [INFO] [stdout] 26 | ReusedVarInTuple, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_undeclared` is never used [INFO] [stdout] --> src/core/compile/check/mod.rs:702:8 [INFO] [stdout] | [INFO] [stdout] 550 | impl<'a> Context<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 702 | fn get_undeclared(&self, target: &Target, loc: &Location) -> CResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CouldNotAddModule` is never constructed [INFO] [stdout] --> src/core/preprocess/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 20 | CouldNotAddModule, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generate::GenerateOutput` [INFO] [stdout] --> src/bin/cli/compile.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | core::{compile as seahorse_compile, generate::GenerateOutput, Tree}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Table` [INFO] [stdout] --> src/bin/cli/init.rs:16:57 [INFO] [stdout] | [INFO] [stdout] 16 | use toml_edit::{Document, Formatted, InlineTable, Item, Table, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/bin/cli/update.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | io::{BufWriter, Write}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generate::GenerateOutput` [INFO] [stdout] --> src/bin/cli/compile.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | core::{compile as seahorse_compile, generate::GenerateOutput, Tree}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Table` [INFO] [stdout] --> src/bin/cli/init.rs:16:57 [INFO] [stdout] | [INFO] [stdout] 16 | use toml_edit::{Document, Formatted, InlineTable, Item, Table, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/bin/cli/update.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | io::{BufWriter, Write}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/bin/cli/update.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn update(args: UpdateArgs) -> Result<(), Box> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/bin/cli/update.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn update(args: UpdateArgs) -> Result<(), Box> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.17.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "b1ed9140caa536d4b74511444641ac376c6ebbcbb826085d0386d53204e1dd0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1ed9140caa536d4b74511444641ac376c6ebbcbb826085d0386d53204e1dd0c", kill_on_drop: false }` [INFO] [stdout] b1ed9140caa536d4b74511444641ac376c6ebbcbb826085d0386d53204e1dd0c