[INFO] fetching crate oris 0.2.1... [INFO] checking oris-0.2.1 against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] extracting crate oris 0.2.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate oris 0.2.1 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 crates.io crate oris 0.2.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate oris 0.2.1 [INFO] tweaked toml for crates.io crate oris 0.2.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate oris 0.2.1 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] 8903c402046e4c72a2f5eb2875a8367cc39158f512de7be214b6eb1f0ae2d7b7 [INFO] running `Command { std: "docker" "start" "-a" "8903c402046e4c72a2f5eb2875a8367cc39158f512de7be214b6eb1f0ae2d7b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8903c402046e4c72a2f5eb2875a8367cc39158f512de7be214b6eb1f0ae2d7b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8903c402046e4c72a2f5eb2875a8367cc39158f512de7be214b6eb1f0ae2d7b7", kill_on_drop: false }` [INFO] [stdout] 8903c402046e4c72a2f5eb2875a8367cc39158f512de7be214b6eb1f0ae2d7b7 [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] 5e70d904b67bc24f7209f9634747fb813879fd8c09a0e1af4e76be383bc546ea [INFO] running `Command { std: "docker" "start" "-a" "5e70d904b67bc24f7209f9634747fb813879fd8c09a0e1af4e76be383bc546ea", kill_on_drop: false }` [INFO] [stderr] Checking oris v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `args` is never read [INFO] [stdout] --> src/eval/error.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 28 | Call { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] ... [INFO] [stdout] 31 | args: Box<[Value]>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pos` is never read [INFO] [stdout] --> src/parse/ast.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct Let { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Let` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pos` is never read [INFO] [stdout] --> src/parse/ast.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) struct Return { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Return` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pos` is never read [INFO] [stdout] --> src/parse/ast.rs:228:16 [INFO] [stdout] | [INFO] [stdout] 223 | pub(crate) struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 228 | pub(crate) pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> src/parse/ast.rs:313:19 [INFO] [stdout] | [INFO] [stdout] 305 | impl Str { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 313 | pub(crate) fn value(&self) -> &str { [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/eval/value.rs:71:60 [INFO] [stdout] | [INFO] [stdout] 71 | (Self::Builtin(left), Self::Builtin(right)) => left == right, [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] 71 | (Self::Builtin(left), Self::Builtin(right)) => std::ptr::fn_addr_eq(*left, *right), [INFO] [stdout] | ++++++++++++++++++++++ ~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `args` is never read [INFO] [stdout] --> src/eval/error.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 28 | Call { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] ... [INFO] [stdout] 31 | args: Box<[Value]>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pos` is never read [INFO] [stdout] --> src/parse/ast.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct Let { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Let` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pos` is never read [INFO] [stdout] --> src/parse/ast.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) struct Return { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Return` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pos` is never read [INFO] [stdout] --> src/parse/ast.rs:228:16 [INFO] [stdout] | [INFO] [stdout] 223 | pub(crate) struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 228 | pub(crate) pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&[u8]` to `&[u8]` [INFO] [stdout] --> src/eval/value/closure.rs:169:40 [INFO] [stdout] | [INFO] [stdout] 169 | let lexer = crate::lex::Lexer::new(input.as_bytes().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&[u8]` to `&[u8]` [INFO] [stdout] --> src/parse/tests.rs:61:40 [INFO] [stdout] | [INFO] [stdout] 61 | let lexer = crate::lex::Lexer::new(input.as_bytes().into()); [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/eval/value.rs:71:60 [INFO] [stdout] | [INFO] [stdout] 71 | (Self::Builtin(left), Self::Builtin(right)) => left == right, [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] 71 | (Self::Builtin(left), Self::Builtin(right)) => std::ptr::fn_addr_eq(*left, *right), [INFO] [stdout] | ++++++++++++++++++++++ ~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oris` (lib test) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5e70d904b67bc24f7209f9634747fb813879fd8c09a0e1af4e76be383bc546ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e70d904b67bc24f7209f9634747fb813879fd8c09a0e1af4e76be383bc546ea", kill_on_drop: false }` [INFO] [stdout] 5e70d904b67bc24f7209f9634747fb813879fd8c09a0e1af4e76be383bc546ea