[INFO] fetching crate ruly 2.0.0... [INFO] checking ruly-2.0.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate ruly 2.0.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate ruly 2.0.0 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 crates.io crate ruly 2.0.0 [INFO] finished tweaking crates.io crate ruly 2.0.0 [INFO] tweaked toml for crates.io crate ruly 2.0.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pmacro_ruly v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 8bfba084d88d155e117e87b277cead308e9de7e949c4ff1c2f79a535ca1a35db [INFO] running `Command { std: "docker" "start" "-a" "8bfba084d88d155e117e87b277cead308e9de7e949c4ff1c2f79a535ca1a35db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8bfba084d88d155e117e87b277cead308e9de7e949c4ff1c2f79a535ca1a35db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bfba084d88d155e117e87b277cead308e9de7e949c4ff1c2f79a535ca1a35db", kill_on_drop: false }` [INFO] [stdout] 8bfba084d88d155e117e87b277cead308e9de7e949c4ff1c2f79a535ca1a35db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 05714841a646a11d648f6abfcc7c104c17aa6eff2b003a60fa5244dbeefb65ee [INFO] running `Command { std: "docker" "start" "-a" "05714841a646a11d648f6abfcc7c104c17aa6eff2b003a60fa5244dbeefb65ee", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling pmacro_ruly v0.2.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking ruly v2.0.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] warning: constant `ReservedWords` should have an upper case name [INFO] [stdout] --> src/lib.rs:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | const ReservedWords: [&str; 0 $( + { $e ; 1 } )* ] = [ $( $e ),* ]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `RESERVED_WORDS` [INFO] [stdout] ... [INFO] [stdout] 266 | reserved_words!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] = note: this warning originates in the macro `reserved_words` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / add_rule!( [INFO] [stdout] 271 | | Nat => Zero ({("Z")}) [INFO] [stdout] 272 | | | Succ ({("S")},{(r"\(")},Nat,{(r"\)")}) [INFO] [stdout] 273 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / add_rule!( [INFO] [stdout] 271 | | Nat => Zero ({("Z")}) [INFO] [stdout] 272 | | | Succ ({("S")},{(r"\(")},Nat,{(r"\)")}) [INFO] [stdout] 273 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / add_rule!( [INFO] [stdout] 271 | | Nat => Zero ({("Z")}) [INFO] [stdout] 272 | | | Succ ({("S")},{(r"\(")},Nat,{(r"\)")}) [INFO] [stdout] 273 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / add_rule!( [INFO] [stdout] 271 | | Nat => Zero ({("Z")}) [INFO] [stdout] 272 | | | Succ ({("S")},{(r"\(")},Nat,{(r"\)")}) [INFO] [stdout] 273 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / add_rule!( [INFO] [stdout] 271 | | Nat => Zero ({("Z")}) [INFO] [stdout] 272 | | | Succ ({("S")},{(r"\(")},Nat,{(r"\)")}) [INFO] [stdout] 273 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / add_rule!( [INFO] [stdout] 271 | | Nat => Zero ({("Z")}) [INFO] [stdout] 272 | | | Succ ({("S")},{(r"\(")},Nat,{(r"\)")}) [INFO] [stdout] 273 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / add_rule!( [INFO] [stdout] 271 | | Nat => Zero ({("Z")}) [INFO] [stdout] 272 | | | Succ ({("S")},{(r"\(")},Nat,{(r"\)")}) [INFO] [stdout] 273 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / add_rule!( [INFO] [stdout] 271 | | Nat => Zero ({("Z")}) [INFO] [stdout] 272 | | | Succ ({("S")},{(r"\(")},Nat,{(r"\)")}) [INFO] [stdout] 273 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / add_rule!( [INFO] [stdout] 276 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 277 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 278 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / add_rule!( [INFO] [stdout] 276 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 277 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 278 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / add_rule!( [INFO] [stdout] 276 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 277 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 278 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / add_rule!( [INFO] [stdout] 276 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 277 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 278 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / add_rule!( [INFO] [stdout] 276 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 277 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 278 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / add_rule!( [INFO] [stdout] 276 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 277 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 278 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / add_rule!( [INFO] [stdout] 276 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 277 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 278 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / add_rule!( [INFO] [stdout] 276 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 277 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 278 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / add_rule!( [INFO] [stdout] 276 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 277 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 278 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / add_rule!( [INFO] [stdout] 276 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 277 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 278 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / add_rule!( [INFO] [stdout] 276 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 277 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 278 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / add_rule!( [INFO] [stdout] 276 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 277 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 278 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / add_rule!( [INFO] [stdout] 276 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 277 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 278 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / add_rule!( [INFO] [stdout] 276 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 277 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 278 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / add_rule!( [INFO] [stdout] 276 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 277 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 278 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / add_rule!( [INFO] [stdout] 276 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 277 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 278 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / add_rule!( [INFO] [stdout] 276 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 277 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 278 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | / add_rule!( [INFO] [stdout] 276 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 277 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 278 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stdout] warning: constant is never used: `ReservedWords` [INFO] [stdout] --> src/lib.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | const ReservedWords: [&str; 0 $( + { $e ; 1 } )* ] = [ $( $e ),* ]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | reserved_words!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `reserved_words` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ReservedWords` should have an upper case name [INFO] [stdout] --> src/lib.rs:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | const ReservedWords: [&str; 0 $( + { $e ; 1 } )* ] = [ $( $e ),* ]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `RESERVED_WORDS` [INFO] [stdout] ... [INFO] [stdout] 266 | reserved_words!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] = note: this warning originates in the macro `reserved_words` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.53s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking ruly v2.0.0 (/tmp/fixit) [INFO] [stdout] error: cannot find macro `create_enum` in this scope [INFO] [stdout] --> src/lib.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | create_enum!($v [ $([$i $sorts]),* ] ); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | / add_rule!( [INFO] [stdout] 271 | | Nat => Zero ({("Z")}) [INFO] [stdout] 272 | | | Succ ({("S")},{(r"\(")},Nat,{(r"\)")}) [INFO] [stdout] 273 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] pmacro_ruly::create_enum [INFO] [stdout] = note: this error originates in the macro `add_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `create_match` in this scope [INFO] [stdout] --> src/lib.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | create_match!($v [ $([$i $sorts]),* ] ); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | / add_rule!( [INFO] [stdout] 271 | | Nat => Zero ({("Z")}) [INFO] [stdout] 272 | | | Succ ({("S")},{(r"\(")},Nat,{(r"\)")}) [INFO] [stdout] 273 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] pmacro_ruly::create_match [INFO] [stdout] = note: this error originates in the macro `add_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `create_enum` in this scope [INFO] [stdout] --> src/lib.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | create_enum!($v [ $([$i $sorts]),* ] ); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | / add_rule!( [INFO] [stdout] 276 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 277 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 278 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] pmacro_ruly::create_enum [INFO] [stdout] = note: this error originates in the macro `add_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `create_match` in this scope [INFO] [stdout] --> src/lib.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | create_match!($v [ $([$i $sorts]),* ] ); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | / add_rule!( [INFO] [stdout] 276 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 277 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 278 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] pmacro_ruly::create_match [INFO] [stdout] = note: this error originates in the macro `add_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Nat` [INFO] [stdout] --> src/lib.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | Nat => Zero ({("Z")}) [INFO] [stdout] | ^^^ use of undeclared type `Nat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Judgement` [INFO] [stdout] --> src/lib.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Judgement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Nat` in this scope [INFO] [stdout] --> src/lib.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | Nat => Zero ({("Z")}) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Nat` in this scope [INFO] [stdout] --> src/lib.rs:272:41 [INFO] [stdout] | [INFO] [stdout] 272 | | Succ ({("S")},{(r"\(")},Nat,{(r"\)")}) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Judgement` in this scope [INFO] [stdout] --> src/lib.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Nat` in this scope [INFO] [stdout] --> src/lib.rs:276:28 [INFO] [stdout] | [INFO] [stdout] 276 | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Nat` in this scope [INFO] [stdout] --> src/lib.rs:276:45 [INFO] [stdout] | [INFO] [stdout] 276 | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Nat` in this scope [INFO] [stdout] --> src/lib.rs:276:60 [INFO] [stdout] | [INFO] [stdout] 276 | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Nat` in this scope [INFO] [stdout] --> src/lib.rs:277:24 [INFO] [stdout] | [INFO] [stdout] 277 | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Nat` in this scope [INFO] [stdout] --> src/lib.rs:277:42 [INFO] [stdout] | [INFO] [stdout] 277 | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Nat` in this scope [INFO] [stdout] --> src/lib.rs:277:57 [INFO] [stdout] | [INFO] [stdout] 277 | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Judgement` in this scope [INFO] [stdout] --> src/lib.rs:287:22 [INFO] [stdout] | [INFO] [stdout] 269 | fn test() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 287 | match ruly.run::() { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ReservedWords` [INFO] [stdout] --> src/lib.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | const ReservedWords: [&str; 0 $( + { $e ; 1 } )* ] = [ $( $e ),* ]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | reserved_words!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `reserved_words` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ReservedWords` should have an upper case name [INFO] [stdout] --> src/lib.rs:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | const ReservedWords: [&str; 0 $( + { $e ; 1 } )* ] = [ $( $e ),* ]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `RESERVED_WORDS` [INFO] [stdout] ... [INFO] [stdout] 266 | reserved_words!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] = note: this warning originates in the macro `reserved_words` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ruly` due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "05714841a646a11d648f6abfcc7c104c17aa6eff2b003a60fa5244dbeefb65ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05714841a646a11d648f6abfcc7c104c17aa6eff2b003a60fa5244dbeefb65ee", kill_on_drop: false }` [INFO] [stdout] 05714841a646a11d648f6abfcc7c104c17aa6eff2b003a60fa5244dbeefb65ee