[INFO] cloning repository https://github.com/ctangam/lua-interpreter-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ctangam/lua-interpreter-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/description' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust/description': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/ctangam/lua-interpreter-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ctangam/lua-interpreter-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust/info/: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/ctangam/lua-interpreter-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ctangam/lua-interpreter-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-merge-commit.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust/hooks/pre-merge-commit.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/ctangam/lua-interpreter-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ctangam/lua-interpreter-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/ctangam/lua-interpreter-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ctangam/lua-interpreter-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/ctangam/lua-interpreter-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ctangam/lua-interpreter-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/ctangam/lua-interpreter-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ctangam/lua-interpreter-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/ctangam/lua-interpreter-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ctangam/lua-interpreter-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/ctangam/lua-interpreter-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ctangam/lua-interpreter-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/ctangam/lua-interpreter-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ctangam/lua-interpreter-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/ctangam/lua-interpreter-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ctangam/lua-interpreter-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/ctangam/lua-interpreter-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ctangam/lua-interpreter-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/ctangam/lua-interpreter-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ctangam/lua-interpreter-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/ctangam/lua-interpreter-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ctangam/lua-interpreter-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/ctangam/lua-interpreter-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ctangam/lua-interpreter-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 24628bd2d0f79778e4027bcca5c352fb5df6fe98 [INFO] checking ctangam/lua-interpreter-rust against master#03eb45452305f2d52348279d0caa5fc1f12c438d for pr-138176 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ctangam/lua-interpreter-rust on toolchain 03eb45452305f2d52348279d0caa5fc1f12c438d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ctangam/lua-interpreter-rust [INFO] finished tweaking git repo https://github.com/ctangam/lua-interpreter-rust [INFO] tweaked toml for git repo https://github.com/ctangam/lua-interpreter-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ctangam/lua-interpreter-rust 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" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ed8972ad4a7bb2fd959af70e2338ccfa7a172355c01c01dda2165a9de140677 [INFO] running `Command { std: "docker" "start" "-a" "8ed8972ad4a7bb2fd959af70e2338ccfa7a172355c01c01dda2165a9de140677", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ed8972ad4a7bb2fd959af70e2338ccfa7a172355c01c01dda2165a9de140677", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ed8972ad4a7bb2fd959af70e2338ccfa7a172355c01c01dda2165a9de140677", kill_on_drop: false }` [INFO] [stdout] 8ed8972ad4a7bb2fd959af70e2338ccfa7a172355c01c01dda2165a9de140677 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f3dae643a9c66e29c46a3b9f5777ecc5e07412386bc3fb845c642eac4272da4 [INFO] running `Command { std: "docker" "start" "-a" "7f3dae643a9c66e29c46a3b9f5777ecc5e07412386bc3fb845c642eac4272da4", kill_on_drop: false }` [INFO] [stderr] Checking luar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `parse::ParseProto` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use parse::ParseProto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `arch::x86_64::_SIDD_NEGATIVE_POLARITY`, `collections::HashMap`, `env::var`, `fmt::DebugStruct`, and `iter` [INFO] [stdout] --> src/vm.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | arch::x86_64::_SIDD_NEGATIVE_POLARITY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | env::var, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | fmt::DebugStruct, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | io::{Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | iter, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse::ParseProto` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use parse::ParseProto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `arch::x86_64::_SIDD_NEGATIVE_POLARITY`, `collections::HashMap`, `env::var`, `fmt::DebugStruct`, and `iter` [INFO] [stdout] --> src/vm.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | arch::x86_64::_SIDD_NEGATIVE_POLARITY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | env::var, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | fmt::DebugStruct, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | io::{Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | iter, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ParseContext` is more private than the item `ParseProto::ctx` [INFO] [stdout] --> src/parse.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub ctx: &'a mut ParseContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ParseProto::ctx` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ParseContext` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parse.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | struct ParseContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GotoLabel` is more private than the item `ParseProto::gotos` [INFO] [stdout] --> src/parse.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub gotos: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `ParseProto::gotos` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GotoLabel` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parse.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | struct GotoLabel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GotoLabel` is more private than the item `ParseProto::labels` [INFO] [stdout] --> src/parse.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub labels: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ParseProto::labels` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GotoLabel` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parse.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | struct GotoLabel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parse.rs:1188:12 [INFO] [stdout] | [INFO] [stdout] 1188 | if opr == ByteCode::Add || opr == ByteCode::Mul { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 1188 - if opr == ByteCode::Add || opr == ByteCode::Mul { [INFO] [stdout] 1188 + if std::ptr::fn_addr_eq(opr, ByteCode::Add as fn(u8, u8, u8) -> ByteCode) || opr == ByteCode::Mul { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parse.rs:1188:36 [INFO] [stdout] | [INFO] [stdout] 1188 | if opr == ByteCode::Add || opr == ByteCode::Mul { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 1188 - if opr == ByteCode::Add || opr == ByteCode::Mul { [INFO] [stdout] 1188 + if opr == ByteCode::Add || std::ptr::fn_addr_eq(opr, ByteCode::Mul as fn(u8, u8, u8) -> ByteCode) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ParseContext` is more private than the item `ParseProto::ctx` [INFO] [stdout] --> src/parse.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub ctx: &'a mut ParseContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ParseProto::ctx` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ParseContext` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parse.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | struct ParseContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GotoLabel` is more private than the item `ParseProto::gotos` [INFO] [stdout] --> src/parse.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub gotos: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ field `ParseProto::gotos` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GotoLabel` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parse.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | struct GotoLabel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GotoLabel` is more private than the item `ParseProto::labels` [INFO] [stdout] --> src/parse.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub labels: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ParseProto::labels` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GotoLabel` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parse.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | struct GotoLabel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parse.rs:1188:12 [INFO] [stdout] | [INFO] [stdout] 1188 | if opr == ByteCode::Add || opr == ByteCode::Mul { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 1188 - if opr == ByteCode::Add || opr == ByteCode::Mul { [INFO] [stdout] 1188 + if std::ptr::fn_addr_eq(opr, ByteCode::Add as fn(u8, u8, u8) -> ByteCode) || opr == ByteCode::Mul { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parse.rs:1188:36 [INFO] [stdout] | [INFO] [stdout] 1188 | if opr == ByteCode::Add || opr == ByteCode::Mul { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 1188 - if opr == ByteCode::Add || opr == ByteCode::Mul { [INFO] [stdout] 1188 + if opr == ByteCode::Add || std::ptr::fn_addr_eq(opr, ByteCode::Mul as fn(u8, u8, u8) -> ByteCode) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "7f3dae643a9c66e29c46a3b9f5777ecc5e07412386bc3fb845c642eac4272da4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f3dae643a9c66e29c46a3b9f5777ecc5e07412386bc3fb845c642eac4272da4", kill_on_drop: false }` [INFO] [stdout] 7f3dae643a9c66e29c46a3b9f5777ecc5e07412386bc3fb845c642eac4272da4