[INFO] fetching crate seahorse-dev 0.2.0... [INFO] checking seahorse-dev-0.2.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate seahorse-dev 0.2.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate seahorse-dev 0.2.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate seahorse-dev 0.2.0 [INFO] finished tweaking crates.io crate seahorse-dev 0.2.0 [INFO] tweaked toml for crates.io crate seahorse-dev 0.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate seahorse-dev 0.2.0 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spinners v4.1.0 [INFO] [stderr] Downloaded unic-emoji-char v0.9.0 [INFO] [stderr] Downloaded toolchain_find v0.2.0 [INFO] [stderr] Downloaded unic-ucd-ident v0.9.0 [INFO] [stderr] Downloaded rustfmt-wrapper v0.2.0 [INFO] [stderr] Downloaded docopt v1.1.1 [INFO] [stderr] Downloaded ordermap v0.3.5 [INFO] [stderr] Downloaded owo-colors v3.4.0 [INFO] [stderr] Downloaded lalrpop-util v0.17.2 [INFO] [stderr] Downloaded rustpython-parser v0.1.2 [INFO] [stderr] Downloaded petgraph v0.4.13 [INFO] [stderr] Downloaded combine v4.6.4 [INFO] [stderr] Downloaded ena v0.13.1 [INFO] [stderr] Downloaded fixedbitset v0.1.9 [INFO] [stderr] Downloaded strum_macros v0.24.2 [INFO] [stderr] Downloaded clap v3.2.8 [INFO] [stderr] Downloaded rustversion v1.0.7 [INFO] [stderr] Downloaded lalrpop v0.17.2 [INFO] [stderr] Downloaded unicode_names2 v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8aac16f9954e3c5cd2b52c8af18a8211552e34572287b5b9924869534e5cd1c5 [INFO] running `Command { std: "docker" "start" "-a" "8aac16f9954e3c5cd2b52c8af18a8211552e34572287b5b9924869534e5cd1c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8aac16f9954e3c5cd2b52c8af18a8211552e34572287b5b9924869534e5cd1c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aac16f9954e3c5cd2b52c8af18a8211552e34572287b5b9924869534e5cd1c5", kill_on_drop: false }` [INFO] [stdout] 8aac16f9954e3c5cd2b52c8af18a8211552e34572287b5b9924869534e5cd1c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52f7a7c423938ac04f2a1ec26b57e6909a0b08af66ed8a66c32a79fc553408e7 [INFO] running `Command { std: "docker" "start" "-a" "52f7a7c423938ac04f2a1ec26b57e6909a0b08af66ed8a66c32a79fc553408e7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling autocfg v1.1.0 [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 siphasher v0.2.3 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [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 phf_shared v0.7.24 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling rustversion v1.0.7 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling heck v0.4.0 [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 num-traits v0.2.15 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Checking ucd-trie v0.1.4 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling ena v0.13.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling lalrpop-util v0.17.2 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [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 num-bigint v0.2.6 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling term v0.5.2 [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 fastrand v1.8.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Checking combine v4.6.4 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Checking unic-ucd-ident v0.9.0 [INFO] [stderr] Checking unic-emoji-char v0.9.0 [INFO] [stderr] Compiling seahorse-dev v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking strsim v0.10.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 once_cell v1.12.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking maplit v1.0.2 [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 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 spinners v4.1.0 [INFO] [stderr] Checking clap v3.2.8 [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: 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: unused imports: `Python` and `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] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/core/generate/mod.rs:1479:32 [INFO] [stdout] | [INFO] [stdout] 1479 | let maybe_pyth_import = if (features.contains(&Feature::Pyth)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1479 - let maybe_pyth_import = if (features.contains(&Feature::Pyth)) { [INFO] [stdout] 1479 + let maybe_pyth_import = if features.contains(&Feature::Pyth) { [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: unused imports: `Python` and `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] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/core/generate/mod.rs:1479:32 [INFO] [stdout] | [INFO] [stdout] 1479 | let maybe_pyth_import = if (features.contains(&Feature::Pyth)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1479 - let maybe_pyth_import = if (features.contains(&Feature::Pyth)) { [INFO] [stdout] 1479 + let maybe_pyth_import = if features.contains(&Feature::Pyth) { [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] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/core/compile/build/mod.rs:1267:25 [INFO] [stdout] | [INFO] [stdout] 1114 | NamespacedObject::Automatic(..) => {}, [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] 1115 | NamespacedObject::Import(Located(_, ImportObj { path, is_builtin: true, .. })) => { [INFO] [stdout] | ------------------------------------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1122 | NamespacedObject::Import(Located(_, ImportObj { mut path, is_builtin: false, .. })) => { [INFO] [stdout] | ----------------------------------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1155 | NamespacedObject::Item(item) => { [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1267 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [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] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/core/compile/build/mod.rs:1267:25 [INFO] [stdout] | [INFO] [stdout] 1114 | NamespacedObject::Automatic(..) => {}, [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] 1115 | NamespacedObject::Import(Located(_, ImportObj { path, is_builtin: true, .. })) => { [INFO] [stdout] | ------------------------------------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1122 | NamespacedObject::Import(Located(_, ImportObj { mut path, is_builtin: false, .. })) => { [INFO] [stdout] | ----------------------------------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1155 | NamespacedObject::Item(item) => { [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1267 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [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: `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: `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: `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: 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: 16 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: 16 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 45.14s [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 1` [INFO] running `Command { std: "docker" "inspect" "52f7a7c423938ac04f2a1ec26b57e6909a0b08af66ed8a66c32a79fc553408e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52f7a7c423938ac04f2a1ec26b57e6909a0b08af66ed8a66c32a79fc553408e7", kill_on_drop: false }` [INFO] [stdout] 52f7a7c423938ac04f2a1ec26b57e6909a0b08af66ed8a66c32a79fc553408e7