[INFO] cloning repository https://github.com/lth-go/pepsi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lth-go/pepsi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flth-go%2Fpepsi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flth-go%2Fpepsi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 849dc0a2e34341afdffd5a594ea45d2dd8f403a7 [INFO] checking lth-go/pepsi against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flth-go%2Fpepsi" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lth-go/pepsi on toolchain 901e6d56697c79b2e80df6a487b2318ec6f57ee3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lth-go/pepsi [INFO] finished tweaking git repo https://github.com/lth-go/pepsi [INFO] tweaked toml for git repo https://github.com/lth-go/pepsi written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lth-go/pepsi 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" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking lth-go/pepsi against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flth-go%2Fpepsi" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lth-go/pepsi on toolchain 901e6d56697c79b2e80df6a487b2318ec6f57ee3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lth-go/pepsi [INFO] finished tweaking git repo https://github.com/lth-go/pepsi [INFO] tweaked toml for git repo https://github.com/lth-go/pepsi written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lth-go/pepsi 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" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 915a2a5c3b994cd3ad8fb0cccc39a5fe43cab914a74d323507445604de355752 [INFO] running `Command { std: "docker" "start" "-a" "915a2a5c3b994cd3ad8fb0cccc39a5fe43cab914a74d323507445604de355752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "915a2a5c3b994cd3ad8fb0cccc39a5fe43cab914a74d323507445604de355752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "915a2a5c3b994cd3ad8fb0cccc39a5fe43cab914a74d323507445604de355752", kill_on_drop: false }` [INFO] [stdout] 915a2a5c3b994cd3ad8fb0cccc39a5fe43cab914a74d323507445604de355752 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 430a73b4624d8c263e6c83dd483735cc1b6f3e37fc01f111edddc578b73fad98 [INFO] running `Command { std: "docker" "start" "-a" "430a73b4624d8c263e6c83dd483735cc1b6f3e37fc01f111edddc578b73fad98", kill_on_drop: false }` [INFO] [stderr] Checking pepsi v0.1.0 (/opt/rustwide/workdir) [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:1076:12 [INFO] [stdout] | [INFO] [stdout] 1076 | 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] 1076 - if opr == ByteCode::Add || opr == ByteCode::Mul { [INFO] [stdout] 1076 + 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:1076:36 [INFO] [stdout] | [INFO] [stdout] 1076 | 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] 1076 - if opr == ByteCode::Add || opr == ByteCode::Mul { [INFO] [stdout] 1076 + 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: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parse.rs:1101:12 [INFO] [stdout] | [INFO] [stdout] 1101 | if opr == ByteCode::Equal || opr == ByteCode::NotEq { [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] 1101 - if opr == ByteCode::Equal || opr == ByteCode::NotEq { [INFO] [stdout] 1101 + if std::ptr::fn_addr_eq(opr, ByteCode::Equal as fn(u8, u8, bool) -> ByteCode) || opr == ByteCode::NotEq { [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:1101:38 [INFO] [stdout] | [INFO] [stdout] 1101 | if opr == ByteCode::Equal || opr == ByteCode::NotEq { [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] 1101 - if opr == ByteCode::Equal || opr == ByteCode::NotEq { [INFO] [stdout] 1101 + if opr == ByteCode::Equal || std::ptr::fn_addr_eq(opr, ByteCode::NotEq as fn(u8, u8, bool) -> ByteCode) { [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:1076:12 [INFO] [stdout] | [INFO] [stdout] 1076 | 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] 1076 - if opr == ByteCode::Add || opr == ByteCode::Mul { [INFO] [stdout] 1076 + 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:1076:36 [INFO] [stdout] | [INFO] [stdout] 1076 | 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] 1076 - if opr == ByteCode::Add || opr == ByteCode::Mul { [INFO] [stdout] 1076 + 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: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/parse.rs:1101:12 [INFO] [stdout] | [INFO] [stdout] 1101 | if opr == ByteCode::Equal || opr == ByteCode::NotEq { [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] 1101 - if opr == ByteCode::Equal || opr == ByteCode::NotEq { [INFO] [stdout] 1101 + if std::ptr::fn_addr_eq(opr, ByteCode::Equal as fn(u8, u8, bool) -> ByteCode) || opr == ByteCode::NotEq { [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:1101:38 [INFO] [stdout] | [INFO] [stdout] 1101 | if opr == ByteCode::Equal || opr == ByteCode::NotEq { [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] 1101 - if opr == ByteCode::Equal || opr == ByteCode::NotEq { [INFO] [stdout] 1101 + if opr == ByteCode::Equal || std::ptr::fn_addr_eq(opr, ByteCode::NotEq as fn(u8, u8, bool) -> ByteCode) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "430a73b4624d8c263e6c83dd483735cc1b6f3e37fc01f111edddc578b73fad98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "430a73b4624d8c263e6c83dd483735cc1b6f3e37fc01f111edddc578b73fad98", kill_on_drop: false }` [INFO] [stdout] 430a73b4624d8c263e6c83dd483735cc1b6f3e37fc01f111edddc578b73fad98