[INFO] cloning repository https://github.com/yelhsams/thesis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yelhsams/thesis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyelhsams%2Fthesis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyelhsams%2Fthesis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a031f54674088e6cfc5fa7ee4871b57a3a0e1b7 [INFO] checking yelhsams/thesis against try#d336647335db03a0fc5b24fc5325cd3905c5b8e8 for pr-151146 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyelhsams%2Fthesis" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yelhsams/thesis [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/yelhsams/thesis [INFO] tweaked toml for git repo https://github.com/yelhsams/thesis written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yelhsams/thesis on toolchain d336647335db03a0fc5b24fc5325cd3905c5b8e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yelhsams/thesis 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" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 706e4b5d05e387abefe2496d1174bba0d8bb7f73110eccada6a685ad2f03b51c [INFO] running `Command { std: "docker" "start" "-a" "706e4b5d05e387abefe2496d1174bba0d8bb7f73110eccada6a685ad2f03b51c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "706e4b5d05e387abefe2496d1174bba0d8bb7f73110eccada6a685ad2f03b51c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "706e4b5d05e387abefe2496d1174bba0d8bb7f73110eccada6a685ad2f03b51c", kill_on_drop: false }` [INFO] [stdout] 706e4b5d05e387abefe2496d1174bba0d8bb7f73110eccada6a685ad2f03b51c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e022040fdab51eefe7974516660ee43dc6edf081c2be2e5f54bfe590dd79ce6 [INFO] running `Command { std: "docker" "start" "-a" "7e022040fdab51eefe7974516660ee43dc6edf081c2be2e5f54bfe590dd79ce6", kill_on_drop: false }` [INFO] [stderr] Checking thesis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use context_test_cases::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the name `example_strength_reduction` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 20 | pub use pattern_examples::*; [INFO] [stdout] | ------------------- but the name `example_strength_reduction` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #107880 [INFO] [stdout] = note: `#[deny(ambiguous_glob_reexports)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use context_test_cases::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the name `example_strength_reduction` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 20 | pub use pattern_examples::*; [INFO] [stdout] | ------------------- but the name `example_strength_reduction` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #107880 [INFO] [stdout] = note: `#[deny(ambiguous_glob_reexports)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcode` is assigned to, but never used [INFO] [stdout] --> src/clif_parser.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let mut opcode = self.parse_opcode(&opcode_str)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_opcode` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `opcode` is never read [INFO] [stdout] --> src/clif_parser.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | opcode = self.parse_comparison_condition(&cond_str)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dfg` [INFO] [stdout] --> src/clif_parser.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | dfg: &DataFlowGraph, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `opcode` is assigned to, but never used [INFO] [stdout] --> src/clif_parser.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let mut opcode = self.parse_opcode(&opcode_str)?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_opcode` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `opcode` is never read [INFO] [stdout] --> src/clif_parser.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | opcode = self.parse_comparison_condition(&cond_str)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canonical_map` [INFO] [stdout] --> src/egraph_pass.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 137 | fn rebuild_layout(&mut self, canonical_map: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canonical_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dfg` [INFO] [stdout] --> src/clif_parser.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | dfg: &DataFlowGraph, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dfg` [INFO] [stdout] --> src/clif_parser.rs:608:14 [INFO] [stdout] | [INFO] [stdout] 608 | let (dfg, layout) = result.unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dfg` [INFO] [stdout] --> src/clif_parser.rs:636:14 [INFO] [stdout] | [INFO] [stdout] 636 | let (dfg, layout) = result.unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canonical_map` [INFO] [stdout] --> src/egraph_pass.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 137 | fn rebuild_layout(&mut self, canonical_map: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canonical_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/pattern.rs:669:38 [INFO] [stdout] | [INFO] [stdout] 669 | if let (Some(a), Some(b)) = ( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/pattern.rs:669:47 [INFO] [stdout] | [INFO] [stdout] 669 | if let (Some(a), Some(b)) = ( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `custom_rule` [INFO] [stdout] --> src/pattern_examples.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let custom_rule = Rewrite::new("and-with-minus-one") [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_custom_rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power_of_two_rule` [INFO] [stdout] --> src/pattern_examples.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let power_of_two_rule = Rewrite::new("mul-power-of-two") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_power_of_two_rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/pattern_examples.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | let c = dfg.make_inst_result(add_id, Type::I32); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fold_rule` [INFO] [stdout] --> src/pattern_examples.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | let fold_rule = Rewrite::new("fold-add-constants") [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fold_rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nested_rule` [INFO] [stdout] --> src/pattern_examples.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | let nested_rule = Rewrite::new("nested-simplify") [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nested_rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distributive` [INFO] [stdout] --> src/pattern_examples.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | let distributive = Rewrite::new("distributive") [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distributive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `add_zero_rule` [INFO] [stdout] --> src/pattern_examples.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | let add_zero_rule = Rewrite::new("add-zero-either-side") [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_add_zero_rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `strength_reduce` [INFO] [stdout] --> src/pattern_examples.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | let strength_reduce = Rewrite::new("strength-reduce-large-mul") [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strength_reduce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_id` [INFO] [stdout] --> src/rewrite_integration.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 92 | if let Some((inst_id, ref inst)) = inst_info { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> src/rewrite_integration.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | if let Some((inst_id, ref inst)) = inst_info { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/pattern.rs:669:38 [INFO] [stdout] | [INFO] [stdout] 669 | if let (Some(a), Some(b)) = ( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/pattern.rs:669:47 [INFO] [stdout] | [INFO] [stdout] 669 | if let (Some(a), Some(b)) = ( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `custom_rule` [INFO] [stdout] --> src/pattern_examples.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let custom_rule = Rewrite::new("and-with-minus-one") [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_custom_rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power_of_two_rule` [INFO] [stdout] --> src/pattern_examples.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let power_of_two_rule = Rewrite::new("mul-power-of-two") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_power_of_two_rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/pattern_examples.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | let c = dfg.make_inst_result(add_id, Type::I32); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fold_rule` [INFO] [stdout] --> src/pattern_examples.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | let fold_rule = Rewrite::new("fold-add-constants") [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fold_rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nested_rule` [INFO] [stdout] --> src/pattern_examples.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | let nested_rule = Rewrite::new("nested-simplify") [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nested_rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distributive` [INFO] [stdout] --> src/pattern_examples.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | let distributive = Rewrite::new("distributive") [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distributive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `add_zero_rule` [INFO] [stdout] --> src/pattern_examples.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | let add_zero_rule = Rewrite::new("add-zero-either-side") [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_add_zero_rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `strength_reduce` [INFO] [stdout] --> src/pattern_examples.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | let strength_reduce = Rewrite::new("strength-reduce-large-mul") [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strength_reduce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst_id` [INFO] [stdout] --> src/rewrite_integration.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 92 | if let Some((inst_id, ref inst)) = inst_info { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inst` [INFO] [stdout] --> src/rewrite_integration.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | if let Some((inst_id, ref inst)) = inst_info { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `eclass_size` and `remat_values` are never read [INFO] [stdout] --> src/egraph_pass.rs:488:5 [INFO] [stdout] | [INFO] [stdout] 482 | struct OptimizeCtx<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 488 | eclass_size: &'a mut HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 489 | remat_values: &'a HashSet, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `domtree` is never read [INFO] [stdout] --> src/elaborate.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Elaborator<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 66 | dfg: &'a mut DataFlowGraph, [INFO] [stdout] 67 | domtree: &'a DominatorTree, [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/pattern.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 128 | check: fn(&Bindings) -> bool, [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] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/support.rs:167:18 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn entry(&mut self, key: K) -> ScopedEntry { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | pub fn entry(&mut self, key: K) -> ScopedEntry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `eclass_size` and `remat_values` are never read [INFO] [stdout] --> src/egraph_pass.rs:488:5 [INFO] [stdout] | [INFO] [stdout] 482 | struct OptimizeCtx<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 488 | eclass_size: &'a mut HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 489 | remat_values: &'a HashSet, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `domtree` is never read [INFO] [stdout] --> src/elaborate.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Elaborator<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 66 | dfg: &'a mut DataFlowGraph, [INFO] [stdout] 67 | domtree: &'a DominatorTree, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `thesis` (lib) due to 2 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/pattern.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 128 | check: fn(&Bindings) -> bool, [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] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/support.rs:167:18 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn entry(&mut self, key: K) -> ScopedEntry { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | pub fn entry(&mut self, key: K) -> ScopedEntry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `thesis` (lib test) due to 2 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7e022040fdab51eefe7974516660ee43dc6edf081c2be2e5f54bfe590dd79ce6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e022040fdab51eefe7974516660ee43dc6edf081c2be2e5f54bfe590dd79ce6", kill_on_drop: false }` [INFO] [stdout] 7e022040fdab51eefe7974516660ee43dc6edf081c2be2e5f54bfe590dd79ce6