[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 try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fctangam%2Flua-interpreter-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ctangam/lua-interpreter-rust on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "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-3-tc2/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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01e9d43cc9b6af0606e78cec6c2de6df073bc7c6850da03051aca491c4b67fbd [INFO] running `Command { std: "docker" "start" "-a" "01e9d43cc9b6af0606e78cec6c2de6df073bc7c6850da03051aca491c4b67fbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01e9d43cc9b6af0606e78cec6c2de6df073bc7c6850da03051aca491c4b67fbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01e9d43cc9b6af0606e78cec6c2de6df073bc7c6850da03051aca491c4b67fbd", kill_on_drop: false }` [INFO] [stdout] 01e9d43cc9b6af0606e78cec6c2de6df073bc7c6850da03051aca491c4b67fbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4faaf14397047b3e0a5cb9a39a51c84e6809dc38aedfc5de8c15f046a7df174 [INFO] running `Command { std: "docker" "start" "-a" "a4faaf14397047b3e0a5cb9a39a51c84e6809dc38aedfc5de8c15f046a7df174", 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] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/parse.rs:1020:32 [INFO] [stdout] | [INFO] [stdout] 1020 | match self.simple_name("_ENV".into()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [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 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 || 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] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/parse.rs:1020:32 [INFO] [stdout] | [INFO] [stdout] 1020 | match self.simple_name("_ENV".into()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [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 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 || std::ptr::fn_addr_eq(opr, ByteCode::Mul as fn(u8, u8, u8) -> ByteCode) { [INFO] [stdout] | +++++++++++++++++++++ ~ ++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `luar` (bin "luar" test) due to 1 previous error; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `luar` (bin "luar") due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a4faaf14397047b3e0a5cb9a39a51c84e6809dc38aedfc5de8c15f046a7df174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4faaf14397047b3e0a5cb9a39a51c84e6809dc38aedfc5de8c15f046a7df174", kill_on_drop: false }` [INFO] [stdout] a4faaf14397047b3e0a5cb9a39a51c84e6809dc38aedfc5de8c15f046a7df174