[INFO] cloning repository https://github.com/DanielRamosAcosta/cya-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DanielRamosAcosta/cya-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielRamosAcosta%2Fcya-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielRamosAcosta%2Fcya-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db9fc515aac562816310d6931c96f0e18f0f4f15 [INFO] checking DanielRamosAcosta/cya-rust against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielRamosAcosta%2Fcya-rust" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DanielRamosAcosta/cya-rust on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DanielRamosAcosta/cya-rust [INFO] finished tweaking git repo https://github.com/DanielRamosAcosta/cya-rust [INFO] tweaked toml for git repo https://github.com/DanielRamosAcosta/cya-rust written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/DanielRamosAcosta/cya-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a09a835edfd298e3fcd958a820826b049ad4a32c2485a0515b08feebe90cedcd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a09a835edfd298e3fcd958a820826b049ad4a32c2485a0515b08feebe90cedcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a09a835edfd298e3fcd958a820826b049ad4a32c2485a0515b08feebe90cedcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a09a835edfd298e3fcd958a820826b049ad4a32c2485a0515b08feebe90cedcd", kill_on_drop: false }` [INFO] [stdout] a09a835edfd298e3fcd958a820826b049ad4a32c2485a0515b08feebe90cedcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfe62233c958dbeb155532a82f89b1aa1afccda321a1e7917baec49609c125d0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bfe62233c958dbeb155532a82f89b1aa1afccda321a1e7917baec49609c125d0", kill_on_drop: false }` [INFO] [stderr] Checking exercise-4 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dfa/status/transitions_log/transition_log.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new (current_state: u32, input: char, next_state: u32) -> TransitionLog { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/dfa/status/transitions_log/transition_log.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TransitionsLog` [INFO] [stdout] --> src/dfa/status/transitions_log.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TransitionsLog { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dfa/status/transitions_log.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(transitions: Vec) -> TransitionsLog { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_header` [INFO] [stdout] --> src/dfa/status/transitions_log.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn get_header() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/dfa/status/transitions_log.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn to_string (&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Status` [INFO] [stdout] --> src/dfa/status.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dfa/status.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(input: String, transitions: transitions_log::TransitionsLog, is_accepted: bool) -> Status { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/dfa/status.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Transition` [INFO] [stdout] --> src/dfa.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Transition { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dfa.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new (symbol: char, destination_state: u32,) -> Transition { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eq` [INFO] [stdout] --> src/dfa.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn eq(&self, symbol: char) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `State` [INFO] [stdout] --> src/dfa.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dfa.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eq` [INFO] [stdout] --> src/dfa.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn eq(&self, label: u32) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_transition_for` [INFO] [stdout] --> src/dfa.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_transition_for(&self, symbol: char) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Dfa` [INFO] [stdout] --> src/dfa.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Dfa { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dfa.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new (initial_state: u32, states: Vec) -> Dfa { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/dfa.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn execute(&self, input: String) -> status::Status { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "bfe62233c958dbeb155532a82f89b1aa1afccda321a1e7917baec49609c125d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfe62233c958dbeb155532a82f89b1aa1afccda321a1e7917baec49609c125d0", kill_on_drop: false }` [INFO] [stdout] bfe62233c958dbeb155532a82f89b1aa1afccda321a1e7917baec49609c125d0