[INFO] cloning repository https://github.com/willmurphyscode/calc-repl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/willmurphyscode/calc-repl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillmurphyscode%2Fcalc-repl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillmurphyscode%2Fcalc-repl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd010b5eaf2f5075d35ae6ec98894aea11c11a7c [INFO] checking willmurphyscode/calc-repl against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillmurphyscode%2Fcalc-repl" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/willmurphyscode/calc-repl on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/willmurphyscode/calc-repl [INFO] finished tweaking git repo https://github.com/willmurphyscode/calc-repl [INFO] tweaked toml for git repo https://github.com/willmurphyscode/calc-repl written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/willmurphyscode/calc-repl already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3cb59b885f4c693683a0e2bf1fdb2c99a2b6c9da895efbca26b0931c4c06cb1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e3cb59b885f4c693683a0e2bf1fdb2c99a2b6c9da895efbca26b0931c4c06cb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3cb59b885f4c693683a0e2bf1fdb2c99a2b6c9da895efbca26b0931c4c06cb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3cb59b885f4c693683a0e2bf1fdb2c99a2b6c9da895efbca26b0931c4c06cb1", kill_on_drop: false }` [INFO] [stdout] e3cb59b885f4c693683a0e2bf1fdb2c99a2b6c9da895efbca26b0931c4c06cb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 558c554a83dda02c37b6d9f44a442209115b54f5dd552c4332438859b95e867b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "558c554a83dda02c37b6d9f44a442209115b54f5dd552c4332438859b95e867b", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.34 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking termion v1.5.1 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking calc-repl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/main.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, &$msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | / test_case!(b"(and (> 5 4) (< 0 4))", [INFO] [stdout] 36 | | Type::Bool(true), [INFO] [stdout] 37 | | "failed to eval and with comparisons"); [INFO] [stdout] | |__________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(non_fmt_panic)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this error originates in the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, "{}", &$msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/main.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, &$msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | / test_case!(b"(or (> 5 4 (- 2 1)) (< 7 4))", [INFO] [stdout] 43 | | Type::Bool(true), [INFO] [stdout] 44 | | "failed to eval with bool and comparison"); [INFO] [stdout] | |______________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this error originates in the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, "{}", &$msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/main.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, &$msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | test_case!(b"(- 1 2 2 2)", Type::Integer(-5), "failed to subtract correctly"); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this error originates in the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, "{}", &$msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/main.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, &$msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | / test_case!(b"(if (< 2 3) 4 5)", [INFO] [stdout] 55 | | Type::Integer(4), [INFO] [stdout] 56 | | "failed to handle if-else on true branch"); [INFO] [stdout] | |_____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this error originates in the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, "{}", &$msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/main.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, &$msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | / test_case!(b"(if (> 2 3) 4 5)", [INFO] [stdout] 62 | | Type::Integer(5), [INFO] [stdout] 63 | | "failed to handle if-else on true branch"); [INFO] [stdout] | |_____________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this error originates in the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, "{}", &$msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/main.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, &$msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | / test_case!(b"(and (< 4 (if (> 2 3) 4 5)) (> (+ 1 2) (- 1 2)))", [INFO] [stdout] 69 | | Type::Bool(true), [INFO] [stdout] 70 | | "failed to handle a nested if and expression"); [INFO] [stdout] | |_________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this error originates in the macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 29 | assert!(result == $expected, "{}", &$msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `calc-repl` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "558c554a83dda02c37b6d9f44a442209115b54f5dd552c4332438859b95e867b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "558c554a83dda02c37b6d9f44a442209115b54f5dd552c4332438859b95e867b", kill_on_drop: false }` [INFO] [stdout] 558c554a83dda02c37b6d9f44a442209115b54f5dd552c4332438859b95e867b