[INFO] cloning repository https://github.com/erikgrinaker/rex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erikgrinaker/rex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikgrinaker%2Frex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikgrinaker%2Frex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 638525f5b9cba6cb98d412ac3473e98eed3f7e27 [INFO] building erikgrinaker/rex against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikgrinaker%2Frex" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erikgrinaker/rex on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/erikgrinaker/rex [INFO] finished tweaking git repo https://github.com/erikgrinaker/rex [INFO] tweaked toml for git repo https://github.com/erikgrinaker/rex written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/erikgrinaker/rex 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e387df24b82e19bedbd6a2f7663e88d1b2460d99c92366a4ab6d03115f675d48 [INFO] running `Command { std: "docker" "start" "-a" "e387df24b82e19bedbd6a2f7663e88d1b2460d99c92366a4ab6d03115f675d48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e387df24b82e19bedbd6a2f7663e88d1b2460d99c92366a4ab6d03115f675d48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e387df24b82e19bedbd6a2f7663e88d1b2460d99c92366a4ab6d03115f675d48", kill_on_drop: false }` [INFO] [stdout] e387df24b82e19bedbd6a2f7663e88d1b2460d99c92366a4ab6d03115f675d48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 860068eac1e9b30a2d44e0ee48105ba477159132a58f12a5ec364aca47b95faa [INFO] running `Command { std: "docker" "start" "-a" "860068eac1e9b30a2d44e0ee48105ba477159132a58f12a5ec364aca47b95faa", kill_on_drop: false }` [INFO] [stderr] Compiling rex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Transition` [INFO] [stdout] --> src/compiler.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::pattern::{Condition, Pattern, State, Transition}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `todo` [INFO] [stdout] --> src/pattern.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | todo, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/compiler.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn compile(&self, expr: ast::Expression) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut states = vec![State::Accept]; [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: unused variable: `seq` [INFO] [stdout] --> src/compiler.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 22 | ast::Expression::Sequence(seq) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | Alternation(Vec), // (|) [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 3 - Alternation(Vec), // (|) [INFO] [stdout] 3 + Alternation(()), // (|) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | Anchor(Anchor), // ^ or $ [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 - Anchor(Anchor), // ^ or $ [INFO] [stdout] 4 + Anchor(()), // ^ or $ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | Literal(char), // x [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - Literal(char), // x [INFO] [stdout] 7 + Literal(()), // x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/ast.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | Quantifier(u8, Option), // ? * + {} [INFO] [stdout] | ---------- ^^ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 8 - Quantifier(u8, Option), // ? * + {} [INFO] [stdout] 8 + Quantifier((), ()), // ? * + {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | Sequence(Vec), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - Sequence(Vec), [INFO] [stdout] 9 + Sequence(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Class` is never constructed [INFO] [stdout] --> src/ast.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Expression { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | Class(Class), // [] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Alnum`, `Alpha`, `Digit`, `Lower`, `Space`, and `Upper` are never constructed [INFO] [stdout] --> src/ast.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum Class { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 20 | Alnum, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | Alpha, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | Digit, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | Lower, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | Space, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | Upper, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Class` 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: methods `compile_states` and `compile_condition` are never used [INFO] [stdout] --> src/compiler.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Compiler { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | fn compile_states(&self, expr: ast::Expression) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn compile_condition(&self, expr: ast::Expression) -> Condition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `compile` is never used [INFO] [stdout] --> src/pattern.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Pattern { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 18 | pub fn compile(expr: ast::Expression) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Match` is never constructed [INFO] [stdout] --> src/pattern.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum State { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 45 | Accept, [INFO] [stdout] 46 | Match(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Always`, `Start`, `End`, and `Literal` are never constructed [INFO] [stdout] --> src/pattern.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub enum Condition { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 55 | Always, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 56 | Start, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 57 | End, [INFO] [stdout] | ^^^ [INFO] [stdout] 58 | Literal(char), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to build archive at `/opt/rustwide/target/debug/deps/librex-a84259acf75a4013.rlib`: No space left on device (os error 28) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rex` (lib) due to 1 previous error; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "860068eac1e9b30a2d44e0ee48105ba477159132a58f12a5ec364aca47b95faa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "860068eac1e9b30a2d44e0ee48105ba477159132a58f12a5ec364aca47b95faa", kill_on_drop: false }` [INFO] [stdout] 860068eac1e9b30a2d44e0ee48105ba477159132a58f12a5ec364aca47b95faa