[INFO] fetching crate sabre-lang 0.5.0... [INFO] building sabre-lang-0.5.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate sabre-lang 0.5.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate sabre-lang 0.5.0 [INFO] finished tweaking crates.io crate sabre-lang 0.5.0 [INFO] tweaked toml for crates.io crate sabre-lang 0.5.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sabre-lang 0.5.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sabre-lang 0.5.0 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lock_api v0.4.2 [INFO] [stderr] Downloaded rust-embed-impl v5.7.0 [INFO] [stderr] Downloaded rust-embed-utils v5.1.0 [INFO] [stderr] Downloaded parking_lot_core v0.8.2 [INFO] [stderr] Downloaded inkwell_internals v0.3.0 [INFO] [stderr] Downloaded cc v1.0.66 [INFO] [stderr] Downloaded llvm-sys v100.2.0 [INFO] [stderr] Downloaded inkwell v0.1.0-beta.2 [INFO] [stderr] Downloaded regex v1.4.3 [INFO] [stderr] Downloaded syn v1.0.53 [INFO] [stderr] Downloaded regex-syntax v0.6.22 [INFO] [stderr] Downloaded libc v0.2.81 [INFO] [stderr] Downloaded rust-embed v5.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c07a39e56e245ab2a32d18e8fdbcbdc203f64c3d18d49c053c634ed24c68c58 [INFO] running `Command { std: "docker" "start" "-a" "5c07a39e56e245ab2a32d18e8fdbcbdc203f64c3d18d49c053c634ed24c68c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c07a39e56e245ab2a32d18e8fdbcbdc203f64c3d18d49c053c634ed24c68c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c07a39e56e245ab2a32d18e8fdbcbdc203f64c3d18d49c053c634ed24c68c58", kill_on_drop: false }` [INFO] [stdout] 5c07a39e56e245ab2a32d18e8fdbcbdc203f64c3d18d49c053c634ed24c68c58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4056ea0ce305426eb0c531ffd92f9ba36a9eeea8879dc87b4b454c89c2d2f403 [INFO] running `Command { std: "docker" "start" "-a" "4056ea0ce305426eb0c531ffd92f9ba36a9eeea8879dc87b4b454c89c2d2f403", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling rust-embed-utils v5.1.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling rust-embed-impl v5.7.0 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling rust-embed v5.7.0 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling sabre-lang v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/ast/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 29 | pub path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fields` is never read [INFO] [stdout] --> src/ast/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct StructDef { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 63 | pub name: String, [INFO] [stdout] 64 | pub fields: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructDef` 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 `add` are never used [INFO] [stdout] --> src/generator/x86.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl Assembly { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 30 | fn new() -> Assembly { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn add>(&mut self, string: S) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `X86Generator` is never constructed [INFO] [stdout] --> src/generator/x86.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct X86Generator; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `gen_program`, and `gen_function` are never used [INFO] [stdout] --> src/generator/x86.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl X86Generator { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 52 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn gen_program(&mut self, prog: Module) -> Assembly { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn gen_function(&mut self, func: Function) -> Assembly { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.50s [INFO] running `Command { std: "docker" "inspect" "4056ea0ce305426eb0c531ffd92f9ba36a9eeea8879dc87b4b454c89c2d2f403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4056ea0ce305426eb0c531ffd92f9ba36a9eeea8879dc87b4b454c89c2d2f403", kill_on_drop: false }` [INFO] [stdout] 4056ea0ce305426eb0c531ffd92f9ba36a9eeea8879dc87b4b454c89c2d2f403 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dec72f9ea0b5d798f47d1302619d61d354424a4e3ef9fda5314b5b91f67db779 [INFO] running `Command { std: "docker" "start" "-a" "dec72f9ea0b5d798f47d1302619d61d354424a4e3ef9fda5314b5b91f67db779", kill_on_drop: false }` [INFO] [stderr] Compiling sabre-lang v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/ast/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 29 | pub path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fields` is never read [INFO] [stdout] --> src/ast/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct StructDef { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 63 | pub name: String, [INFO] [stdout] 64 | pub fields: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructDef` 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 `add` are never used [INFO] [stdout] --> src/generator/x86.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl Assembly { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 30 | fn new() -> Assembly { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn add>(&mut self, string: S) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `X86Generator` is never constructed [INFO] [stdout] --> src/generator/x86.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct X86Generator; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `gen_program`, and `gen_function` are never used [INFO] [stdout] --> src/generator/x86.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl X86Generator { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 52 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn gen_program(&mut self, prog: Module) -> Assembly { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn gen_function(&mut self, func: Function) -> Assembly { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.47s [INFO] running `Command { std: "docker" "inspect" "dec72f9ea0b5d798f47d1302619d61d354424a4e3ef9fda5314b5b91f67db779", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dec72f9ea0b5d798f47d1302619d61d354424a4e3ef9fda5314b5b91f67db779", kill_on_drop: false }` [INFO] [stdout] dec72f9ea0b5d798f47d1302619d61d354424a4e3ef9fda5314b5b91f67db779