[INFO] cloning repository https://github.com/neutron63zf/bf-rust-wasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/neutron63zf/bf-rust-wasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneutron63zf%2Fbf-rust-wasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneutron63zf%2Fbf-rust-wasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e273f452b3963e76a038e0202d7604b31f9d6c2 [INFO] testing neutron63zf/bf-rust-wasm against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneutron63zf%2Fbf-rust-wasm" "/workspace/builds/worker-58/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-58/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/neutron63zf/bf-rust-wasm on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/neutron63zf/bf-rust-wasm [INFO] finished tweaking git repo https://github.com/neutron63zf/bf-rust-wasm [INFO] tweaked toml for git repo https://github.com/neutron63zf/bf-rust-wasm written to /workspace/builds/worker-58/source/Cargo.toml [INFO] crate git repo https://github.com/neutron63zf/bf-rust-wasm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a019498058764af1730af8435f09703816cc159b3844f674e78ea0d78503351 [INFO] running `Command { std: "docker" "start" "-a" "9a019498058764af1730af8435f09703816cc159b3844f674e78ea0d78503351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a019498058764af1730af8435f09703816cc159b3844f674e78ea0d78503351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a019498058764af1730af8435f09703816cc159b3844f674e78ea0d78503351", kill_on_drop: false }` [INFO] [stdout] 9a019498058764af1730af8435f09703816cc159b3844f674e78ea0d78503351 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2886b9e364b5182227f6ab7cbb9df1258a5c3f9abd7e11221c3015c2cf115948 [INFO] running `Command { std: "docker" "start" "-a" "2886b9e364b5182227f6ab7cbb9df1258a5c3f9abd7e11221c3015c2cf115948", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: enum is never used: `ValueCellOperation` [INFO] [stdout] --> bf-core/src/core.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum ValueCellOperation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bf-core v0.1.0 (/opt/rustwide/workdir/bf-core) [INFO] [stdout] warning: associated function is never used: `value_change` [INFO] [stdout] --> bf-core/src/core.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn value_change(&mut self, instruction: ValueCellOperation) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.20s [INFO] [stdout] warning: associated function is never used: `is_zero` [INFO] [stdout] --> bf-core/src/core.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn is_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `MemoryPointerMove` [INFO] [stdout] --> bf-core/src/core.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | enum MemoryPointerMove { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_pointer` [INFO] [stdout] --> bf-core/src/core.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn move_pointer(&mut self, instruction: MemoryPointerMove) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PInc` [INFO] [stdout] --> bf-core/src/core.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | PInc, // ポインタをインクリメント(右に一つずらす) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PDec` [INFO] [stdout] --> bf-core/src/core.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | PDec, // ポインタをデクリメント(左に一つずらす) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VInc` [INFO] [stdout] --> bf-core/src/core.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | VInc, // データをインクリメント [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VDec` [INFO] [stdout] --> bf-core/src/core.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | VDec, // データをデクリメント [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Output` [INFO] [stdout] --> bf-core/src/core.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | Output, // データを出力 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Input` [INFO] [stdout] --> bf-core/src/core.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | Input, // データに入力 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Open` [INFO] [stdout] --> bf-core/src/core.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | Open, // ポインタの指す値がゼロならCloseの直後まで飛ぶ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Close` [INFO] [stdout] --> bf-core/src/core.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | Close, // 対応するOpenまで戻る [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VShiftR` [INFO] [stdout] --> bf-core/src/core.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | VShiftR, // データを右にシフト [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VShiftL` [INFO] [stdout] --> bf-core/src/core.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | VShiftL, // データを左にシフト [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ProgramPointerMove` [INFO] [stdout] --> bf-core/src/core.rs:93:6 [INFO] [stdout] | [INFO] [stdout] 93 | enum ProgramPointerMove { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_operations` [INFO] [stdout] --> bf-core/src/core.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | fn from_operations(operations: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_pointer` [INFO] [stdout] --> bf-core/src/core.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn move_pointer(&mut self, instruction: ProgramPointerMove) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ToOpen` [INFO] [stdout] --> bf-core/src/core.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | ToOpen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AnalyzerPointerJump` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Debug, PartialEq, Eq, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ToClose` [INFO] [stdout] --> bf-core/src/core.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | ToClose, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AnalyzerPointerJump` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Debug, PartialEq, Eq, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `initialize` [INFO] [stdout] --> bf-core/src/core.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | fn initialize(program: Program) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encountered_target_operation` [INFO] [stdout] --> bf-core/src/core.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | fn encountered_target_operation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encountered_opposite_operation` [INFO] [stdout] --> bf-core/src/core.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | fn encountered_opposite_operation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> bf-core/src/core.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | fn next(&mut self, cell: &ValueCell) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> bf-core/src/core.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | fn next(&mut self, input: Option) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2886b9e364b5182227f6ab7cbb9df1258a5c3f9abd7e11221c3015c2cf115948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2886b9e364b5182227f6ab7cbb9df1258a5c3f9abd7e11221c3015c2cf115948", kill_on_drop: false }` [INFO] [stdout] 2886b9e364b5182227f6ab7cbb9df1258a5c3f9abd7e11221c3015c2cf115948 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0779f07c816f1667b24dd5e37f3f1f763d0ce23b964dbc98e7d3be684d9f1ef [INFO] running `Command { std: "docker" "start" "-a" "f0779f07c816f1667b24dd5e37f3f1f763d0ce23b964dbc98e7d3be684d9f1ef", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: enum is never used: `ValueCellOperation` [INFO] [stdout] --> bf-core/src/core.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum ValueCellOperation { [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: `value_change` [INFO] [stdout] --> bf-core/src/core.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn value_change(&mut self, instruction: ValueCellOperation) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bf-core v0.1.0 (/opt/rustwide/workdir/bf-core) [INFO] [stdout] warning: associated function is never used: `is_zero` [INFO] [stdout] --> bf-core/src/core.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn is_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `MemoryPointerMove` [INFO] [stdout] --> bf-core/src/core.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | enum MemoryPointerMove { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_pointer` [INFO] [stdout] --> bf-core/src/core.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn move_pointer(&mut self, instruction: MemoryPointerMove) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PInc` [INFO] [stdout] --> bf-core/src/core.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | PInc, // ポインタをインクリメント(右に一つずらす) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PDec` [INFO] [stdout] --> bf-core/src/core.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | PDec, // ポインタをデクリメント(左に一つずらす) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VInc` [INFO] [stdout] --> bf-core/src/core.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | VInc, // データをインクリメント [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VDec` [INFO] [stdout] --> bf-core/src/core.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | VDec, // データをデクリメント [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Output` [INFO] [stdout] --> bf-core/src/core.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | Output, // データを出力 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Input` [INFO] [stdout] --> bf-core/src/core.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | Input, // データに入力 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Open` [INFO] [stdout] --> bf-core/src/core.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | Open, // ポインタの指す値がゼロならCloseの直後まで飛ぶ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Close` [INFO] [stdout] --> bf-core/src/core.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | Close, // 対応するOpenまで戻る [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VShiftR` [INFO] [stdout] --> bf-core/src/core.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | VShiftR, // データを右にシフト [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VShiftL` [INFO] [stdout] --> bf-core/src/core.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | VShiftL, // データを左にシフト [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ProgramPointerMove` [INFO] [stdout] --> bf-core/src/core.rs:93:6 [INFO] [stdout] | [INFO] [stdout] 93 | enum ProgramPointerMove { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_operations` [INFO] [stdout] --> bf-core/src/core.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | fn from_operations(operations: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_pointer` [INFO] [stdout] --> bf-core/src/core.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn move_pointer(&mut self, instruction: ProgramPointerMove) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ToOpen` [INFO] [stdout] --> bf-core/src/core.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | ToOpen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AnalyzerPointerJump` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Debug, PartialEq, Eq, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ToClose` [INFO] [stdout] --> bf-core/src/core.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | ToClose, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AnalyzerPointerJump` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Debug, PartialEq, Eq, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `initialize` [INFO] [stdout] --> bf-core/src/core.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | fn initialize(program: Program) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encountered_target_operation` [INFO] [stdout] --> bf-core/src/core.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | fn encountered_target_operation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encountered_opposite_operation` [INFO] [stdout] --> bf-core/src/core.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | fn encountered_opposite_operation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> bf-core/src/core.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | fn next(&mut self, cell: &ValueCell) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> bf-core/src/core.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | fn next(&mut self, input: Option) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ValueCellOperation` [INFO] [stdout] --> bf-core/src/core.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum ValueCellOperation { [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: `value_change` [INFO] [stdout] --> bf-core/src/core.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn value_change(&mut self, instruction: ValueCellOperation) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_zero` [INFO] [stdout] --> bf-core/src/core.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn is_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `MemoryPointerMove` [INFO] [stdout] --> bf-core/src/core.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | enum MemoryPointerMove { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_pointer` [INFO] [stdout] --> bf-core/src/core.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn move_pointer(&mut self, instruction: MemoryPointerMove) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PInc` [INFO] [stdout] --> bf-core/src/core.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | PInc, // ポインタをインクリメント(右に一つずらす) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PDec` [INFO] [stdout] --> bf-core/src/core.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | PDec, // ポインタをデクリメント(左に一つずらす) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VInc` [INFO] [stdout] --> bf-core/src/core.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | VInc, // データをインクリメント [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VDec` [INFO] [stdout] --> bf-core/src/core.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | VDec, // データをデクリメント [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Output` [INFO] [stdout] --> bf-core/src/core.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | Output, // データを出力 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Input` [INFO] [stdout] --> bf-core/src/core.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | Input, // データに入力 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Open` [INFO] [stdout] --> bf-core/src/core.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | Open, // ポインタの指す値がゼロならCloseの直後まで飛ぶ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Close` [INFO] [stdout] --> bf-core/src/core.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | Close, // 対応するOpenまで戻る [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VShiftR` [INFO] [stdout] --> bf-core/src/core.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | VShiftR, // データを右にシフト [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VShiftL` [INFO] [stdout] --> bf-core/src/core.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | VShiftL, // データを左にシフト [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ProgramPointerMove` [INFO] [stdout] --> bf-core/src/core.rs:93:6 [INFO] [stdout] | [INFO] [stdout] 93 | enum ProgramPointerMove { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_operations` [INFO] [stdout] --> bf-core/src/core.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | fn from_operations(operations: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_pointer` [INFO] [stdout] --> bf-core/src/core.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn move_pointer(&mut self, instruction: ProgramPointerMove) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ToOpen` [INFO] [stdout] --> bf-core/src/core.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | ToOpen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AnalyzerPointerJump` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Debug, PartialEq, Eq, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ToClose` [INFO] [stdout] --> bf-core/src/core.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | ToClose, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AnalyzerPointerJump` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> bf-core/src/core.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Debug, PartialEq, Eq, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `initialize` [INFO] [stdout] --> bf-core/src/core.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | fn initialize(program: Program) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encountered_target_operation` [INFO] [stdout] --> bf-core/src/core.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | fn encountered_target_operation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encountered_opposite_operation` [INFO] [stdout] --> bf-core/src/core.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | fn encountered_opposite_operation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> bf-core/src/core.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | fn next(&mut self, cell: &ValueCell) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> bf-core/src/core.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | fn next(&mut self, input: Option) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.29s [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/bf_core-576bf73223c71099) [INFO] running `Command { std: "docker" "inspect" "f0779f07c816f1667b24dd5e37f3f1f763d0ce23b964dbc98e7d3be684d9f1ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0779f07c816f1667b24dd5e37f3f1f763d0ce23b964dbc98e7d3be684d9f1ef", kill_on_drop: false }` [INFO] [stdout] f0779f07c816f1667b24dd5e37f3f1f763d0ce23b964dbc98e7d3be684d9f1ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 12ca19dd8e35ca303e864c371a7055a846186e52bf9380fa70da4fece26eb0a3 [INFO] running `Command { std: "docker" "start" "-a" "12ca19dd8e35ca303e864c371a7055a846186e52bf9380fa70da4fece26eb0a3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: enum is never used: `ValueCellOperation` [INFO] [stderr] --> bf-core/src/core.rs:6:6 [INFO] [stderr] | [INFO] [stderr] 6 | enum ValueCellOperation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `value_change` [INFO] [stderr] --> bf-core/src/core.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | fn value_change(&mut self, instruction: ValueCellOperation) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_zero` [INFO] [stderr] --> bf-core/src/core.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 30 | fn is_zero(&self) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `MemoryPointerMove` [INFO] [stderr] --> bf-core/src/core.rs:44:6 [INFO] [stderr] | [INFO] [stderr] 44 | enum MemoryPointerMove { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `move_pointer` [INFO] [stderr] --> bf-core/src/core.rs:50:8 [INFO] [stderr] | [INFO] [stderr] 50 | fn move_pointer(&mut self, instruction: MemoryPointerMove) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PInc` [INFO] [stderr] --> bf-core/src/core.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | PInc, // ポインタをインクリメント(右に一つずらす) [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> bf-core/src/core.rs:69:16 [INFO] [stderr] | [INFO] [stderr] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PDec` [INFO] [stderr] --> bf-core/src/core.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 72 | PDec, // ポインタをデクリメント(左に一つずらす) [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> bf-core/src/core.rs:69:16 [INFO] [stderr] | [INFO] [stderr] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `VInc` [INFO] [stderr] --> bf-core/src/core.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | VInc, // データをインクリメント [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> bf-core/src/core.rs:69:16 [INFO] [stderr] | [INFO] [stderr] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `VDec` [INFO] [stderr] --> bf-core/src/core.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | VDec, // データをデクリメント [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> bf-core/src/core.rs:69:16 [INFO] [stderr] | [INFO] [stderr] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Output` [INFO] [stderr] --> bf-core/src/core.rs:75:5 [INFO] [stderr] | [INFO] [stderr] 75 | Output, // データを出力 [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> bf-core/src/core.rs:69:16 [INFO] [stderr] | [INFO] [stderr] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Input` [INFO] [stderr] --> bf-core/src/core.rs:76:5 [INFO] [stderr] | [INFO] [stderr] 76 | Input, // データに入力 [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> bf-core/src/core.rs:69:16 [INFO] [stderr] | [INFO] [stderr] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Open` [INFO] [stderr] --> bf-core/src/core.rs:77:5 [INFO] [stderr] | [INFO] [stderr] 77 | Open, // ポインタの指す値がゼロならCloseの直後まで飛ぶ [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> bf-core/src/core.rs:69:16 [INFO] [stderr] | [INFO] [stderr] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Close` [INFO] [stderr] --> bf-core/src/core.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | Close, // 対応するOpenまで戻る [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> bf-core/src/core.rs:69:16 [INFO] [stderr] | [INFO] [stderr] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `VShiftR` [INFO] [stderr] --> bf-core/src/core.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | VShiftR, // データを右にシフト [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> bf-core/src/core.rs:69:16 [INFO] [stderr] | [INFO] [stderr] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `VShiftL` [INFO] [stderr] --> bf-core/src/core.rs:81:5 [INFO] [stderr] | [INFO] [stderr] 81 | VShiftL, // データを左にシフト [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> bf-core/src/core.rs:69:16 [INFO] [stderr] | [INFO] [stderr] 69 | #[derive(Copy, Debug, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `ProgramPointerMove` [INFO] [stderr] --> bf-core/src/core.rs:93:6 [INFO] [stderr] | [INFO] [stderr] 93 | enum ProgramPointerMove { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_operations` [INFO] [stderr] --> bf-core/src/core.rs:99:8 [INFO] [stderr] | [INFO] [stderr] 99 | fn from_operations(operations: Vec) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `move_pointer` [INFO] [stderr] --> bf-core/src/core.rs:115:8 [INFO] [stderr] | [INFO] [stderr] 115 | fn move_pointer(&mut self, instruction: ProgramPointerMove) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ToOpen` [INFO] [stderr] --> bf-core/src/core.rs:136:5 [INFO] [stderr] | [INFO] [stderr] 136 | ToOpen, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AnalyzerPointerJump` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> bf-core/src/core.rs:134:10 [INFO] [stderr] | [INFO] [stderr] 134 | #[derive(Debug, PartialEq, Eq, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ToClose` [INFO] [stderr] --> bf-core/src/core.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | ToClose, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `AnalyzerPointerJump` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> bf-core/src/core.rs:134:10 [INFO] [stderr] | [INFO] [stderr] 134 | #[derive(Debug, PartialEq, Eq, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `initialize` [INFO] [stderr] --> bf-core/src/core.rs:149:8 [INFO] [stderr] | [INFO] [stderr] 149 | fn initialize(program: Program) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `encountered_target_operation` [INFO] [stderr] --> bf-core/src/core.rs:156:8 [INFO] [stderr] | [INFO] [stderr] 156 | fn encountered_target_operation(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `encountered_opposite_operation` [INFO] [stderr] --> bf-core/src/core.rs:163:8 [INFO] [stderr] | [INFO] [stderr] 163 | fn encountered_opposite_operation(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `next` [INFO] [stderr] --> bf-core/src/core.rs:167:8 [INFO] [stderr] | [INFO] [stderr] 167 | fn next(&mut self, cell: &ValueCell) -> Option { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `next` [INFO] [stderr] --> bf-core/src/core.rs:227:8 [INFO] [stderr] | [INFO] [stderr] 227 | fn next(&mut self, input: Option) -> Option { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `bf-core` (lib) generated 25 warnings [INFO] [stderr] warning: `bf-core` (lib test) generated 25 warnings (25 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bf_core-576bf73223c71099) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests bf-core [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "12ca19dd8e35ca303e864c371a7055a846186e52bf9380fa70da4fece26eb0a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12ca19dd8e35ca303e864c371a7055a846186e52bf9380fa70da4fece26eb0a3", kill_on_drop: false }` [INFO] [stdout] 12ca19dd8e35ca303e864c371a7055a846186e52bf9380fa70da4fece26eb0a3