[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 try#09335b6f1bff25ec39f47f1533e126fbe1ca5f5d for pr-139493-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxyjixyjixyji%2Fc0c" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xyjixyjixyji/c0c on toolchain 09335b6f1bff25ec39f47f1533e126fbe1ca5f5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09335b6f1bff25ec39f47f1533e126fbe1ca5f5d" "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" "+09335b6f1bff25ec39f47f1533e126fbe1ca5f5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-3-tc2/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `compile_wasm` [INFO] [stderr] * `bin` target `c0c` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+09335b6f1bff25ec39f47f1533e126fbe1ca5f5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5563bd722e4954c3e0f2d9fa3ee7a45bb06202dba6075ec2b6fef60e7a42f1cd [INFO] running `Command { std: "docker" "start" "-a" "5563bd722e4954c3e0f2d9fa3ee7a45bb06202dba6075ec2b6fef60e7a42f1cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5563bd722e4954c3e0f2d9fa3ee7a45bb06202dba6075ec2b6fef60e7a42f1cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5563bd722e4954c3e0f2d9fa3ee7a45bb06202dba6075ec2b6fef60e7a42f1cd", kill_on_drop: false }` [INFO] [stdout] 5563bd722e4954c3e0f2d9fa3ee7a45bb06202dba6075ec2b6fef60e7a42f1cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+09335b6f1bff25ec39f47f1533e126fbe1ca5f5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdd27fc81d364cc4a18e63a277b411c5687d8d16cb031821f6cbf55781bba08a [INFO] running `Command { std: "docker" "start" "-a" "cdd27fc81d364cc4a18e63a277b411c5687d8d16cb031821f6cbf55781bba08a", 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 libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking winnow v0.6.6 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling syn v2.0.59 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [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] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking lalrpop-util v0.20.2 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [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 wasm-bindgen 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] Compiling c0c v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking toml v0.8.12 [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)]` (part of `#[warn(unused)]`) 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 36.52s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lazy_static v1.4.0, wasm-bindgen v0.2.92 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 10` [INFO] running `Command { std: "docker" "inspect" "cdd27fc81d364cc4a18e63a277b411c5687d8d16cb031821f6cbf55781bba08a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdd27fc81d364cc4a18e63a277b411c5687d8d16cb031821f6cbf55781bba08a", kill_on_drop: false }` [INFO] [stdout] cdd27fc81d364cc4a18e63a277b411c5687d8d16cb031821f6cbf55781bba08a