[INFO] cloning repository https://github.com/claudebarde/compactscript [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/claudebarde/compactscript" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaudebarde%2Fcompactscript", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaudebarde%2Fcompactscript'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 940abc886f8c9a0dd53171bc675ad448b35cf75f [INFO] testing claudebarde/compactscript against try#7af779037716ae4125ceabb429791b4cf5dd0a43 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaudebarde%2Fcompactscript" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/claudebarde/compactscript on toolchain 7af779037716ae4125ceabb429791b4cf5dd0a43 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/claudebarde/compactscript [INFO] finished tweaking git repo https://github.com/claudebarde/compactscript [INFO] tweaked toml for git repo https://github.com/claudebarde/compactscript written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/claudebarde/compactscript 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" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10ef6d8f53f07cb3c30f2a16e292dd983ec59777e174398358c51e1134cf9923 [INFO] running `Command { std: "docker" "start" "-a" "10ef6d8f53f07cb3c30f2a16e292dd983ec59777e174398358c51e1134cf9923", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10ef6d8f53f07cb3c30f2a16e292dd983ec59777e174398358c51e1134cf9923", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10ef6d8f53f07cb3c30f2a16e292dd983ec59777e174398358c51e1134cf9923", kill_on_drop: false }` [INFO] [stdout] 10ef6d8f53f07cb3c30f2a16e292dd983ec59777e174398358c51e1134cf9923 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58c5b8bf23658f256634d52281da0a75ce30c0ffd0da4997ab5cc37d11493638 [INFO] running `Command { std: "docker" "start" "-a" "58c5b8bf23658f256634d52281da0a75ce30c0ffd0da4997ab5cc37d11493638", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling outref v0.1.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling simd-abstraction v0.7.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling base64-simd v0.7.0 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling unicode-id-start v1.3.1 [INFO] [stderr] Compiling better_scoped_tls v1.0.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling swc_visit v2.0.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling unicode-id v0.3.5 [INFO] [stderr] Compiling syn v2.0.93 [INFO] [stderr] Compiling cc v1.2.6 [INFO] [stderr] Compiling ryu-js v1.0.1 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling path-clean v0.1.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling owo-colors v4.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling path-clean v1.0.1 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling radix_fmt v1.0.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling psm v0.1.24 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling swc_macros_common v1.0.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling ptr_meta_derive v0.3.0 [INFO] [stderr] Compiling from_variant v2.0.0 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.0 [INFO] [stderr] Compiling ast_node v3.0.0 [INFO] [stderr] Compiling string_enum v1.0.0 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling swc_ecma_transforms_macros v1.0.0 [INFO] [stderr] Compiling ptr_meta v0.3.0 [INFO] [stderr] Compiling swc_trace_macro v2.0.0 [INFO] [stderr] Compiling swc_config_macro v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling static-map-macro v0.3.4 [INFO] [stderr] Compiling swc_ecma_codegen_macros v1.0.0 [INFO] [stderr] Compiling miette-derive v7.4.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling auto_impl v1.2.0 [INFO] [stderr] Compiling st-map v0.2.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling swc_timer v1.0.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling miette v7.4.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling hstr v0.2.14 [INFO] [stderr] Compiling swc_allocator v2.0.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling swc_atoms v3.0.0 [INFO] [stderr] Compiling lru v0.10.1 [INFO] [stderr] Compiling swc_transform_common v1.0.0 [INFO] [stderr] Compiling jsonc-parser v0.21.1 [INFO] [stderr] Compiling swc_cached v1.0.0 [INFO] [stderr] Compiling sourcemap v9.1.2 [INFO] [stderr] Compiling browserslist-rs v0.16.0 [INFO] [stderr] Compiling swc_common v5.0.0 [INFO] [stderr] Compiling swc_config v1.0.0 [INFO] [stderr] Compiling swc_ecma_ast v5.0.0 [INFO] [stderr] Compiling swc_fast_graph v6.0.0 [INFO] [stderr] Compiling swc_ecma_loader v5.0.0 [INFO] [stderr] Compiling swc_node_comments v5.0.0 [INFO] [stderr] Compiling swc_error_reporters v6.0.0 [INFO] [stderr] Compiling swc_ecma_visit v5.0.0 [INFO] [stderr] Compiling swc_ecma_parser v6.0.1 [INFO] [stderr] Compiling swc_ecma_codegen v5.0.1 [INFO] [stderr] Compiling preset_env_base v1.0.0 [INFO] [stderr] Compiling swc_ecma_utils v6.0.0 [INFO] [stderr] Compiling swc_ecma_compat_common v6.0.0 [INFO] [stderr] Compiling swc_ecma_usage_analyzer v6.0.0 [INFO] [stderr] Compiling swc_ecma_lints v6.0.0 [INFO] [stderr] Compiling swc_ecma_ext_transforms v6.0.0 [INFO] [stderr] Compiling swc_typescript v5.0.1 [INFO] [stderr] Compiling swc_ecma_transforms_base v6.0.2 [INFO] [stderr] Compiling swc_ecma_transforms_classes v6.0.0 [INFO] [stderr] Compiling swc_ecma_transforms_optimization v6.0.0 [INFO] [stderr] Compiling swc_ecma_compat_es2019 v6.0.0 [INFO] [stderr] Compiling swc_ecma_transforms_react v6.0.0 [INFO] [stderr] Compiling swc_ecma_compat_es2021 v6.0.0 [INFO] [stderr] Compiling swc_ecma_compat_es2018 v6.0.0 [INFO] [stderr] Compiling swc_ecma_compat_es2017 v6.0.0 [INFO] [stderr] Compiling swc_ecma_compat_es2016 v6.0.0 [INFO] [stderr] Compiling swc_ecma_compat_es3 v6.0.0 [INFO] [stderr] Compiling swc_ecma_transforms_module v7.0.0 [INFO] [stderr] Compiling swc_ecma_compat_es2022 v7.0.0 [INFO] [stderr] Compiling swc_ecma_compat_es2015 v6.0.0 [INFO] [stderr] Compiling swc_ecma_transforms_proposal v6.0.0 [INFO] [stderr] Compiling swc_ecma_transforms_typescript v6.0.0 [INFO] [stderr] Compiling swc_ecma_compat_es2020 v7.0.0 [INFO] [stderr] Compiling swc_ecma_minifier v6.0.2 [INFO] [stderr] Compiling swc_ecma_compat_bugfixes v6.0.0 [INFO] [stderr] Compiling swc_ecma_transforms_compat v7.0.0 [INFO] [stderr] Compiling swc_ecma_transforms v8.0.0 [INFO] [stderr] Compiling swc_ecma_preset_env v8.0.0 [INFO] [stderr] Compiling swc_compiler_base v7.0.0 [INFO] [stderr] Compiling swc v9.0.1 [INFO] [stderr] Compiling compactscript v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `f64::consts::E` [INFO] [stdout] --> src/parser.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{f64::consts::E, fs::File}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> src/parser.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{mem, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemberExpr` [INFO] [stdout] --> src/parser.rs:11:80 [INFO] [stdout] | [INFO] [stdout] 11 | Accessibility, Callee, ClassDecl, ClassMethod, ClassProp, Decl, Expr, Lit, MemberExpr, ModuleDecl, ModuleItem, PropName, Stmt, TsKeyw... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `f32::consts::E` and `fmt::Error` [INFO] [stdout] --> src/types.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, f32::consts::E, fmt::Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop_name` [INFO] [stdout] --> src/parser.rs:458:46 [INFO] [stdout] | [INFO] [stdout] 458 | ContractItemKind::LedgerProp(prop_name) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prop_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ContractInit` is never constructed [INFO] [stdout] --> src/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ExecContext { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 4 | ContractInit, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Boolean` is never constructed [INFO] [stdout] --> src/types.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum CompactType { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Boolean, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompactType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_method_valid` is never used [INFO] [stdout] --> src/types.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl CompactType { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn is_method_valid(&self, method_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Counter` and `Cell` are never constructed [INFO] [stdout] --> src/types.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum CompactValue { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 105 | Counter(usize), // value [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 106 | Cell(Box), // value type, value [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompactValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_ledger_value` is never read [INFO] [stdout] --> src/types.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct CompactVar { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 116 | pub is_ledger_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompactVar` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 15s [INFO] running `Command { std: "docker" "inspect" "58c5b8bf23658f256634d52281da0a75ce30c0ffd0da4997ab5cc37d11493638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58c5b8bf23658f256634d52281da0a75ce30c0ffd0da4997ab5cc37d11493638", kill_on_drop: false }` [INFO] [stdout] 58c5b8bf23658f256634d52281da0a75ce30c0ffd0da4997ab5cc37d11493638 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 836f70ef279cd0c21099856c5bbf114ea487345597bfa276d16d07c97bb1a57d [INFO] running `Command { std: "docker" "start" "-a" "836f70ef279cd0c21099856c5bbf114ea487345597bfa276d16d07c97bb1a57d", kill_on_drop: false }` [INFO] [stderr] Compiling compactscript v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `f64::consts::E` [INFO] [stdout] --> src/parser.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{f64::consts::E, fs::File}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> src/parser.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{mem, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemberExpr` [INFO] [stdout] --> src/parser.rs:11:80 [INFO] [stdout] | [INFO] [stdout] 11 | Accessibility, Callee, ClassDecl, ClassMethod, ClassProp, Decl, Expr, Lit, MemberExpr, ModuleDecl, ModuleItem, PropName, Stmt, TsKeyw... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `f32::consts::E` and `fmt::Error` [INFO] [stdout] --> src/types.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, f32::consts::E, fmt::Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prop_name` [INFO] [stdout] --> src/parser.rs:458:46 [INFO] [stdout] | [INFO] [stdout] 458 | ContractItemKind::LedgerProp(prop_name) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prop_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ContractInit` is never constructed [INFO] [stdout] --> src/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ExecContext { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 4 | ContractInit, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Boolean` is never constructed [INFO] [stdout] --> src/types.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum CompactType { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Boolean, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompactType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_method_valid` is never used [INFO] [stdout] --> src/types.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl CompactType { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn is_method_valid(&self, method_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Counter` and `Cell` are never constructed [INFO] [stdout] --> src/types.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub enum CompactValue { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 105 | Counter(usize), // value [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 106 | Cell(Box), // value type, value [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompactValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_ledger_value` is never read [INFO] [stdout] --> src/types.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct CompactVar { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 116 | pub is_ledger_value: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompactVar` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.67s [INFO] running `Command { std: "docker" "inspect" "836f70ef279cd0c21099856c5bbf114ea487345597bfa276d16d07c97bb1a57d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "836f70ef279cd0c21099856c5bbf114ea487345597bfa276d16d07c97bb1a57d", kill_on_drop: false }` [INFO] [stdout] 836f70ef279cd0c21099856c5bbf114ea487345597bfa276d16d07c97bb1a57d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7bf0e539d8ce5c4f8a66d2d04cb656632fd5b90bf21521cca25939f9ae760a13 [INFO] running `Command { std: "docker" "start" "-a" "7bf0e539d8ce5c4f8a66d2d04cb656632fd5b90bf21521cca25939f9ae760a13", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `f64::consts::E` [INFO] [stderr] --> src/parser.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | use std::{f64::consts::E, fs::File}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `mem` [INFO] [stderr] --> src/parser.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | use std::{mem, vec}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `MemberExpr` [INFO] [stderr] --> src/parser.rs:11:80 [INFO] [stderr] | [INFO] [stderr] 11 | Accessibility, Callee, ClassDecl, ClassMethod, ClassProp, Decl, Expr, Lit, MemberExpr, ModuleDecl, ModuleItem, PropName, Stmt, TsKeyw... [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `f32::consts::E` and `fmt::Error` [INFO] [stderr] --> src/types.rs:1:33 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{collections::HashMap, f32::consts::E, fmt::Error}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prop_name` [INFO] [stderr] --> src/parser.rs:458:46 [INFO] [stderr] | [INFO] [stderr] 458 | ContractItemKind::LedgerProp(prop_name) => { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prop_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `ContractInit` is never constructed [INFO] [stderr] --> src/types.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 3 | pub enum ExecContext { [INFO] [stderr] | ----------- variant in this enum [INFO] [stderr] 4 | ContractInit, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Boolean` is never constructed [INFO] [stderr] --> src/types.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub enum CompactType { [INFO] [stderr] | ----------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 15 | Boolean, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CompactType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `is_method_valid` is never used [INFO] [stderr] --> src/types.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl CompactType { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 63 | pub fn is_method_valid(&self, method_name: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Counter` and `Cell` are never constructed [INFO] [stderr] --> src/types.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 104 | pub enum CompactValue { [INFO] [stderr] | ------------ variants in this enum [INFO] [stderr] 105 | Counter(usize), // value [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 106 | Cell(Box), // value type, value [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CompactValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `is_ledger_value` is never read [INFO] [stderr] --> src/types.rs:116:9 [INFO] [stderr] | [INFO] [stderr] 112 | pub struct CompactVar { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 116 | pub is_ledger_value: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CompactVar` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `compactscript` (bin "compactscript" test) generated 10 warnings (run `cargo fix --bin "compactscript" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/compactscript-cc4c983d59eef083) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7bf0e539d8ce5c4f8a66d2d04cb656632fd5b90bf21521cca25939f9ae760a13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bf0e539d8ce5c4f8a66d2d04cb656632fd5b90bf21521cca25939f9ae760a13", kill_on_drop: false }` [INFO] [stdout] 7bf0e539d8ce5c4f8a66d2d04cb656632fd5b90bf21521cca25939f9ae760a13