[INFO] cloning repository https://github.com/ayourtch/mojes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ayourtch/mojes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayourtch%2Fmojes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayourtch%2Fmojes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e83ead81bda3f7f64d54a57f3513d33ce11de2af [INFO] building ayourtch/mojes against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayourtch%2Fmojes" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ayourtch/mojes on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ayourtch/mojes [INFO] finished tweaking git repo https://github.com/ayourtch/mojes [INFO] tweaked toml for git repo https://github.com/ayourtch/mojes written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ayourtch/mojes 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5dfbaeef6149e2c606978cc6d7f274443c1faf7c4b10237b946b36bbbd1d1bde [INFO] running `Command { std: "docker" "start" "-a" "5dfbaeef6149e2c606978cc6d7f274443c1faf7c4b10237b946b36bbbd1d1bde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5dfbaeef6149e2c606978cc6d7f274443c1faf7c4b10237b946b36bbbd1d1bde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dfbaeef6149e2c606978cc6d7f274443c1faf7c4b10237b946b36bbbd1d1bde", kill_on_drop: false }` [INFO] [stdout] 5dfbaeef6149e2c606978cc6d7f274443c1faf7c4b10237b946b36bbbd1d1bde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbf9645d6719cd6e3b327223f784772730950d04bbb7d83beccec82367dfb570 [INFO] running `Command { std: "docker" "start" "-a" "bbf9645d6719cd6e3b327223f784772730950d04bbb7d83beccec82367dfb570", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling swc_visit v2.0.0 [INFO] [stderr] Compiling better_scoped_tls v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling unicode-id-start v1.3.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling ryu-js v1.0.2 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling swc_macros_common v1.0.0 [INFO] [stderr] Compiling boa_profiler v0.17.3 [INFO] [stderr] Compiling thin-vec v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling linkme-impl v0.3.33 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling regress v0.6.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling icu_provider_macros v1.2.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling ptr_meta_derive v0.3.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling ptr_meta v0.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling from_variant v2.0.0 [INFO] [stderr] Compiling ast_node v3.0.0 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling string_enum v1.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.9.7 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling swc_ecma_codegen_macros v2.0.0 [INFO] [stderr] Compiling boa_macros v0.17.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling zerovec v0.9.7 [INFO] [stderr] Compiling hstr v1.0.0 [INFO] [stderr] Compiling swc_allocator v4.0.0 [INFO] [stderr] Compiling swc_atoms v5.0.0 [INFO] [stderr] Compiling postcard v1.1.1 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling boa_gc v0.17.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling swc_common v11.0.0 [INFO] [stderr] Compiling tinystr v0.7.2 [INFO] [stderr] Compiling icu_collections v1.2.0 [INFO] [stderr] Compiling boa_interner v0.17.3 [INFO] [stderr] Compiling icu_locid v1.2.0 [INFO] [stderr] Compiling sourcemap v9.2.1 [INFO] [stderr] Compiling icu_provider v1.2.0 [INFO] [stderr] Compiling boa_ast v0.17.3 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling icu_properties v1.2.0 [INFO] [stderr] Compiling icu_provider_adapters v1.2.0 [INFO] [stderr] Compiling swc_ecma_ast v11.0.0 [INFO] [stderr] Compiling icu_normalizer v1.2.0 [INFO] [stderr] Compiling icu_provider_blob v1.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling boa_icu_provider v0.17.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling fast-float v0.2.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling linkme v0.3.33 [INFO] [stderr] Compiling boa_parser v0.17.3 [INFO] [stderr] Compiling num_enum v0.6.1 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling ryu-js v0.2.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling sptr v0.3.2 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling swc_ecma_lexer v14.0.2 [INFO] [stderr] Compiling swc_ecma_visit v11.0.0 [INFO] [stderr] Compiling swc_ecma_codegen v13.1.0 [INFO] [stderr] Compiling boa_engine v0.17.3 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling swc_ecma_parser v14.0.1 [INFO] [stderr] Compiling mojes-mojo v0.1.0 (/opt/rustwide/workdir/mojes-mojo) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> mojes-mojo/src/lib.rs:4291:13 [INFO] [stdout] | [INFO] [stdout] 4290 | panic!("Infinite or complex ranges not fully supported: {:?}", x); [INFO] [stdout] | ----------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 4291 | / Ok(js::Expr::Array(js::ArrayLit { [INFO] [stdout] 4292 | | span: DUMMY_SP, [INFO] [stdout] 4293 | | elems: vec![], [INFO] [stdout] 4294 | | })) [INFO] [stdout] | |_______________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | let mut final_exprs = exprs; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1004:13 [INFO] [stdout] | [INFO] [stdout] 1004 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> mojes-mojo/src/lib.rs:1004:13 [INFO] [stdout] | [INFO] [stdout] 926 | Stmt::Local(local) => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 931 | Stmt::Item(item) => match item { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 949 | Stmt::Expr(expr, semi) => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1000 | Stmt::Macro(mac_stmt) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1004 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_struct` [INFO] [stdout] --> mojes-mojo/src/lib.rs:936:35 [INFO] [stdout] | [INFO] [stdout] 936 | syn::Item::Struct(item_struct) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_struct` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_enum` [INFO] [stdout] --> mojes-mojo/src/lib.rs:942:33 [INFO] [stdout] | [INFO] [stdout] 942 | syn::Item::Enum(item_enum) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_action` [INFO] [stdout] --> mojes-mojo/src/lib.rs:1089:5 [INFO] [stdout] | [INFO] [stdout] 1089 | block_action: BlockAction, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> mojes-mojo/src/lib.rs:1090:5 [INFO] [stdout] | [INFO] [stdout] 1090 | expr: &Expr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> mojes-mojo/src/lib.rs:1091:5 [INFO] [stdout] | [INFO] [stdout] 1091 | state: &mut TranspilerState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1416:9 [INFO] [stdout] | [INFO] [stdout] 1358 | Expr::ForLoop(for_expr) => handle_for_expr(for_expr, state), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1416 | Expr::ForLoop(for_expr) => handle_for_expr(for_expr, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1419:9 [INFO] [stdout] | [INFO] [stdout] 1361 | Expr::Match(match_expr) => handle_match_expr(match_expr, state), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1419 | Expr::Match(match_expr) => handle_match_expr(match_expr, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1420:9 [INFO] [stdout] | [INFO] [stdout] 1365 | Expr::Closure(closure) => handle_closure_expr(closure, state), [INFO] [stdout] | ---------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1420 | Expr::Closure(closure) => handle_closure_expr(closure, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1421:9 [INFO] [stdout] | [INFO] [stdout] 1355 | Expr::Struct(struct_expr) => handle_struct_expr(struct_expr, state), [INFO] [stdout] | ------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1421 | Expr::Struct(struct_expr) => handle_struct_expr(struct_expr, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1424:9 [INFO] [stdout] | [INFO] [stdout] 1363 | Expr::Paren(paren) => handle_paren_expr(paren, state), [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1424 | Expr::Paren(paren) => handle_paren_expr(paren, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1466:9 [INFO] [stdout] | [INFO] [stdout] 1363 | Expr::Paren(paren) => handle_paren_expr(paren, state), [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1466 | Expr::Paren(paren) => handle_paren_expr(paren, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:2797:9 [INFO] [stdout] | [INFO] [stdout] 2797 | let mut state = TranspilerState::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:3195:21 [INFO] [stdout] | [INFO] [stdout] 3195 | let (condition, mut binding_stmts) = [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:3605:17 [INFO] [stdout] | [INFO] [stdout] 3605 | let mut stmts = vec![ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> mojes-mojo/src/lib.rs:4362:13 [INFO] [stdout] | [INFO] [stdout] 4362 | let mut state = TranspilerState::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:4362:9 [INFO] [stdout] | [INFO] [stdout] 4362 | let mut state = TranspilerState::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_be_statement` is never used [INFO] [stdout] --> mojes-mojo/src/lib.rs:487:4 [INFO] [stdout] | [INFO] [stdout] 487 | fn can_be_statement(expr: &Expr) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_match_condition` is never used [INFO] [stdout] --> mojes-mojo/src/lib.rs:3883:4 [INFO] [stdout] | [INFO] [stdout] 3883 | fn create_match_condition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> mojes-mojo/src/lib.rs:4291:13 [INFO] [stdout] | [INFO] [stdout] 4290 | panic!("Infinite or complex ranges not fully supported: {:?}", x); [INFO] [stdout] | ----------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 4291 | / Ok(js::Expr::Array(js::ArrayLit { [INFO] [stdout] 4292 | | span: DUMMY_SP, [INFO] [stdout] 4293 | | elems: vec![], [INFO] [stdout] 4294 | | })) [INFO] [stdout] | |_______________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | let mut final_exprs = exprs; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1004:13 [INFO] [stdout] | [INFO] [stdout] 1004 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> mojes-mojo/src/lib.rs:1004:13 [INFO] [stdout] | [INFO] [stdout] 926 | Stmt::Local(local) => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 931 | Stmt::Item(item) => match item { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 949 | Stmt::Expr(expr, semi) => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1000 | Stmt::Macro(mac_stmt) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1004 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_struct` [INFO] [stdout] --> mojes-mojo/src/lib.rs:936:35 [INFO] [stdout] | [INFO] [stdout] 936 | syn::Item::Struct(item_struct) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_struct` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_enum` [INFO] [stdout] --> mojes-mojo/src/lib.rs:942:33 [INFO] [stdout] | [INFO] [stdout] 942 | syn::Item::Enum(item_enum) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_action` [INFO] [stdout] --> mojes-mojo/src/lib.rs:1089:5 [INFO] [stdout] | [INFO] [stdout] 1089 | block_action: BlockAction, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> mojes-mojo/src/lib.rs:1090:5 [INFO] [stdout] | [INFO] [stdout] 1090 | expr: &Expr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> mojes-mojo/src/lib.rs:1091:5 [INFO] [stdout] | [INFO] [stdout] 1091 | state: &mut TranspilerState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1416:9 [INFO] [stdout] | [INFO] [stdout] 1358 | Expr::ForLoop(for_expr) => handle_for_expr(for_expr, state), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1416 | Expr::ForLoop(for_expr) => handle_for_expr(for_expr, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1419:9 [INFO] [stdout] | [INFO] [stdout] 1361 | Expr::Match(match_expr) => handle_match_expr(match_expr, state), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1419 | Expr::Match(match_expr) => handle_match_expr(match_expr, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1420:9 [INFO] [stdout] | [INFO] [stdout] 1365 | Expr::Closure(closure) => handle_closure_expr(closure, state), [INFO] [stdout] | ---------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1420 | Expr::Closure(closure) => handle_closure_expr(closure, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1421:9 [INFO] [stdout] | [INFO] [stdout] 1355 | Expr::Struct(struct_expr) => handle_struct_expr(struct_expr, state), [INFO] [stdout] | ------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1421 | Expr::Struct(struct_expr) => handle_struct_expr(struct_expr, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1424:9 [INFO] [stdout] | [INFO] [stdout] 1363 | Expr::Paren(paren) => handle_paren_expr(paren, state), [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1424 | Expr::Paren(paren) => handle_paren_expr(paren, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1466:9 [INFO] [stdout] | [INFO] [stdout] 1363 | Expr::Paren(paren) => handle_paren_expr(paren, state), [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1466 | Expr::Paren(paren) => handle_paren_expr(paren, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:2797:9 [INFO] [stdout] | [INFO] [stdout] 2797 | let mut state = TranspilerState::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:3195:21 [INFO] [stdout] | [INFO] [stdout] 3195 | let (condition, mut binding_stmts) = [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:3605:17 [INFO] [stdout] | [INFO] [stdout] 3605 | let mut stmts = vec![ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> mojes-mojo/src/lib.rs:4362:13 [INFO] [stdout] | [INFO] [stdout] 4362 | let mut state = TranspilerState::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:4362:9 [INFO] [stdout] | [INFO] [stdout] 4362 | let mut state = TranspilerState::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_be_statement` is never used [INFO] [stdout] --> mojes-mojo/src/lib.rs:487:4 [INFO] [stdout] | [INFO] [stdout] 487 | fn can_be_statement(expr: &Expr) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_match_condition` is never used [INFO] [stdout] --> mojes-mojo/src/lib.rs:3883:4 [INFO] [stdout] | [INFO] [stdout] 3883 | fn create_match_condition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mojes-derive v0.1.0 (/opt/rustwide/workdir/mojes-derive) [INFO] [stderr] Compiling mojes-dom-api v0.1.0 (/opt/rustwide/workdir/mojes-dom-api) [INFO] [stdout] warning: unexpected `cfg` condition name: `test_not_needed_now` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:1054:7 [INFO] [stdout] | [INFO] [stdout] 1054 | #[cfg(test_not_needed_now)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test_not_needed_now)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(test_not_needed_now)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `test_not_needed_now` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:1610:7 [INFO] [stdout] | [INFO] [stdout] 1610 | #[cfg(test_not_needed_now)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test_not_needed_now)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(test_not_needed_now)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn Number(s: &str) -> f64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:178:37 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn getElementsByName(&self, name: &str) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:365:33 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn setTimeout(&self, callback: F, delay: u32) -> u32 [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:373:34 [INFO] [stdout] | [INFO] [stdout] 373 | pub fn setInterval(&self, callback: F, delay: u32) -> u32 [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:398:44 [INFO] [stdout] | [INFO] [stdout] 398 | pub fn requestAnimationFrame(&self, callback: F) -> u32 [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `listener` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:1427:61 [INFO] [stdout] | [INFO] [stdout] 1427 | pub fn addEventListener(&mut self, event_type: &str, listener: F) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listener` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mojes v0.1.0 (/opt/rustwide/workdir/mojes) [INFO] [stderr] Compiling mojes-file v0.1.0 (/opt/rustwide/workdir/mojes-file) [INFO] [stdout] warning: unused imports: `Write` and `self` [INFO] [stdout] --> mojes-file/src/main.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> mojes-file/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 11s [INFO] running `Command { std: "docker" "inspect" "bbf9645d6719cd6e3b327223f784772730950d04bbb7d83beccec82367dfb570", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbf9645d6719cd6e3b327223f784772730950d04bbb7d83beccec82367dfb570", kill_on_drop: false }` [INFO] [stdout] bbf9645d6719cd6e3b327223f784772730950d04bbb7d83beccec82367dfb570 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54c23f073869f401e71f4848da6c63a536bcf8590aefde88e4fde6955cad0cd4 [INFO] running `Command { std: "docker" "start" "-a" "54c23f073869f401e71f4848da6c63a536bcf8590aefde88e4fde6955cad0cd4", kill_on_drop: false }` [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling num_enum v0.6.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling hstr v1.0.0 [INFO] [stderr] Compiling boa_interner v0.17.3 [INFO] [stderr] Compiling swc_atoms v5.0.0 [INFO] [stderr] Compiling boa_ast v0.17.3 [INFO] [stderr] Compiling swc_common v11.0.0 [INFO] [stderr] Compiling swc_ecma_ast v11.0.0 [INFO] [stderr] Compiling boa_parser v0.17.3 [INFO] [stderr] Compiling boa_engine v0.17.3 [INFO] [stderr] Compiling swc_ecma_lexer v14.0.2 [INFO] [stderr] Compiling swc_ecma_codegen v13.1.0 [INFO] [stderr] Compiling swc_ecma_visit v11.0.0 [INFO] [stderr] Compiling swc_ecma_parser v14.0.1 [INFO] [stderr] Compiling mojes-mojo v0.1.0 (/opt/rustwide/workdir/mojes-mojo) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> mojes-mojo/src/lib.rs:4291:13 [INFO] [stdout] | [INFO] [stdout] 4290 | panic!("Infinite or complex ranges not fully supported: {:?}", x); [INFO] [stdout] | ----------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 4291 | / Ok(js::Expr::Array(js::ArrayLit { [INFO] [stdout] 4292 | | span: DUMMY_SP, [INFO] [stdout] 4293 | | elems: vec![], [INFO] [stdout] 4294 | | })) [INFO] [stdout] | |_______________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> mojes-mojo/src/lib.rs:4291:13 [INFO] [stdout] | [INFO] [stdout] 4290 | panic!("Infinite or complex ranges not fully supported: {:?}", x); [INFO] [stdout] | ----------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 4291 | / Ok(js::Expr::Array(js::ArrayLit { [INFO] [stdout] 4292 | | span: DUMMY_SP, [INFO] [stdout] 4293 | | elems: vec![], [INFO] [stdout] 4294 | | })) [INFO] [stdout] | |_______________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | let mut final_exprs = exprs; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | let mut final_exprs = exprs; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1004:13 [INFO] [stdout] | [INFO] [stdout] 1004 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> mojes-mojo/src/lib.rs:1004:13 [INFO] [stdout] | [INFO] [stdout] 926 | Stmt::Local(local) => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 931 | Stmt::Item(item) => match item { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 949 | Stmt::Expr(expr, semi) => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1000 | Stmt::Macro(mac_stmt) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1004 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_struct` [INFO] [stdout] --> mojes-mojo/src/lib.rs:936:35 [INFO] [stdout] | [INFO] [stdout] 936 | syn::Item::Struct(item_struct) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_struct` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_enum` [INFO] [stdout] --> mojes-mojo/src/lib.rs:942:33 [INFO] [stdout] | [INFO] [stdout] 942 | syn::Item::Enum(item_enum) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_action` [INFO] [stdout] --> mojes-mojo/src/lib.rs:1089:5 [INFO] [stdout] | [INFO] [stdout] 1089 | block_action: BlockAction, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> mojes-mojo/src/lib.rs:1090:5 [INFO] [stdout] | [INFO] [stdout] 1090 | expr: &Expr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> mojes-mojo/src/lib.rs:1091:5 [INFO] [stdout] | [INFO] [stdout] 1091 | state: &mut TranspilerState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1416:9 [INFO] [stdout] | [INFO] [stdout] 1358 | Expr::ForLoop(for_expr) => handle_for_expr(for_expr, state), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1416 | Expr::ForLoop(for_expr) => handle_for_expr(for_expr, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1419:9 [INFO] [stdout] | [INFO] [stdout] 1361 | Expr::Match(match_expr) => handle_match_expr(match_expr, state), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1419 | Expr::Match(match_expr) => handle_match_expr(match_expr, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1420:9 [INFO] [stdout] | [INFO] [stdout] 1365 | Expr::Closure(closure) => handle_closure_expr(closure, state), [INFO] [stdout] | ---------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1420 | Expr::Closure(closure) => handle_closure_expr(closure, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1421:9 [INFO] [stdout] | [INFO] [stdout] 1355 | Expr::Struct(struct_expr) => handle_struct_expr(struct_expr, state), [INFO] [stdout] | ------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1421 | Expr::Struct(struct_expr) => handle_struct_expr(struct_expr, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1424:9 [INFO] [stdout] | [INFO] [stdout] 1363 | Expr::Paren(paren) => handle_paren_expr(paren, state), [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1424 | Expr::Paren(paren) => handle_paren_expr(paren, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1466:9 [INFO] [stdout] | [INFO] [stdout] 1363 | Expr::Paren(paren) => handle_paren_expr(paren, state), [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1466 | Expr::Paren(paren) => handle_paren_expr(paren, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1004:13 [INFO] [stdout] | [INFO] [stdout] 1004 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> mojes-mojo/src/lib.rs:1004:13 [INFO] [stdout] | [INFO] [stdout] 926 | Stmt::Local(local) => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 931 | Stmt::Item(item) => match item { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 949 | Stmt::Expr(expr, semi) => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1000 | Stmt::Macro(mac_stmt) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1004 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_struct` [INFO] [stdout] --> mojes-mojo/src/lib.rs:936:35 [INFO] [stdout] | [INFO] [stdout] 936 | syn::Item::Struct(item_struct) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_struct` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_enum` [INFO] [stdout] --> mojes-mojo/src/lib.rs:942:33 [INFO] [stdout] | [INFO] [stdout] 942 | syn::Item::Enum(item_enum) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_action` [INFO] [stdout] --> mojes-mojo/src/lib.rs:1089:5 [INFO] [stdout] | [INFO] [stdout] 1089 | block_action: BlockAction, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> mojes-mojo/src/lib.rs:1090:5 [INFO] [stdout] | [INFO] [stdout] 1090 | expr: &Expr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> mojes-mojo/src/lib.rs:1091:5 [INFO] [stdout] | [INFO] [stdout] 1091 | state: &mut TranspilerState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1416:9 [INFO] [stdout] | [INFO] [stdout] 1358 | Expr::ForLoop(for_expr) => handle_for_expr(for_expr, state), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1416 | Expr::ForLoop(for_expr) => handle_for_expr(for_expr, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1419:9 [INFO] [stdout] | [INFO] [stdout] 1361 | Expr::Match(match_expr) => handle_match_expr(match_expr, state), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1419 | Expr::Match(match_expr) => handle_match_expr(match_expr, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1420:9 [INFO] [stdout] | [INFO] [stdout] 1365 | Expr::Closure(closure) => handle_closure_expr(closure, state), [INFO] [stdout] | ---------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1420 | Expr::Closure(closure) => handle_closure_expr(closure, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1421:9 [INFO] [stdout] | [INFO] [stdout] 1355 | Expr::Struct(struct_expr) => handle_struct_expr(struct_expr, state), [INFO] [stdout] | ------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1421 | Expr::Struct(struct_expr) => handle_struct_expr(struct_expr, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1424:9 [INFO] [stdout] | [INFO] [stdout] 1363 | Expr::Paren(paren) => handle_paren_expr(paren, state), [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1424 | Expr::Paren(paren) => handle_paren_expr(paren, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1466:9 [INFO] [stdout] | [INFO] [stdout] 1363 | Expr::Paren(paren) => handle_paren_expr(paren, state), [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1466 | Expr::Paren(paren) => handle_paren_expr(paren, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:2797:9 [INFO] [stdout] | [INFO] [stdout] 2797 | let mut state = TranspilerState::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:3195:21 [INFO] [stdout] | [INFO] [stdout] 3195 | let (condition, mut binding_stmts) = [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:2797:9 [INFO] [stdout] | [INFO] [stdout] 2797 | let mut state = TranspilerState::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:3195:21 [INFO] [stdout] | [INFO] [stdout] 3195 | let (condition, mut binding_stmts) = [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:3605:17 [INFO] [stdout] | [INFO] [stdout] 3605 | let mut stmts = vec![ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:3605:17 [INFO] [stdout] | [INFO] [stdout] 3605 | let mut stmts = vec![ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> mojes-mojo/src/lib.rs:4362:13 [INFO] [stdout] | [INFO] [stdout] 4362 | let mut state = TranspilerState::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:4362:9 [INFO] [stdout] | [INFO] [stdout] 4362 | let mut state = TranspilerState::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_be_statement` is never used [INFO] [stdout] --> mojes-mojo/src/lib.rs:487:4 [INFO] [stdout] | [INFO] [stdout] 487 | fn can_be_statement(expr: &Expr) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_match_condition` is never used [INFO] [stdout] --> mojes-mojo/src/lib.rs:3883:4 [INFO] [stdout] | [INFO] [stdout] 3883 | fn create_match_condition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> mojes-mojo/src/lib.rs:4362:13 [INFO] [stdout] | [INFO] [stdout] 4362 | let mut state = TranspilerState::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:4362:9 [INFO] [stdout] | [INFO] [stdout] 4362 | let mut state = TranspilerState::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_be_statement` is never used [INFO] [stdout] --> mojes-mojo/src/lib.rs:487:4 [INFO] [stdout] | [INFO] [stdout] 487 | fn can_be_statement(expr: &Expr) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_match_condition` is never used [INFO] [stdout] --> mojes-mojo/src/lib.rs:3883:4 [INFO] [stdout] | [INFO] [stdout] 3883 | fn create_match_condition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mojes-derive v0.1.0 (/opt/rustwide/workdir/mojes-derive) [INFO] [stderr] Compiling mojes-dom-api v0.1.0 (/opt/rustwide/workdir/mojes-dom-api) [INFO] [stdout] warning: unexpected `cfg` condition name: `test_not_needed_now` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:1054:7 [INFO] [stdout] | [INFO] [stdout] 1054 | #[cfg(test_not_needed_now)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test_not_needed_now)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(test_not_needed_now)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `test_not_needed_now` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:1610:7 [INFO] [stdout] | [INFO] [stdout] 1610 | #[cfg(test_not_needed_now)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test_not_needed_now)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(test_not_needed_now)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn Number(s: &str) -> f64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:178:37 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn getElementsByName(&self, name: &str) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:365:33 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn setTimeout(&self, callback: F, delay: u32) -> u32 [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:373:34 [INFO] [stdout] | [INFO] [stdout] 373 | pub fn setInterval(&self, callback: F, delay: u32) -> u32 [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:398:44 [INFO] [stdout] | [INFO] [stdout] 398 | pub fn requestAnimationFrame(&self, callback: F) -> u32 [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `listener` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:1427:61 [INFO] [stdout] | [INFO] [stdout] 1427 | pub fn addEventListener(&mut self, event_type: &str, listener: F) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listener` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mojes v0.1.0 (/opt/rustwide/workdir/mojes) [INFO] [stderr] Compiling mojes-file v0.1.0 (/opt/rustwide/workdir/mojes-file) [INFO] [stdout] warning: unused imports: `Write` and `self` [INFO] [stdout] --> mojes-file/src/main.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> mojes-file/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval_expr_with_vars` is never used [INFO] [stdout] --> mojes-mojo/tests/expressions.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn eval_expr_with_vars(expr_js: &str, vars: &[(&str, &str)]) -> JsResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stmt` [INFO] [stdout] --> mojes-mojo/tests/statements.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use syn::{Block, Stmt, parse_quote}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block` and `Expr` [INFO] [stdout] --> mojes-mojo/tests/objects.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use syn::{Block, Expr, ItemImpl, ItemStruct, parse_quote}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> mojes-mojo/tests/additional_tests.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 375 | let result = eval_js(test_code).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> mojes-mojo/tests/objects.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | fn js_to_boolean(value: &JsValue, context: &mut Context) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> mojes-mojo/tests/objects.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | fn eval_js_with_context(code: &str) -> JsResult<(JsValue, Context)> { [INFO] [stdout] | ^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 17 | fn eval_js_with_context(code: &str) -> JsResult<(JsValue, Context<'_>)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> mojes-mojo/src/lib.rs:4291:13 [INFO] [stdout] | [INFO] [stdout] 4290 | panic!("Infinite or complex ranges not fully supported: {:?}", x); [INFO] [stdout] | ----------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 4291 | / Ok(js::Expr::Array(js::ArrayLit { [INFO] [stdout] 4292 | | span: DUMMY_SP, [INFO] [stdout] 4293 | | elems: vec![], [INFO] [stdout] 4294 | | })) [INFO] [stdout] | |_______________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | let mut final_exprs = exprs; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1004:13 [INFO] [stdout] | [INFO] [stdout] 1004 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> mojes-mojo/src/lib.rs:1004:13 [INFO] [stdout] | [INFO] [stdout] 926 | Stmt::Local(local) => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 931 | Stmt::Item(item) => match item { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 949 | Stmt::Expr(expr, semi) => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1000 | Stmt::Macro(mac_stmt) => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1004 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_struct` [INFO] [stdout] --> mojes-mojo/src/lib.rs:936:35 [INFO] [stdout] | [INFO] [stdout] 936 | syn::Item::Struct(item_struct) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_struct` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_enum` [INFO] [stdout] --> mojes-mojo/src/lib.rs:942:33 [INFO] [stdout] | [INFO] [stdout] 942 | syn::Item::Enum(item_enum) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_action` [INFO] [stdout] --> mojes-mojo/src/lib.rs:1089:5 [INFO] [stdout] | [INFO] [stdout] 1089 | block_action: BlockAction, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> mojes-mojo/src/lib.rs:1090:5 [INFO] [stdout] | [INFO] [stdout] 1090 | expr: &Expr, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> mojes-mojo/src/lib.rs:1091:5 [INFO] [stdout] | [INFO] [stdout] 1091 | state: &mut TranspilerState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1416:9 [INFO] [stdout] | [INFO] [stdout] 1358 | Expr::ForLoop(for_expr) => handle_for_expr(for_expr, state), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1416 | Expr::ForLoop(for_expr) => handle_for_expr(for_expr, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1419:9 [INFO] [stdout] | [INFO] [stdout] 1361 | Expr::Match(match_expr) => handle_match_expr(match_expr, state), [INFO] [stdout] | ----------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1419 | Expr::Match(match_expr) => handle_match_expr(match_expr, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1420:9 [INFO] [stdout] | [INFO] [stdout] 1365 | Expr::Closure(closure) => handle_closure_expr(closure, state), [INFO] [stdout] | ---------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1420 | Expr::Closure(closure) => handle_closure_expr(closure, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1421:9 [INFO] [stdout] | [INFO] [stdout] 1355 | Expr::Struct(struct_expr) => handle_struct_expr(struct_expr, state), [INFO] [stdout] | ------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1421 | Expr::Struct(struct_expr) => handle_struct_expr(struct_expr, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1424:9 [INFO] [stdout] | [INFO] [stdout] 1363 | Expr::Paren(paren) => handle_paren_expr(paren, state), [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1424 | Expr::Paren(paren) => handle_paren_expr(paren, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mojes-mojo/src/lib.rs:1466:9 [INFO] [stdout] | [INFO] [stdout] 1363 | Expr::Paren(paren) => handle_paren_expr(paren, state), [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 1466 | Expr::Paren(paren) => handle_paren_expr(paren, state), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:2797:9 [INFO] [stdout] | [INFO] [stdout] 2797 | let mut state = TranspilerState::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:3195:21 [INFO] [stdout] | [INFO] [stdout] 3195 | let (condition, mut binding_stmts) = [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:3605:17 [INFO] [stdout] | [INFO] [stdout] 3605 | let mut stmts = vec![ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> mojes-mojo/src/lib.rs:4362:13 [INFO] [stdout] | [INFO] [stdout] 4362 | let mut state = TranspilerState::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mojes-mojo/src/lib.rs:4362:9 [INFO] [stdout] | [INFO] [stdout] 4362 | let mut state = TranspilerState::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_be_statement` is never used [INFO] [stdout] --> mojes-mojo/src/lib.rs:487:4 [INFO] [stdout] | [INFO] [stdout] 487 | fn can_be_statement(expr: &Expr) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_match_condition` is never used [INFO] [stdout] --> mojes-mojo/src/lib.rs:3883:4 [INFO] [stdout] | [INFO] [stdout] 3883 | fn create_match_condition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval_expr_with_vars` is never used [INFO] [stdout] --> mojes-mojo/tests/expressions.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn eval_expr_with_vars(expr_js: &str, vars: &[(&str, &str)]) -> JsResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `test_not_needed_now` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:1054:7 [INFO] [stdout] | [INFO] [stdout] 1054 | #[cfg(test_not_needed_now)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test_not_needed_now)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(test_not_needed_now)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `test_not_needed_now` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:1610:7 [INFO] [stdout] | [INFO] [stdout] 1610 | #[cfg(test_not_needed_now)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(test_not_needed_now)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(test_not_needed_now)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wrapped` [INFO] [stdout] --> mojes-mojo/tests/more_tests.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | let wrapped = format!("(function() {{\n{}}})();", js_code); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wrapped` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn Number(s: &str) -> f64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:178:37 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn getElementsByName(&self, name: &str) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:365:33 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn setTimeout(&self, callback: F, delay: u32) -> u32 [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:373:34 [INFO] [stdout] | [INFO] [stdout] 373 | pub fn setInterval(&self, callback: F, delay: u32) -> u32 [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:398:44 [INFO] [stdout] | [INFO] [stdout] 398 | pub fn requestAnimationFrame(&self, callback: F) -> u32 [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `listener` [INFO] [stdout] --> mojes-dom-api/src/lib.rs:1427:61 [INFO] [stdout] | [INFO] [stdout] 1427 | pub fn addEventListener(&mut self, event_type: &str, listener: F) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listener` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_macro2::TokenStream` [INFO] [stdout] --> mojes-mojo/tests/remaining_functions.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use proc_macro2::TokenStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ItemEnum`, `ItemStruct`, and `Type` [INFO] [stdout] --> mojes-mojo/tests/remaining_functions.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use syn::{Block, Expr, ItemEnum, ItemStruct, Type, parse_quote}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr_str` [INFO] [stdout] --> mojes-mojo/tests/remaining_functions.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | let expr_str = format!("{}", long_name); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expr_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 46s [INFO] running `Command { std: "docker" "inspect" "54c23f073869f401e71f4848da6c63a536bcf8590aefde88e4fde6955cad0cd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54c23f073869f401e71f4848da6c63a536bcf8590aefde88e4fde6955cad0cd4", kill_on_drop: false }` [INFO] [stdout] 54c23f073869f401e71f4848da6c63a536bcf8590aefde88e4fde6955cad0cd4