[INFO] cloning repository https://github.com/lyh552506/Egg_Test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lyh552506/Egg_Test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flyh552506%2FEgg_Test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flyh552506%2FEgg_Test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85ce79a93af6ce074947f7d489808911e3e8df39 [INFO] building lyh552506/Egg_Test against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flyh552506%2FEgg_Test" "/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/lyh552506/Egg_Test [INFO] finished tweaking git repo https://github.com/lyh552506/Egg_Test [INFO] tweaked toml for git repo https://github.com/lyh552506/Egg_Test written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lyh552506/Egg_Test on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lyh552506/Egg_Test 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 854bc06f36a44df5b9a0ea2c531184dc6df8feb5ab030f81d60c9ef9414f1c64 [INFO] running `Command { std: "docker" "start" "-a" "854bc06f36a44df5b9a0ea2c531184dc6df8feb5ab030f81d60c9ef9414f1c64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "854bc06f36a44df5b9a0ea2c531184dc6df8feb5ab030f81d60c9ef9414f1c64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "854bc06f36a44df5b9a0ea2c531184dc6df8feb5ab030f81d60c9ef9414f1c64", kill_on_drop: false }` [INFO] [stdout] 854bc06f36a44df5b9a0ea2c531184dc6df8feb5ab030f81d60c9ef9414f1c64 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c06ec1ba31ac338dd1b2d8f17b232c9dc32a61a5ea699708cc7610db64daa20f [INFO] running `Command { std: "docker" "start" "-a" "c06ec1ba31ac338dd1b2d8f17b232c9dc32a61a5ea699708cc7610db64daa20f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling symbolic_expressions v5.0.3 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling assert_approx_eq v1.1.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling lexpr-macros v0.2.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling lexpr v0.2.7 [INFO] [stderr] Compiling symbol_table v0.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling egg v0.9.5 [INFO] [stderr] Compiling Egg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> test/my_language.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lexpr::*` [INFO] [stdout] --> test/my_language.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use lexpr::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> test/egg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eclass` [INFO] [stdout] --> test/costum_applier.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | eclass: Id, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_eclass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `searcher_ast` [INFO] [stdout] --> test/costum_applier.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | searcher_ast: Option<&PatternAst>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_searcher_ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> test/costum_searcher.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | limit: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_vecadd` [INFO] [stdout] --> test/my_language.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let to_vecadd = "(Concat(Vec (+ (Get a 0) (Get b 0)) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_vecadd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_vecadd` [INFO] [stdout] --> test/my_language.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let to_vecadd = "(Vec (+ a b) (+ c d))"; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_vecadd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_vecmac` [INFO] [stdout] --> test/my_language.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let to_vecmac = "(VecAdd a (VecMul b c))"; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_vecmac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iteration` [INFO] [stdout] --> test/my_language.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | for (i, iteration) in runner.iterations.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> test/my_language.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let mut runner = Runner::default() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> test/my_language.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let mut cost_fn = cost::MathCostFunc { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `egraph` is never read [INFO] [stdout] --> test/cost.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MathCostFunc<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 5 | pub egraph: &'a EGraph, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.35s [INFO] running `Command { std: "docker" "inspect" "c06ec1ba31ac338dd1b2d8f17b232c9dc32a61a5ea699708cc7610db64daa20f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c06ec1ba31ac338dd1b2d8f17b232c9dc32a61a5ea699708cc7610db64daa20f", kill_on_drop: false }` [INFO] [stdout] c06ec1ba31ac338dd1b2d8f17b232c9dc32a61a5ea699708cc7610db64daa20f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c1ef3e9fcfe74c4e049db6526426fc4ccf7787124dbb1f616c0803c5511e5cf [INFO] running `Command { std: "docker" "start" "-a" "3c1ef3e9fcfe74c4e049db6526426fc4ccf7787124dbb1f616c0803c5511e5cf", kill_on_drop: false }` [INFO] [stderr] Compiling Egg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> test/my_language.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lexpr::*` [INFO] [stdout] --> test/my_language.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use lexpr::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> test/egg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eclass` [INFO] [stdout] --> test/costum_applier.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | eclass: Id, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_eclass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `searcher_ast` [INFO] [stdout] --> test/costum_applier.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | searcher_ast: Option<&PatternAst>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_searcher_ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> test/costum_searcher.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | limit: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_vecadd` [INFO] [stdout] --> test/my_language.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let to_vecadd = "(Concat(Vec (+ (Get a 0) (Get b 0)) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_vecadd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_vecadd` [INFO] [stdout] --> test/my_language.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let to_vecadd = "(Vec (+ a b) (+ c d))"; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_vecadd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_vecmac` [INFO] [stdout] --> test/my_language.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let to_vecmac = "(VecAdd a (VecMul b c))"; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_vecmac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iteration` [INFO] [stdout] --> test/my_language.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | for (i, iteration) in runner.iterations.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iteration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> test/my_language.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let mut runner = Runner::default() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> test/my_language.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let mut cost_fn = cost::MathCostFunc { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `egraph` is never read [INFO] [stdout] --> test/cost.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MathCostFunc<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 5 | pub egraph: &'a EGraph, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "3c1ef3e9fcfe74c4e049db6526426fc4ccf7787124dbb1f616c0803c5511e5cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c1ef3e9fcfe74c4e049db6526426fc4ccf7787124dbb1f616c0803c5511e5cf", kill_on_drop: false }` [INFO] [stdout] 3c1ef3e9fcfe74c4e049db6526426fc4ccf7787124dbb1f616c0803c5511e5cf