[INFO] cloning repository https://github.com/jinlf/wukong [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jinlf/wukong" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjinlf%2Fwukong", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjinlf%2Fwukong'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d8573df2d59b01797ee03dde78bbaeb39b19068 [INFO] testing jinlf/wukong against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjinlf%2Fwukong" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jinlf/wukong on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jinlf/wukong [INFO] finished tweaking git repo https://github.com/jinlf/wukong [INFO] tweaked toml for git repo https://github.com/jinlf/wukong written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jinlf/wukong 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" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cranelift-codegen-shared v0.68.0 [INFO] [stderr] Downloaded wasmtime-environ v0.21.0 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.68.0 [INFO] [stderr] Downloaded wasmtime-debug v0.21.0 [INFO] [stderr] Downloaded wasmtime-obj v0.21.0 [INFO] [stderr] Downloaded wast v30.0.0 [INFO] [stderr] Downloaded wasmtime-jit v0.21.0 [INFO] [stderr] Downloaded cranelift-codegen v0.68.0 [INFO] [stderr] Downloaded wasmtime-cache v0.21.0 [INFO] [stderr] Downloaded wat v1.0.31 [INFO] [stderr] Downloaded wasmtime-profiling v0.21.0 [INFO] [stderr] Downloaded cranelift-native v0.68.0 [INFO] [stderr] Downloaded wasmtime-cranelift v0.21.0 [INFO] [stderr] Downloaded cranelift-wasm v0.68.0 [INFO] [stderr] Downloaded cranelift-frontend v0.68.0 [INFO] [stderr] Downloaded wasmtime-runtime v0.21.0 [INFO] [stderr] Downloaded cranelift-bforest v0.68.0 [INFO] [stderr] Downloaded wasmtime v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02712f43ed251d204ee43103184a0a6e444a8ff6fea187df90125741995a85b8 [INFO] running `Command { std: "docker" "start" "-a" "02712f43ed251d204ee43103184a0a6e444a8ff6fea187df90125741995a85b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02712f43ed251d204ee43103184a0a6e444a8ff6fea187df90125741995a85b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02712f43ed251d204ee43103184a0a6e444a8ff6fea187df90125741995a85b8", kill_on_drop: false }` [INFO] [stdout] 02712f43ed251d204ee43103184a0a6e444a8ff6fea187df90125741995a85b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52d1984c77f359520de4a08f1ecc6f3bb1094bc28c7ccdf83e93083322b91353 [INFO] running `Command { std: "docker" "start" "-a" "52d1984c77f359520de4a08f1ecc6f3bb1094bc28c7ccdf83e93083322b91353", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling cranelift-codegen-shared v0.68.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling target-lexicon v0.11.1 [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Compiling wasmparser v0.65.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling regalloc v0.0.31 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling more-asserts v0.2.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling wasmparser v0.57.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling region v2.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.1 [INFO] [stderr] Compiling leb128 v0.2.4 [INFO] [stderr] Compiling wasmtime-cache v0.21.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling wast v30.0.0 [INFO] [stderr] Compiling directories-next v1.0.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] error: could not compile `regalloc` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/bin/rustc --crate-name regalloc --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regalloc-0.0.31/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' -C metadata=3bc49ee3de704efc -C extra-filename=-3bc49ee3de704efc --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern log=/opt/rustwide/target/debug/deps/liblog-e9c46bed2ce39adb.rmeta --extern rustc_hash=/opt/rustwide/target/debug/deps/librustc_hash-ecab0b743b828b77.rmeta --extern smallvec=/opt/rustwide/target/debug/deps/libsmallvec-7a00ea4d526f9193.rmeta --cap-lints allow --cap-lints=forbid -Copt-level=3` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `regex-syntax` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/bin/rustc --crate-name regex_syntax /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-syntax-0.6.21/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=8557b7c2160b49b7 -C extra-filename=-8557b7c2160b49b7 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints allow --cap-lints=forbid -Copt-level=3` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "52d1984c77f359520de4a08f1ecc6f3bb1094bc28c7ccdf83e93083322b91353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52d1984c77f359520de4a08f1ecc6f3bb1094bc28c7ccdf83e93083322b91353", kill_on_drop: false }` [INFO] [stdout] 52d1984c77f359520de4a08f1ecc6f3bb1094bc28c7ccdf83e93083322b91353 [INFO] testing jinlf/wukong against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjinlf%2Fwukong" "/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/jinlf/wukong on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jinlf/wukong [INFO] finished tweaking git repo https://github.com/jinlf/wukong [INFO] tweaked toml for git repo https://github.com/jinlf/wukong written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jinlf/wukong 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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 742231c85d223b6f731346b1077151cb6fb42a061d21e51480c022570d9fdafa [INFO] running `Command { std: "docker" "start" "-a" "742231c85d223b6f731346b1077151cb6fb42a061d21e51480c022570d9fdafa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "742231c85d223b6f731346b1077151cb6fb42a061d21e51480c022570d9fdafa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "742231c85d223b6f731346b1077151cb6fb42a061d21e51480c022570d9fdafa", kill_on_drop: false }` [INFO] [stdout] 742231c85d223b6f731346b1077151cb6fb42a061d21e51480c022570d9fdafa [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=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95b077b769d985e08553ebec994b00950dac2295969b2481cc5b377aac2ef06b [INFO] running `Command { std: "docker" "start" "-a" "95b077b769d985e08553ebec994b00950dac2295969b2481cc5b377aac2ef06b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling cranelift-codegen-shared v0.68.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling target-lexicon v0.11.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling wasmparser v0.65.0 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling regalloc v0.0.31 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling more-asserts v0.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling wasmparser v0.57.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling region v2.2.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling wasmtime-cache v0.21.0 [INFO] [stderr] Compiling leb128 v0.2.4 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling wast v30.0.0 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling directories-next v1.0.3 [INFO] [stderr] Compiling errno v0.2.7 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling psm v0.1.12 [INFO] [stderr] Compiling zstd-sys v1.4.17+zstd.1.4.5 [INFO] [stderr] Compiling raw-cpuid v7.0.3 [INFO] [stderr] Compiling wasmtime-runtime v0.21.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling file-per-thread-logger v0.1.4 [INFO] [stderr] Compiling wat v1.0.31 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling scroll_derive v0.10.4 [INFO] [stderr] Compiling scroll v0.10.2 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling cranelift-entity v0.68.0 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.68.0 [INFO] [stderr] Compiling cranelift-bforest v0.68.0 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling object v0.21.1 [INFO] [stderr] Compiling zstd-safe v2.0.5+zstd.1.4.5 [INFO] [stderr] Compiling zstd v0.5.3+zstd.1.4.5 [INFO] [stderr] Compiling cranelift-codegen v0.68.0 [INFO] [stderr] Compiling cranelift-frontend v0.68.0 [INFO] [stderr] Compiling cranelift-native v0.68.0 [INFO] [stderr] Compiling cranelift-wasm v0.68.0 [INFO] [stderr] Compiling wasmtime-environ v0.21.0 [INFO] [stderr] Compiling wasmtime-debug v0.21.0 [INFO] [stderr] Compiling wasmtime-cranelift v0.21.0 [INFO] [stderr] Compiling wasmtime-profiling v0.21.0 [INFO] [stderr] Compiling wasmtime-obj v0.21.0 [INFO] [stderr] Compiling wasmtime-jit v0.21.0 [INFO] [stderr] Compiling wasmtime v0.21.0 [INFO] [stderr] Compiling wukong v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `merged_local` should have an upper camel case name [INFO] [stdout] --> src/wasm.rs:553:20 [INFO] [stdout] | [INFO] [stdout] 553 | struct merged_local { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MergedLocal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `locals` [INFO] [stdout] --> src/compiler.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | let (instrs, locals) = self.code_v_expr(&func, vec![])?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_locals` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frees` [INFO] [stdout] --> src/compiler.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let frees: Vec = vec![]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_locals1` [INFO] [stdout] --> src/compiler.rs:189:43 [INFO] [stdout] | [INFO] [stdout] 189 | let (instrs1, blocktype1, sub_locals1) = [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_locals1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocktype2` [INFO] [stdout] --> src/compiler.rs:191:31 [INFO] [stdout] | [INFO] [stdout] 191 | let (instrs2, blocktype2, sub_locals2) = if let Some(alt) = alternative { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocktype2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_locals2` [INFO] [stdout] --> src/compiler.rs:191:43 [INFO] [stdout] | [INFO] [stdout] 191 | let (instrs2, blocktype2, sub_locals2) = if let Some(alt) = alternative { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_locals2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vt` [INFO] [stdout] --> src/compiler.rs:204:34 [INFO] [stdout] | [INFO] [stdout] 204 | ... Some(vt) => ( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_locals1` [INFO] [stdout] --> src/compiler.rs:283:43 [INFO] [stdout] | [INFO] [stdout] 283 | let (instrs1, blocktype1, sub_locals1) = [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_locals1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocktype2` [INFO] [stdout] --> src/compiler.rs:285:31 [INFO] [stdout] | [INFO] [stdout] 285 | let (instrs2, blocktype2, sub_locals2) = if let Some(alt) = alternative { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocktype2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_locals2` [INFO] [stdout] --> src/compiler.rs:285:43 [INFO] [stdout] | [INFO] [stdout] 285 | let (instrs2, blocktype2, sub_locals2) = if let Some(alt) = alternative { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_locals2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vt` [INFO] [stdout] --> src/compiler.rs:298:34 [INFO] [stdout] | [INFO] [stdout] 298 | ... Some(vt) => ( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typeidx` [INFO] [stdout] --> src/compiler.rs:376:42 [INFO] [stdout] | [INFO] [stdout] 376 | let (mut sub_instrs, typeidx, sub_locals) = [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typeidx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_locals` [INFO] [stdout] --> src/compiler.rs:376:51 [INFO] [stdout] | [INFO] [stdout] 376 | let (mut sub_instrs, typeidx, sub_locals) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_locals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BlockStmt` is never constructed [INFO] [stdout] --> src/ast.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Stmt { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | BlockStmt(BlockStmt), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EntryPoint` is never constructed [INFO] [stdout] --> src/ast.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 43 | EntryPoint(BlockStmt), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ENTRY_POINT` is never used [INFO] [stdout] --> src/compiler.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub static ENTRY_POINT: &str = "main"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VarInfo` is never constructed [INFO] [stdout] --> src/compiler.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct VarInfo { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Compiler` is never constructed [INFO] [stdout] --> src/compiler.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Compiler { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/compiler.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Compiler { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 18 | pub fn compile_program(&mut self, program: ast::Program) -> Result<(), CompilerError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn code_stmt( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn code_c_expr( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | fn code_b_expr( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn code_v_expr( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | fn to_binary_op(&self, operator: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | fn to_unary_op(&self, operator: &String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 416 | fn code_block_stmt( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 447 | fn make_basic(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 467 | fn get_basic(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | fn make_closure(&mut self, elem_offset: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 512 | fn get_closure(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new` is never used [INFO] [stdout] --> src/compiler.rs:538:8 [INFO] [stdout] | [INFO] [stdout] 538 | pub fn new() -> Compiler { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CompilerError` is never used [INFO] [stdout] --> src/compiler.rs:547:10 [INFO] [stdout] | [INFO] [stdout] 547 | pub enum CompilerError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VM` is never constructed [INFO] [stdout] --> src/vm.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct VM { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/vm.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl VM { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] 9 | pub fn run>(&mut self, func_name: S) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new` is never used [INFO] [stdout] --> src/vm.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(module: wasm::Module) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FuncNotFound` is never constructed [INFO] [stdout] --> src/vm.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum VMError { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 36 | AnyhowError(anyhow::Error), [INFO] [stdout] 37 | FuncNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VMError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FuncRef` is never constructed [INFO] [stdout] --> src/wasm.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum ElemType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 25 | FuncRef, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElemType` 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: variants `Const` and `Var` are never constructed [INFO] [stdout] --> src/wasm.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Mut { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 34 | Const, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | Var, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mut` 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: enum `ExternType` is never used [INFO] [stdout] --> src/wasm.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum ExternType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/wasm.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum Instr { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 45 | I32Const(i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 46 | Drop, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | LocalGet(LocalIdx), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | LocalSet(LocalIdx), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | GlobalGet(GlobalIdx), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | GlobalSet(GlobalIdx), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 51 | I32Load(MemArg), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 52 | I32Store(MemArg), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | I32Eqz, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | I32Eq, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 55 | I32Ne, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 56 | I32LtU, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | I32GtU, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 58 | I32Add, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 59 | I32Sub, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | I32Mul, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | I32DivU, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | Nop, [INFO] [stdout] | ^^^ [INFO] [stdout] 63 | Unreachable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 64 | Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | Loop { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | If { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 77 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 78 | Call(FuncIdx), [INFO] [stdout] | ^^^^ [INFO] [stdout] 79 | CallIndirect(TypeIdx), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | MacroFuncIdx(FuncIdx), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instr` 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: variants `Typeidx` and `Valtype` are never constructed [INFO] [stdout] --> src/wasm.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub enum BlockType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 86 | Typeidx(TypeIdx), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 87 | Valtype(Option), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockType` 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: type alias `LabelIdx` is never used [INFO] [stdout] --> src/wasm.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub type LabelIdx = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Func`, `Table`, `Mem`, and `Global` are never constructed [INFO] [stdout] --> src/wasm.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 150 | pub enum ExportDesc { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 151 | Func(FuncIdx), [INFO] [stdout] | ^^^^ [INFO] [stdout] 152 | Table(TableIdx), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 153 | Mem(MemIdx), [INFO] [stdout] | ^^^ [INFO] [stdout] 154 | Global(GlobalIdx), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExportDesc` 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: variants `Func`, `Table`, `Mem`, and `Global` are never constructed [INFO] [stdout] --> src/wasm.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub enum ImportDesc { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 164 | Func(TypeIdx), [INFO] [stdout] | ^^^^ [INFO] [stdout] 165 | Table(TableType), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 166 | Mem(MemType), [INFO] [stdout] | ^^^ [INFO] [stdout] 167 | Global(GlobalType), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImportDesc` 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: associated items `new` and `push_type` are never used [INFO] [stdout] --> src/wasm.rs:597:12 [INFO] [stdout] | [INFO] [stdout] 596 | impl Module { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 597 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 612 | pub fn push_type(&mut self, functype: FuncType) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | p.next_token(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = p.next_token(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | p.next_token(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = p.next_token(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.68.0, wasmparser v0.57.0, wasmparser v0.65.0, wasmtime-cache v0.21.0, wasmtime-debug v0.21.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "95b077b769d985e08553ebec994b00950dac2295969b2481cc5b377aac2ef06b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95b077b769d985e08553ebec994b00950dac2295969b2481cc5b377aac2ef06b", kill_on_drop: false }` [INFO] [stdout] 95b077b769d985e08553ebec994b00950dac2295969b2481cc5b377aac2ef06b [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=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b752daed3f39ca1a2beff5bccea7aab6266030a35f7a0fc6e37a4a359d285740 [INFO] running `Command { std: "docker" "start" "-a" "b752daed3f39ca1a2beff5bccea7aab6266030a35f7a0fc6e37a4a359d285740", kill_on_drop: false }` [INFO] [stderr] Compiling wukong v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `merged_local` should have an upper camel case name [INFO] [stdout] --> src/wasm.rs:553:20 [INFO] [stdout] | [INFO] [stdout] 553 | struct merged_local { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MergedLocal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `locals` [INFO] [stdout] --> src/compiler.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | let (instrs, locals) = self.code_v_expr(&func, vec![])?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_locals` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frees` [INFO] [stdout] --> src/compiler.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let frees: Vec = vec![]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_locals1` [INFO] [stdout] --> src/compiler.rs:189:43 [INFO] [stdout] | [INFO] [stdout] 189 | let (instrs1, blocktype1, sub_locals1) = [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_locals1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocktype2` [INFO] [stdout] --> src/compiler.rs:191:31 [INFO] [stdout] | [INFO] [stdout] 191 | let (instrs2, blocktype2, sub_locals2) = if let Some(alt) = alternative { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocktype2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_locals2` [INFO] [stdout] --> src/compiler.rs:191:43 [INFO] [stdout] | [INFO] [stdout] 191 | let (instrs2, blocktype2, sub_locals2) = if let Some(alt) = alternative { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_locals2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vt` [INFO] [stdout] --> src/compiler.rs:204:34 [INFO] [stdout] | [INFO] [stdout] 204 | ... Some(vt) => ( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_locals1` [INFO] [stdout] --> src/compiler.rs:283:43 [INFO] [stdout] | [INFO] [stdout] 283 | let (instrs1, blocktype1, sub_locals1) = [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_locals1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocktype2` [INFO] [stdout] --> src/compiler.rs:285:31 [INFO] [stdout] | [INFO] [stdout] 285 | let (instrs2, blocktype2, sub_locals2) = if let Some(alt) = alternative { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocktype2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_locals2` [INFO] [stdout] --> src/compiler.rs:285:43 [INFO] [stdout] | [INFO] [stdout] 285 | let (instrs2, blocktype2, sub_locals2) = if let Some(alt) = alternative { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_locals2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vt` [INFO] [stdout] --> src/compiler.rs:298:34 [INFO] [stdout] | [INFO] [stdout] 298 | ... Some(vt) => ( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typeidx` [INFO] [stdout] --> src/compiler.rs:376:42 [INFO] [stdout] | [INFO] [stdout] 376 | let (mut sub_instrs, typeidx, sub_locals) = [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typeidx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_locals` [INFO] [stdout] --> src/compiler.rs:376:51 [INFO] [stdout] | [INFO] [stdout] 376 | let (mut sub_instrs, typeidx, sub_locals) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_locals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BlockStmt` is never constructed [INFO] [stdout] --> src/ast.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Stmt { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | BlockStmt(BlockStmt), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EntryPoint` is never constructed [INFO] [stdout] --> src/ast.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 43 | EntryPoint(BlockStmt), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Const` and `Var` are never constructed [INFO] [stdout] --> src/wasm.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum Mut { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 34 | Const, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | Var, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mut` 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: enum `ExternType` is never used [INFO] [stdout] --> src/wasm.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum ExternType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Drop`, `GlobalGet`, `GlobalSet`, `Nop`, `Block`, and `Loop` are never constructed [INFO] [stdout] --> src/wasm.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum Instr { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 45 | I32Const(i32), [INFO] [stdout] 46 | Drop, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | GlobalGet(GlobalIdx), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | GlobalSet(GlobalIdx), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | Nop, [INFO] [stdout] | ^^^ [INFO] [stdout] 63 | Unreachable, [INFO] [stdout] 64 | Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | Loop { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instr` 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: type alias `LabelIdx` is never used [INFO] [stdout] --> src/wasm.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | pub type LabelIdx = u32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Table`, `Mem`, and `Global` are never constructed [INFO] [stdout] --> src/wasm.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 150 | pub enum ExportDesc { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 151 | Func(FuncIdx), [INFO] [stdout] 152 | Table(TableIdx), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 153 | Mem(MemIdx), [INFO] [stdout] | ^^^ [INFO] [stdout] 154 | Global(GlobalIdx), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExportDesc` 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: variants `Func`, `Table`, `Mem`, and `Global` are never constructed [INFO] [stdout] --> src/wasm.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub enum ImportDesc { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 164 | Func(TypeIdx), [INFO] [stdout] | ^^^^ [INFO] [stdout] 165 | Table(TableType), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 166 | Mem(MemType), [INFO] [stdout] | ^^^ [INFO] [stdout] 167 | Global(GlobalType), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImportDesc` 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: function `test_func` is never used [INFO] [stdout] --> src/main.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | fn test_func() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | p.next_token(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = p.next_token(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | p.next_token(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = p.next_token(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.64s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.68.0, wasmparser v0.57.0, wasmparser v0.65.0, wasmtime-cache v0.21.0, wasmtime-debug v0.21.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b752daed3f39ca1a2beff5bccea7aab6266030a35f7a0fc6e37a4a359d285740", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b752daed3f39ca1a2beff5bccea7aab6266030a35f7a0fc6e37a4a359d285740", kill_on_drop: false }` [INFO] [stdout] b752daed3f39ca1a2beff5bccea7aab6266030a35f7a0fc6e37a4a359d285740 [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=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 357c372c373cf8b76a69735a17667513c5a00d23b280e412c0f279fc4a2e91d6 [INFO] running `Command { std: "docker" "start" "-a" "357c372c373cf8b76a69735a17667513c5a00d23b280e412c0f279fc4a2e91d6", kill_on_drop: false }` [INFO] [stderr] warning: type `merged_local` should have an upper camel case name [INFO] [stderr] --> src/wasm.rs:553:20 [INFO] [stderr] | [INFO] [stderr] 553 | struct merged_local { [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MergedLocal` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `locals` [INFO] [stderr] --> src/compiler.rs:26:22 [INFO] [stderr] | [INFO] [stderr] 26 | let (instrs, locals) = self.code_v_expr(&func, vec![])?; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_locals` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frees` [INFO] [stderr] --> src/compiler.rs:114:13 [INFO] [stderr] | [INFO] [stderr] 114 | let frees: Vec = vec![]; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frees` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sub_locals1` [INFO] [stderr] --> src/compiler.rs:189:43 [INFO] [stderr] | [INFO] [stderr] 189 | let (instrs1, blocktype1, sub_locals1) = [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_locals1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `blocktype2` [INFO] [stderr] --> src/compiler.rs:191:31 [INFO] [stderr] | [INFO] [stderr] 191 | let (instrs2, blocktype2, sub_locals2) = if let Some(alt) = alternative { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocktype2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sub_locals2` [INFO] [stderr] --> src/compiler.rs:191:43 [INFO] [stderr] | [INFO] [stderr] 191 | let (instrs2, blocktype2, sub_locals2) = if let Some(alt) = alternative { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_locals2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vt` [INFO] [stderr] --> src/compiler.rs:204:34 [INFO] [stderr] | [INFO] [stderr] 204 | ... Some(vt) => ( [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_vt` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sub_locals1` [INFO] [stderr] --> src/compiler.rs:283:43 [INFO] [stderr] | [INFO] [stderr] 283 | let (instrs1, blocktype1, sub_locals1) = [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_locals1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `blocktype2` [INFO] [stderr] --> src/compiler.rs:285:31 [INFO] [stderr] | [INFO] [stderr] 285 | let (instrs2, blocktype2, sub_locals2) = if let Some(alt) = alternative { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocktype2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sub_locals2` [INFO] [stderr] --> src/compiler.rs:285:43 [INFO] [stderr] | [INFO] [stderr] 285 | let (instrs2, blocktype2, sub_locals2) = if let Some(alt) = alternative { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_locals2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vt` [INFO] [stderr] --> src/compiler.rs:298:34 [INFO] [stderr] | [INFO] [stderr] 298 | ... Some(vt) => ( [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_vt` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `typeidx` [INFO] [stderr] --> src/compiler.rs:376:42 [INFO] [stderr] | [INFO] [stderr] 376 | let (mut sub_instrs, typeidx, sub_locals) = [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_typeidx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sub_locals` [INFO] [stderr] --> src/compiler.rs:376:51 [INFO] [stderr] | [INFO] [stderr] 376 | let (mut sub_instrs, typeidx, sub_locals) = [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_locals` [INFO] [stderr] [INFO] [stderr] warning: variant `BlockStmt` is never constructed [INFO] [stderr] --> src/ast.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 3 | pub enum Stmt { [INFO] [stderr] | ---- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 7 | BlockStmt(BlockStmt), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `EntryPoint` is never constructed [INFO] [stderr] --> src/ast.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub enum Expr { [INFO] [stderr] | ---- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 43 | EntryPoint(BlockStmt), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Const` and `Var` are never constructed [INFO] [stderr] --> src/wasm.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 33 | pub enum Mut { [INFO] [stderr] | --- variants in this enum [INFO] [stderr] 34 | Const, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 35 | Var, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Mut` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: enum `ExternType` is never used [INFO] [stderr] --> src/wasm.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | pub enum ExternType { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Drop`, `GlobalGet`, `GlobalSet`, `Nop`, `Block`, and `Loop` are never constructed [INFO] [stderr] --> src/wasm.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 44 | pub enum Instr { [INFO] [stderr] | ----- variants in this enum [INFO] [stderr] 45 | I32Const(i32), [INFO] [stderr] 46 | Drop, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | GlobalGet(GlobalIdx), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 50 | GlobalSet(GlobalIdx), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 62 | Nop, [INFO] [stderr] | ^^^ [INFO] [stderr] 63 | Unreachable, [INFO] [stderr] 64 | Block { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 68 | Loop { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Instr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: type alias `LabelIdx` is never used [INFO] [stderr] --> src/wasm.rs:117:10 [INFO] [stderr] | [INFO] [stderr] 117 | pub type LabelIdx = u32; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Table`, `Mem`, and `Global` are never constructed [INFO] [stderr] --> src/wasm.rs:152:5 [INFO] [stderr] | [INFO] [stderr] 150 | pub enum ExportDesc { [INFO] [stderr] | ---------- variants in this enum [INFO] [stderr] 151 | Func(FuncIdx), [INFO] [stderr] 152 | Table(TableIdx), [INFO] [stderr] | ^^^^^ [INFO] [stderr] 153 | Mem(MemIdx), [INFO] [stderr] | ^^^ [INFO] [stderr] 154 | Global(GlobalIdx), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ExportDesc` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `Func`, `Table`, `Mem`, and `Global` are never constructed [INFO] [stderr] --> src/wasm.rs:164:5 [INFO] [stderr] | [INFO] [stderr] 163 | pub enum ImportDesc { [INFO] [stderr] | ---------- variants in this enum [INFO] [stderr] 164 | Func(TypeIdx), [INFO] [stderr] | ^^^^ [INFO] [stderr] 165 | Table(TableType), [INFO] [stderr] | ^^^^^ [INFO] [stderr] 166 | Mem(MemType), [INFO] [stderr] | ^^^ [INFO] [stderr] 167 | Global(GlobalType), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ImportDesc` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `test_func` is never used [INFO] [stderr] --> src/main.rs:190:8 [INFO] [stderr] | [INFO] [stderr] 190 | fn test_func() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/parser.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | p.next_token(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 18 | let _ = p.next_token(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/parser.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | p.next_token(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 19 | let _ = p.next_token(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `wukong` (bin "wukong" test) generated 24 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.68.0, wasmparser v0.57.0, wasmparser v0.65.0, wasmtime-cache v0.21.0, wasmtime-debug v0.21.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wukong-9d68b1e0607cf4cc) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::test_let_stmts ... ok [INFO] [stdout] test tests::test_bang_operator ... ok [INFO] [stdout] test tests::test_return_stmts ... ok [INFO] [stdout] test tests::test_if_else_expr ... ok [INFO] [stdout] test tests::test_int_expr ... ok [INFO] [stdout] test tests::test_bool_expr ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "357c372c373cf8b76a69735a17667513c5a00d23b280e412c0f279fc4a2e91d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "357c372c373cf8b76a69735a17667513c5a00d23b280e412c0f279fc4a2e91d6", kill_on_drop: false }` [INFO] [stdout] 357c372c373cf8b76a69735a17667513c5a00d23b280e412c0f279fc4a2e91d6