[INFO] cloning repository https://github.com/lchi021497/sv-parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lchi021497/sv-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flchi021497%2Fsv-parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flchi021497%2Fsv-parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d8ae31181fc6effd80abb588c0a9564573ae558a [INFO] testing lchi021497/sv-parser against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flchi021497%2Fsv-parser" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lchi021497/sv-parser on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lchi021497/sv-parser [INFO] finished tweaking git repo https://github.com/lchi021497/sv-parser [INFO] tweaked toml for git repo https://github.com/lchi021497/sv-parser written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lchi021497/sv-parser 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee8172ad73804eee8d3f5c877e5a7391922d15e3c03e867296eb261ae4c3327d [INFO] running `Command { std: "docker" "start" "-a" "ee8172ad73804eee8d3f5c877e5a7391922d15e3c03e867296eb261ae4c3327d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee8172ad73804eee8d3f5c877e5a7391922d15e3c03e867296eb261ae4c3327d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee8172ad73804eee8d3f5c877e5a7391922d15e3c03e867296eb261ae4c3327d", kill_on_drop: false }` [INFO] [stdout] ee8172ad73804eee8d3f5c877e5a7391922d15e3c03e867296eb261ae4c3327d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b488a2823745919ddb2c70fae5a14ca6a45cf990289afea5f3947cc16f96e9d2 [INFO] running `Command { std: "docker" "start" "-a" "b488a2823745919ddb2c70fae5a14ca6a45cf990289afea5f3947cc16f96e9d2", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling bytecount v0.6.3 [INFO] [stderr] Compiling bytecount v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling str-concat v0.2.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling bitvec v0.19.6 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling nom_locate v1.0.0 [INFO] [stderr] Compiling nom_locate v2.1.0 [INFO] [stderr] Compiling sv-parser-syntaxtree v0.12.0 (https://github.com/dalance/sv-parser.git#a737d682) [INFO] [stderr] Compiling nom_locate v3.0.2 [INFO] [stderr] Compiling nom-greedyerror v0.3.1 [INFO] [stderr] Compiling nom-recursive-macros v0.3.0 [INFO] [stderr] Compiling nom-tracable-macros v0.7.0 [INFO] [stderr] Compiling nom-packrat-macros v0.5.0 [INFO] [stderr] Compiling sv-parser-macros v0.12.0 (https://github.com/dalance/sv-parser.git#a737d682) [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling nom-recursive v0.3.0 [INFO] [stderr] Compiling nom-tracable v0.7.0 [INFO] [stderr] Compiling nom-packrat v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling sv-parser-error v0.12.0 (https://github.com/dalance/sv-parser.git#a737d682) [INFO] [stderr] Compiling sv-parser-parser v0.12.0 (https://github.com/dalance/sv-parser.git#a737d682) [INFO] [stderr] Compiling sv-parser-pp v0.12.0 (https://github.com/dalance/sv-parser.git#a737d682) [INFO] [stderr] Compiling sv-parser v0.12.0 (https://github.com/dalance/sv-parser.git#a737d682) [INFO] [stderr] Compiling my-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::Ref` [INFO] [stdout] --> src/main.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, cell::Ref}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CaseItemNondefault` and `CaseStatement` [INFO] [stdout] --> src/main.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use RefNode::{CaseStatement, CaseItemNondefault}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 45s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, nom v6.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b488a2823745919ddb2c70fae5a14ca6a45cf990289afea5f3947cc16f96e9d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b488a2823745919ddb2c70fae5a14ca6a45cf990289afea5f3947cc16f96e9d2", kill_on_drop: false }` [INFO] [stdout] b488a2823745919ddb2c70fae5a14ca6a45cf990289afea5f3947cc16f96e9d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6999f44c42df5220f902e95c9087f9f25e4c679890232e784c16718c9cd6e35b [INFO] running `Command { std: "docker" "start" "-a" "6999f44c42df5220f902e95c9087f9f25e4c679890232e784c16718c9cd6e35b", kill_on_drop: false }` [INFO] [stderr] Compiling my-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::Ref` [INFO] [stdout] --> src/main.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, cell::Ref}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CaseItemNondefault` and `CaseStatement` [INFO] [stdout] --> src/main.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use RefNode::{CaseStatement, CaseItemNondefault}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, nom v6.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6999f44c42df5220f902e95c9087f9f25e4c679890232e784c16718c9cd6e35b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6999f44c42df5220f902e95c9087f9f25e4c679890232e784c16718c9cd6e35b", kill_on_drop: false }` [INFO] [stdout] 6999f44c42df5220f902e95c9087f9f25e4c679890232e784c16718c9cd6e35b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a7b3bec29ced5de3935d05a61cd04ea04e03696e91b457a18ba85dd1fb383478 [INFO] running `Command { std: "docker" "start" "-a" "a7b3bec29ced5de3935d05a61cd04ea04e03696e91b457a18ba85dd1fb383478", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::ops::Deref` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Deref; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `cell::Ref` [INFO] [stderr] --> src/main.rs:2:33 [INFO] [stderr] | [INFO] [stderr] 2 | use std::{collections::HashMap, cell::Ref}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CaseItemNondefault` and `CaseStatement` [INFO] [stderr] --> src/main.rs:6:15 [INFO] [stderr] | [INFO] [stderr] 6 | use RefNode::{CaseStatement, CaseItemNondefault}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `my-parser` (bin "my-parser" test) generated 3 warnings (run `cargo fix --bin "my-parser" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, nom v6.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/my_parser-c17ac8d43b98041c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a7b3bec29ced5de3935d05a61cd04ea04e03696e91b457a18ba85dd1fb383478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7b3bec29ced5de3935d05a61cd04ea04e03696e91b457a18ba85dd1fb383478", kill_on_drop: false }` [INFO] [stdout] a7b3bec29ced5de3935d05a61cd04ea04e03696e91b457a18ba85dd1fb383478