[INFO] cloning repository https://github.com/xyjixyjixyji/c0c [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xyjixyjixyji/c0c" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxyjixyjixyji%2Fc0c", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxyjixyjixyji%2Fc0c'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09b59f68f88704a7a877b1ae5a36dd3844863b13 [INFO] checking xyjixyjixyji/c0c against master#ca77504943887037504c7fc0b9bf06dab3910373 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxyjixyjixyji%2Fc0c" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xyjixyjixyji/c0c [INFO] finished tweaking git repo https://github.com/xyjixyjixyji/c0c [INFO] tweaked toml for git repo https://github.com/xyjixyjixyji/c0c written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xyjixyjixyji/c0c on toolchain ca77504943887037504c7fc0b9bf06dab3910373 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xyjixyjixyji/c0c 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" "+ca77504943887037504c7fc0b9bf06dab3910373" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-3-tc1/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `compile_wasm` [INFO] [stderr] * `bin` target `c0c` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3dfe59a03317ccb8ec0e9e8634e14c9ddd151e64250c2ab43d934c6415128a54 [INFO] running `Command { std: "docker" "start" "-a" "3dfe59a03317ccb8ec0e9e8634e14c9ddd151e64250c2ab43d934c6415128a54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3dfe59a03317ccb8ec0e9e8634e14c9ddd151e64250c2ab43d934c6415128a54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dfe59a03317ccb8ec0e9e8634e14c9ddd151e64250c2ab43d934c6415128a54", kill_on_drop: false }` [INFO] [stdout] 3dfe59a03317ccb8ec0e9e8634e14c9ddd151e64250c2ab43d934c6415128a54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff312d85c17b5f92ed519e0c7355f9386fe0346ad82c56255698a4aab6a28f12 [INFO] running `Command { std: "docker" "start" "-a" "ff312d85c17b5f92ed519e0c7355f9386fe0346ad82c56255698a4aab6a28f12", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `compile_wasm` [INFO] [stderr] * `bin` target `c0c` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling syn v2.0.59 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Checking winnow v0.6.6 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking toml_edit v0.22.9 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Compiling c0c v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/main.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EmitTarget` is never used [INFO] [stdout] --> src/args.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum EmitTarget { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/args.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/args.rs:100:6 [INFO] [stdout] | [INFO] [stdout] 98 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 99 | /// Set your defaults here! [INFO] [stdout] 100 | fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_args` is never used [INFO] [stdout] --> src/args.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn parse_args() -> Config { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_instrs` is never used [INFO] [stdout] --> src/codegen/mod.rs:287:10 [INFO] [stdout] | [INFO] [stdout] 80 | impl Context { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn print_instrs(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_wasm` is never used [INFO] [stdout] --> src/emit.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn emit_wasm( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_x86` is never used [INFO] [stdout] --> src/emit.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn emit_x86(filename: &str, ctxs: Vec) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_abs` is never used [INFO] [stdout] --> src/emit.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn emit_abs(filename: &str, ctxs: Vec) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BasicBlocks` is never used [INFO] [stdout] --> src/optimization/post_munch/basic_blocks.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum BasicBlocks { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_loop` is never used [INFO] [stdout] --> src/optimization/post_munch/basic_blocks.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 25 | impl BasicBlocks { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 26 | pub fn new_loop( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `basic_blocks_vec_from_ctx` is never used [INFO] [stdout] --> src/optimization/post_munch/basic_blocks.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn basic_blocks_vec_from_ctx(ctx: &crate::codegen::Context) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_basic_blocks_vec` is never used [INFO] [stdout] --> src/optimization/post_munch/basic_blocks.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn build_basic_blocks_vec( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_regular_basic_blocks` is never used [INFO] [stdout] --> src/optimization/post_munch/basic_blocks.rs:154:4 [INFO] [stdout] | [INFO] [stdout] 154 | fn build_regular_basic_blocks( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display` is never used [INFO] [stdout] --> src/optimization/post_munch/basic_blocks.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 176 | impl BasicBlock { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 177 | pub fn display(&self, padding: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display` is never used [INFO] [stdout] --> src/optimization/post_munch/basic_blocks.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 190 | impl BasicBlocks { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 191 | pub fn display(&self, padding: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.38s [INFO] running `Command { std: "docker" "inspect" "ff312d85c17b5f92ed519e0c7355f9386fe0346ad82c56255698a4aab6a28f12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff312d85c17b5f92ed519e0c7355f9386fe0346ad82c56255698a4aab6a28f12", kill_on_drop: false }` [INFO] [stdout] ff312d85c17b5f92ed519e0c7355f9386fe0346ad82c56255698a4aab6a28f12