[INFO] fetching crate ruly 4.1.1... [INFO] checking ruly-4.1.1 against try#f6d7c613ae2d161ff37dbc63cc5abd809c878597 for pr-83850 [INFO] extracting crate ruly 4.1.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate ruly 4.1.1 on toolchain f6d7c613ae2d161ff37dbc63cc5abd809c878597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ruly 4.1.1 [INFO] finished tweaking crates.io crate ruly 4.1.1 [INFO] tweaked toml for crates.io crate ruly 4.1.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecee4a374ea418b97bf07a789e2121d6ee7316eab9c56e105e58833ac1f7e380 [INFO] running `Command { std: "docker" "start" "-a" "ecee4a374ea418b97bf07a789e2121d6ee7316eab9c56e105e58833ac1f7e380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecee4a374ea418b97bf07a789e2121d6ee7316eab9c56e105e58833ac1f7e380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecee4a374ea418b97bf07a789e2121d6ee7316eab9c56e105e58833ac1f7e380", kill_on_drop: false }` [INFO] [stdout] ecee4a374ea418b97bf07a789e2121d6ee7316eab9c56e105e58833ac1f7e380 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a996ce9066967ce4395af5968dc260bb14f7af31efe8ab4af169817b79f4931b [INFO] running `Command { std: "docker" "start" "-a" "a996ce9066967ce4395af5968dc260bb14f7af31efe8ab4af169817b79f4931b", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling pmacro_ruly v2.2.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking ruly v4.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:117:43 [INFO] [stdout] | [INFO] [stdout] 117 | if ReservedWords.contains(&{ &s.to_string() }) { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^ expected `str`, found struct `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 305 | / add_rule!( [INFO] [stdout] 306 | | Nat => Zero ({("Z")}) [INFO] [stdout] 307 | | | Succ ({("S")},{(r"\(")},Nat,{(r"\)")}) [INFO] [stdout] 308 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&&str` [INFO] [stdout] found reference `&&String` [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in the macro `__set_fun_sub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:117:43 [INFO] [stdout] | [INFO] [stdout] 117 | if ReservedWords.contains(&{ &s.to_string() }) { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^ expected `str`, found struct `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 305 | / add_rule!( [INFO] [stdout] 306 | | Nat => Zero ({("Z")}) [INFO] [stdout] 307 | | | Succ ({("S")},{(r"\(")},Nat,{(r"\)")}) [INFO] [stdout] 308 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&&str` [INFO] [stdout] found reference `&&String` [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in the macro `__set_fun_sub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:117:43 [INFO] [stdout] | [INFO] [stdout] 117 | if ReservedWords.contains(&{ &s.to_string() }) { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^ expected `str`, found struct `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 305 | / add_rule!( [INFO] [stdout] 306 | | Nat => Zero ({("Z")}) [INFO] [stdout] 307 | | | Succ ({("S")},{(r"\(")},Nat,{(r"\)")}) [INFO] [stdout] 308 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&&str` [INFO] [stdout] found reference `&&String` [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in the macro `__set_fun_sub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:117:43 [INFO] [stdout] | [INFO] [stdout] 117 | if ReservedWords.contains(&{ &s.to_string() }) { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^ expected `str`, found struct `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 305 | / add_rule!( [INFO] [stdout] 306 | | Nat => Zero ({("Z")}) [INFO] [stdout] 307 | | | Succ ({("S")},{(r"\(")},Nat,{(r"\)")}) [INFO] [stdout] 308 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&&str` [INFO] [stdout] found reference `&&String` [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in the macro `__set_fun_sub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:117:43 [INFO] [stdout] | [INFO] [stdout] 117 | if ReservedWords.contains(&{ &s.to_string() }) { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^ expected `str`, found struct `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 310 | / add_rule!( [INFO] [stdout] 311 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 312 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 313 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&&str` [INFO] [stdout] found reference `&&String` [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in the macro `__set_fun_sub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:117:43 [INFO] [stdout] | [INFO] [stdout] 117 | if ReservedWords.contains(&{ &s.to_string() }) { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^ expected `str`, found struct `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 310 | / add_rule!( [INFO] [stdout] 311 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 312 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 313 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&&str` [INFO] [stdout] found reference `&&String` [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in the macro `__set_fun_sub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:117:43 [INFO] [stdout] | [INFO] [stdout] 117 | if ReservedWords.contains(&{ &s.to_string() }) { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^ expected `str`, found struct `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 310 | / add_rule!( [INFO] [stdout] 311 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 312 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 313 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&&str` [INFO] [stdout] found reference `&&String` [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in the macro `__set_fun_sub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:117:43 [INFO] [stdout] | [INFO] [stdout] 117 | if ReservedWords.contains(&{ &s.to_string() }) { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^ expected `str`, found struct `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 310 | / add_rule!( [INFO] [stdout] 311 | | Judgement => Plus (Nat, {("plus")}, Nat, {("is")}, Nat) [INFO] [stdout] 312 | | | Times (Nat, {("times")}, Nat, {("is")}, Nat) [INFO] [stdout] 313 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&&str` [INFO] [stdout] found reference `&&String` [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in the macro `__set_fun_sub` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ruly` due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "a996ce9066967ce4395af5968dc260bb14f7af31efe8ab4af169817b79f4931b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a996ce9066967ce4395af5968dc260bb14f7af31efe8ab4af169817b79f4931b", kill_on_drop: false }` [INFO] [stdout] a996ce9066967ce4395af5968dc260bb14f7af31efe8ab4af169817b79f4931b