[INFO] cloning repository https://github.com/kper/mill [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kper/mill" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkper%2Fmill", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkper%2Fmill'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] acc159b8b09e55ef36c21ddf24205e2b22a386ba [INFO] checking kper/mill against master#05eac57ef6668c9d181b65aceb96b1e7881f60be for pr-127656 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkper%2Fmill" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kper/mill on toolchain 05eac57ef6668c9d181b65aceb96b1e7881f60be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kper/mill [INFO] finished tweaking git repo https://github.com/kper/mill [INFO] tweaked toml for git repo https://github.com/kper/mill written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kper/mill 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" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded similar v2.3.0 [INFO] [stderr] Downloaded dot-generator v0.2.0 [INFO] [stderr] Downloaded into-attr v0.1.1 [INFO] [stderr] Downloaded into-attr-derive v0.2.1 [INFO] [stderr] Downloaded dot-structures v0.1.1 [INFO] [stderr] Downloaded llvm-sys v130.1.2 [INFO] [stderr] Downloaded graphviz-rust v0.6.6 [INFO] [stderr] Downloaded clap v4.4.7 [INFO] [stderr] Downloaded clap_builder v4.4.7 [INFO] [stderr] Downloaded insta v1.34.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8841a7ead94c704b8a2f5c881fd59d52cc24fc4d31561a549716a1e7e80b606 [INFO] running `Command { std: "docker" "start" "-a" "a8841a7ead94c704b8a2f5c881fd59d52cc24fc4d31561a549716a1e7e80b606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8841a7ead94c704b8a2f5c881fd59d52cc24fc4d31561a549716a1e7e80b606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8841a7ead94c704b8a2f5c881fd59d52cc24fc4d31561a549716a1e7e80b606", kill_on_drop: false }` [INFO] [stdout] a8841a7ead94c704b8a2f5c881fd59d52cc24fc4d31561a549716a1e7e80b606 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e67fcc9ee2e16c43671a596487a5de1cd1e18c2ef38380f8473b1ce3003a6d47 [INFO] running `Command { std: "docker" "start" "-a" "e67fcc9ee2e16c43671a596487a5de1cd1e18c2ef38380f8473b1ce3003a6d47", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling dot-structures v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Compiling into-attr v0.1.1 [INFO] [stderr] Compiling dot-generator v0.2.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling pest v2.7.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking console v0.15.7 [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/05eac57ef6668c9d181b65aceb96b1e7881f60be/bin/rustc --crate-name regex_syntax --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/regex-syntax-0.8.2/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 --cfg 'feature="default"' --cfg 'feature="std"' --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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("arbitrary", "default", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment"))' -C metadata=bfd7acc495db8564 -C extra-filename=-bfd7acc495db8564 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e67fcc9ee2e16c43671a596487a5de1cd1e18c2ef38380f8473b1ce3003a6d47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e67fcc9ee2e16c43671a596487a5de1cd1e18c2ef38380f8473b1ce3003a6d47", kill_on_drop: false }` [INFO] [stdout] e67fcc9ee2e16c43671a596487a5de1cd1e18c2ef38380f8473b1ce3003a6d47 [INFO] checking kper/mill against try#0c9c19b42881b7ee3d3f268d2369726c7f8dddfd for pr-127656 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkper%2Fmill" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kper/mill on toolchain 0c9c19b42881b7ee3d3f268d2369726c7f8dddfd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kper/mill [INFO] finished tweaking git repo https://github.com/kper/mill [INFO] tweaked toml for git repo https://github.com/kper/mill written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kper/mill 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" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 878c6a6b04e047d7385c703f2cdf0caa6a779175f08cf9ebc35cb70406c025bf [INFO] running `Command { std: "docker" "start" "-a" "878c6a6b04e047d7385c703f2cdf0caa6a779175f08cf9ebc35cb70406c025bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "878c6a6b04e047d7385c703f2cdf0caa6a779175f08cf9ebc35cb70406c025bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "878c6a6b04e047d7385c703f2cdf0caa6a779175f08cf9ebc35cb70406c025bf", kill_on_drop: false }` [INFO] [stdout] 878c6a6b04e047d7385c703f2cdf0caa6a779175f08cf9ebc35cb70406c025bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19cabb678a4454194025dd72ddf3b1c7f0f49076e2aef15204d7827124509d1d [INFO] running `Command { std: "docker" "start" "-a" "19cabb678a4454194025dd72ddf3b1c7f0f49076e2aef15204d7827124509d1d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling dot-structures v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Compiling into-attr v0.1.1 [INFO] [stderr] Compiling dot-generator v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling pest v2.7.5 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking tempfile v3.8.1 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking similar v2.3.0 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling pest_meta v2.7.5 [INFO] [stderr] Checking insta v1.34.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling into-attr-derive v0.2.1 [INFO] [stderr] Checking clap v4.4.7 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling pest_generator v2.7.5 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking lalrpop-util v0.20.0 [INFO] [stderr] Compiling pest_derive v2.7.5 [INFO] [stderr] Compiling llvm-sys v130.1.2 [INFO] [stderr] Compiling lalrpop v0.20.0 [INFO] [stderr] Checking graphviz-rust v0.6.6 [INFO] [stderr] Compiling mill v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/lir/lowering.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/lir/lowering.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `insta::assert_snapshot` [INFO] [stdout] --> src/tests/ir.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use insta::assert_snapshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::run_visitor` [INFO] [stdout] --> src/tests/prelude.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use crate::run_visitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struc` [INFO] [stdout] --> src/lir/lowering.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | fn map_struct(&mut self, struc: &Struct) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_struc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struc` [INFO] [stdout] --> src/lir/lowering.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | fn map_struct(&mut self, struc: &Struct) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_struc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codegen` [INFO] [stdout] --> src/tests/ir.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_codegen` [INFO] [stdout] ... [INFO] [stdout] 51 | compile!("fn main() { return 1; }"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/tests/ir.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] ... [INFO] [stdout] 51 | compile!("fn main() { return 1; }"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/ir.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] ... [INFO] [stdout] 51 | compile!("fn main() { return 1; }"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 51 | compile!("fn main() { return 1; }"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 51 | compile!("fn main() { return 1; }"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 51 | compile!("fn main() { return 1; }"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codegen` [INFO] [stdout] --> src/tests/ir.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_codegen` [INFO] [stdout] ... [INFO] [stdout] 56 | compile!("fn main() { let a : int = 1; let b : int = 2; }"); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/tests/ir.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] ... [INFO] [stdout] 56 | compile!("fn main() { let a : int = 1; let b : int = 2; }"); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/ir.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] ... [INFO] [stdout] 56 | compile!("fn main() { let a : int = 1; let b : int = 2; }"); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 56 | compile!("fn main() { let a : int = 1; let b : int = 2; }"); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 56 | compile!("fn main() { let a : int = 1; let b : int = 2; }"); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 56 | compile!("fn main() { let a : int = 1; let b : int = 2; }"); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codegen` [INFO] [stdout] --> src/tests/ir.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_codegen` [INFO] [stdout] ... [INFO] [stdout] 61 | compile!("fn main() { let a : int = 1; a = 2; }"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/tests/ir.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] ... [INFO] [stdout] 61 | compile!("fn main() { let a : int = 1; a = 2; }"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/ir.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] ... [INFO] [stdout] 61 | compile!("fn main() { let a : int = 1; a = 2; }"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 61 | compile!("fn main() { let a : int = 1; a = 2; }"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 61 | compile!("fn main() { let a : int = 1; a = 2; }"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 61 | compile!("fn main() { let a : int = 1; a = 2; }"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codegen` [INFO] [stdout] --> src/tests/ir.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_codegen` [INFO] [stdout] ... [INFO] [stdout] 66 | compile!("fn main() { return 1 + 2; }"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/tests/ir.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] ... [INFO] [stdout] 66 | compile!("fn main() { return 1 + 2; }"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/ir.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] ... [INFO] [stdout] 66 | compile!("fn main() { return 1 + 2; }"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 66 | compile!("fn main() { return 1 + 2; }"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 66 | compile!("fn main() { return 1 + 2; }"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 66 | compile!("fn main() { return 1 + 2; }"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codegen` [INFO] [stdout] --> src/tests/ir.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_codegen` [INFO] [stdout] ... [INFO] [stdout] 71 | compile!("fn main() -> int { if 2 == 2 { return 1; } return 0; }"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/tests/ir.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] ... [INFO] [stdout] 71 | compile!("fn main() -> int { if 2 == 2 { return 1; } return 0; }"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/ir.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] ... [INFO] [stdout] 71 | compile!("fn main() -> int { if 2 == 2 { return 1; } return 0; }"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 71 | compile!("fn main() -> int { if 2 == 2 { return 1; } return 0; }"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 71 | compile!("fn main() -> int { if 2 == 2 { return 1; } return 0; }"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 71 | compile!("fn main() -> int { if 2 == 2 { return 1; } return 0; }"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codegen` [INFO] [stdout] --> src/tests/ir.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_codegen` [INFO] [stdout] ... [INFO] [stdout] 76 | / compile!( [INFO] [stdout] 77 | | "fn f(b: int) -> int { return b; } fn main() -> int { let a : int = 1; return f(a); }" [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/tests/ir.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] ... [INFO] [stdout] 76 | / compile!( [INFO] [stdout] 77 | | "fn f(b: int) -> int { return b; } fn main() -> int { let a : int = 1; return f(a); }" [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/ir.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] ... [INFO] [stdout] 76 | / compile!( [INFO] [stdout] 77 | | "fn f(b: int) -> int { return b; } fn main() -> int { let a : int = 1; return f(a); }" [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 76 | / compile!( [INFO] [stdout] 77 | | "fn f(b: int) -> int { return b; } fn main() -> int { let a : int = 1; return f(a); }" [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 76 | / compile!( [INFO] [stdout] 77 | | "fn f(b: int) -> int { return b; } fn main() -> int { let a : int = 1; return f(a); }" [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 76 | / compile!( [INFO] [stdout] 77 | | "fn f(b: int) -> int { return b; } fn main() -> int { let a : int = 1; return f(a); }" [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codegen` [INFO] [stdout] --> src/tests/ir.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_codegen` [INFO] [stdout] ... [INFO] [stdout] 83 | compile!("fn main() -> int { let a : int = 1; return f(a); } fn f(a:int) -> int { return a; }"); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/tests/ir.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] ... [INFO] [stdout] 83 | compile!("fn main() -> int { let a : int = 1; return f(a); } fn f(a:int) -> int { return a; }"); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/tests/ir.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] ... [INFO] [stdout] 83 | compile!("fn main() -> int { let a : int = 1; return f(a); } fn f(a:int) -> int { return a; }"); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let mut codegen = Codegen::new(context, module, builder); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 83 | compile!("fn main() -> int { let a : int = 1; return f(a); } fn f(a:int) -> int { return a; }"); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 83 | compile!("fn main() -> int { let a : int = 1; return f(a); } fn f(a:int) -> int { return a; }"); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests/ir.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let mut program = grammar::ProgramParser::new().parse(&input).unwrap(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 83 | compile!("fn main() -> int { let a : int = 1; return f(a); } fn f(a:int) -> int { return a; }"); [INFO] [stdout] | ----------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `compile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/main.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> src/main.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | fn run(mut ast: ast::Program) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn run(mut ast: ast::Program) -> Result<()> { [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] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/codegen/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Codegen { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 12 | pub context: LLVMContextRef, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub module: LLVMModuleRef, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | pub builder: LLVMBuilderRef, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | pub symbol_tables: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub function_table: LLVMFunctionTable, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub block_table: LLVMBlockTable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | pub struct_table: LLVMStructTable, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Phi` and `UnconditionalJump` are never constructed [INFO] [stdout] --> src/lir/tree.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 131 | pub enum LoweredStatement { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 134 | Phi(Variable, Vec), [INFO] [stdout] | ^^^ [INFO] [stdout] 135 | UnconditionalJump(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoweredStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map_struct` is never used [INFO] [stdout] --> src/lir/lowering.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl LoweringPass { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | fn map_struct(&mut self, struc: &Struct) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runner` [INFO] [stdout] --> src/main.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut runner = Runner; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_runner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> src/main.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | fn run(mut ast: ast::Program) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn run(mut ast: ast::Program) -> Result<()> { [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] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut runner = Runner; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/codegen/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Codegen { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 12 | pub context: LLVMContextRef, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub module: LLVMModuleRef, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | pub builder: LLVMBuilderRef, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | pub symbol_tables: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub function_table: LLVMFunctionTable, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub block_table: LLVMBlockTable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | pub struct_table: LLVMStructTable, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pars` and `entry` are never read [INFO] [stdout] --> src/lir/tree.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct LoweredFunction { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 32 | pub id: Identifier, [INFO] [stdout] 33 | pub pars: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | pub entry: BasicBlockId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoweredFunction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Phi` and `UnconditionalJump` are never constructed [INFO] [stdout] --> src/lir/tree.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 131 | pub enum LoweredStatement { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 134 | Phi(Variable, Vec), [INFO] [stdout] | ^^^ [INFO] [stdout] 135 | UnconditionalJump(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoweredStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map_struct` is never used [INFO] [stdout] --> src/lir/lowering.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl LoweringPass { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | fn map_struct(&mut self, struc: &Struct) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.31s [INFO] running `Command { std: "docker" "inspect" "19cabb678a4454194025dd72ddf3b1c7f0f49076e2aef15204d7827124509d1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19cabb678a4454194025dd72ddf3b1c7f0f49076e2aef15204d7827124509d1d", kill_on_drop: false }` [INFO] [stdout] 19cabb678a4454194025dd72ddf3b1c7f0f49076e2aef15204d7827124509d1d