[INFO] cloning repository https://github.com/hasanhaja/expression-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hasanhaja/expression-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhasanhaja%2Fexpression-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhasanhaja%2Fexpression-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 263a2af51df33cb5ed9c3d03eb5f0a438c3be0ed [INFO] checking hasanhaja/expression-rs against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhasanhaja%2Fexpression-rs" "/workspace/builds/worker-100/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-100/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hasanhaja/expression-rs on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hasanhaja/expression-rs [INFO] finished tweaking git repo https://github.com/hasanhaja/expression-rs [INFO] tweaked toml for git repo https://github.com/hasanhaja/expression-rs written to /workspace/builds/worker-100/source/Cargo.toml [INFO] crate git repo https://github.com/hasanhaja/expression-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17fbef26151953dd5b8fed3c90fcb06a3d61468541406d564046ee81ae65b223 [INFO] running `Command { std: "docker" "start" "-a" "17fbef26151953dd5b8fed3c90fcb06a3d61468541406d564046ee81ae65b223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17fbef26151953dd5b8fed3c90fcb06a3d61468541406d564046ee81ae65b223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17fbef26151953dd5b8fed3c90fcb06a3d61468541406d564046ee81ae65b223", kill_on_drop: false }` [INFO] [stdout] 17fbef26151953dd5b8fed3c90fcb06a3d61468541406d564046ee81ae65b223 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee9142b8baec97b06bcee1c4afb27157e6a497a845c895cb31ba6480b942e24d [INFO] running `Command { std: "docker" "start" "-a" "ee9142b8baec97b06bcee1c4afb27157e6a497a845c895cb31ba6480b942e24d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking expression-rs v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (11 fixes) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 442 | / /// The tree is built to represent this: 1 + (2 * 3) + 4 [INFO] [stdout] 443 | | /// However, an alternative structure would be 1 + 4 + (2 * 3) [INFO] [stdout] 444 | | /// and the tree does not handle that [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] 445 | / let l_left = Expr { [INFO] [stdout] 446 | | value: Token::Value(1f64), [INFO] [stdout] 447 | | left: None, [INFO] [stdout] 448 | | right: None, [INFO] [stdout] 449 | | }; [INFO] [stdout] | |__________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_parens` [INFO] [stdout] --> src/main.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn insert_parens(tokens: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_polish` [INFO] [stdout] --> src/main.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn into_polish(char_tokens: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_operator` [INFO] [stdout] --> src/main.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn is_operator(token: &char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `polish_to_expr` [INFO] [stdout] --> src/main.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn polish_to_expr(polish_tokens: Vec) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_expr` [INFO] [stdout] --> src/main.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | fn build_expr(&self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eval_expr` [INFO] [stdout] --> src/main.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | fn eval_expr(expr: Expr) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eval` [INFO] [stdout] --> src/main.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | fn eval(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_parens` [INFO] [stdout] --> src/main.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn insert_parens(tokens: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_polish` [INFO] [stdout] --> src/main.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn into_polish(char_tokens: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_operator` [INFO] [stdout] --> src/main.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn is_operator(token: &char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `polish_to_expr` [INFO] [stdout] --> src/main.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn polish_to_expr(polish_tokens: Vec) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_expr` [INFO] [stdout] --> src/main.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | fn build_expr(&self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eval` [INFO] [stdout] --> src/main.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | fn eval(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.52s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking expression-rs v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 442 | / /// The tree is built to represent this: 1 + (2 * 3) + 4 [INFO] [stdout] 443 | | /// However, an alternative structure would be 1 + 4 + (2 * 3) [INFO] [stdout] 444 | | /// and the tree does not handle that [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] 445 | / let l_left = Expr { [INFO] [stdout] 446 | | value: Token::Value(1f64), [INFO] [stdout] 447 | | left: None, [INFO] [stdout] 448 | | right: None, [INFO] [stdout] 449 | | }; [INFO] [stdout] | |__________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_parens` [INFO] [stdout] --> src/main.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn insert_parens(tokens: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_polish` [INFO] [stdout] --> src/main.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn into_polish(char_tokens: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_operator` [INFO] [stdout] --> src/main.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn is_operator(token: &char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `polish_to_expr` [INFO] [stdout] --> src/main.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn polish_to_expr(polish_tokens: Vec) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_expr` [INFO] [stdout] --> src/main.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | fn build_expr(&self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eval_expr` [INFO] [stdout] --> src/main.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | fn eval_expr(expr: Expr) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eval` [INFO] [stdout] --> src/main.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | fn eval(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_parens` [INFO] [stdout] --> src/main.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn insert_parens(tokens: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_polish` [INFO] [stdout] --> src/main.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn into_polish(char_tokens: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_operator` [INFO] [stdout] --> src/main.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn is_operator(token: &char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `polish_to_expr` [INFO] [stdout] --> src/main.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn polish_to_expr(polish_tokens: Vec) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_expr` [INFO] [stdout] --> src/main.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | fn build_expr(&self) -> Expr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eval` [INFO] [stdout] --> src/main.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | fn eval(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.61s [INFO] running `Command { std: "docker" "inspect" "ee9142b8baec97b06bcee1c4afb27157e6a497a845c895cb31ba6480b942e24d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee9142b8baec97b06bcee1c4afb27157e6a497a845c895cb31ba6480b942e24d", kill_on_drop: false }` [INFO] [stdout] ee9142b8baec97b06bcee1c4afb27157e6a497a845c895cb31ba6480b942e24d