[INFO] cloning repository https://github.com/liufuyang/plr-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/liufuyang/plr-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliufuyang%2Fplr-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliufuyang%2Fplr-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0f726d5dcc5c32833fc753f7a9a886b089673d3 [INFO] checking liufuyang/plr-test against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliufuyang%2Fplr-test" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/liufuyang/plr-test on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/liufuyang/plr-test [INFO] finished tweaking git repo https://github.com/liufuyang/plr-test [INFO] tweaked toml for git repo https://github.com/liufuyang/plr-test written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/liufuyang/plr-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/liufuyang/plr` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded az v1.0.0 [INFO] [stderr] Downloaded rug v1.11.0 [INFO] [stderr] Downloaded gmp-mpfr-sys v1.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 017485c74d6120225514497696e12fcc66827810db80fd82a146576cd9a4f39e [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" "017485c74d6120225514497696e12fcc66827810db80fd82a146576cd9a4f39e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "017485c74d6120225514497696e12fcc66827810db80fd82a146576cd9a4f39e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "017485c74d6120225514497696e12fcc66827810db80fd82a146576cd9a4f39e", kill_on_drop: false }` [INFO] [stdout] 017485c74d6120225514497696e12fcc66827810db80fd82a146576cd9a4f39e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c740a5e739a896bb01245d647554eb29119de3e78b052bdf7003001f88be36c [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" "2c740a5e739a896bb01245d647554eb29119de3e78b052bdf7003001f88be36c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling serde_derive v1.0.119 [INFO] [stderr] Compiling gmp-mpfr-sys v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Compiling rug v1.11.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking az v1.0.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rand v0.8.2 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stderr] Checking plr v0.1.6 (https://github.com/liufuyang/plr#ea40e073) [INFO] [stderr] Checking plr-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `plr::GreedyPLR` [INFO] [stdout] --> examples/example1.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use plr::GreedyPLR; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `GreedyPLR` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `plr-test` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:33:44 [INFO] [stdout] | [INFO] [stdout] 33 | .unwrap_or_else(|e| panic!(format!("{} on line {}", e.to_string(), n + 1))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 33 | .unwrap_or_else(|e| panic!("{} on line {}", e.to_string(), n + 1)) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | panic!(format!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 38 | | "{} on line {}, while parsing string \"{}\"", [INFO] [stdout] 39 | | e.to_string(), [INFO] [stdout] 40 | | n + 1, [INFO] [stdout] 41 | | s [INFO] [stdout] 42 | | )) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 37 | panic!( [INFO] [stdout] 38 | "{} on line {}, while parsing string \"{}\"", [INFO] [stdout] 39 | e.to_string(), [INFO] [stdout] 40 | n + 1, [INFO] [stdout] 41 | s [INFO] [stdout] 42 | ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | panic!(format!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 52 | | "need 2 values but less than that on line {}, while parsing \"{:?}\"", [INFO] [stdout] 53 | | n + 1, [INFO] [stdout] 54 | | v [INFO] [stdout] 55 | | )) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 51 | panic!( [INFO] [stdout] 52 | "need 2 values but less than that on line {}, while parsing \"{:?}\"", [INFO] [stdout] 53 | n + 1, [INFO] [stdout] 54 | v [INFO] [stdout] 55 | ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | panic!(format!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 59 | | "need 2 values but less than that on line {}, while parsing \"{:?}\"", [INFO] [stdout] 60 | | n + 1, [INFO] [stdout] 61 | | v [INFO] [stdout] 62 | | )) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 58 | panic!( [INFO] [stdout] 59 | "need 2 values but less than that on line {}, while parsing \"{:?}\"", [INFO] [stdout] 60 | n + 1, [INFO] [stdout] 61 | v [INFO] [stdout] 62 | ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:33:44 [INFO] [stdout] | [INFO] [stdout] 33 | .unwrap_or_else(|e| panic!(format!("{} on line {}", e.to_string(), n + 1))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 33 | .unwrap_or_else(|e| panic!("{} on line {}", e.to_string(), n + 1)) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | panic!(format!( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 38 | | "{} on line {}, while parsing string \"{}\"", [INFO] [stdout] 39 | | e.to_string(), [INFO] [stdout] 40 | | n + 1, [INFO] [stdout] 41 | | s [INFO] [stdout] 42 | | )) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 37 | panic!( [INFO] [stdout] 38 | "{} on line {}, while parsing string \"{}\"", [INFO] [stdout] 39 | e.to_string(), [INFO] [stdout] 40 | n + 1, [INFO] [stdout] 41 | s [INFO] [stdout] 42 | ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | panic!(format!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 52 | | "need 2 values but less than that on line {}, while parsing \"{:?}\"", [INFO] [stdout] 53 | | n + 1, [INFO] [stdout] 54 | | v [INFO] [stdout] 55 | | )) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 51 | panic!( [INFO] [stdout] 52 | "need 2 values but less than that on line {}, while parsing \"{:?}\"", [INFO] [stdout] 53 | n + 1, [INFO] [stdout] 54 | v [INFO] [stdout] 55 | ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | panic!(format!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 59 | | "need 2 values but less than that on line {}, while parsing \"{:?}\"", [INFO] [stdout] 60 | | n + 1, [INFO] [stdout] 61 | | v [INFO] [stdout] 62 | | )) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 58 | panic!( [INFO] [stdout] 59 | "need 2 values but less than that on line {}, while parsing \"{:?}\"", [INFO] [stdout] 60 | n + 1, [INFO] [stdout] 61 | v [INFO] [stdout] 62 | ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2c740a5e739a896bb01245d647554eb29119de3e78b052bdf7003001f88be36c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c740a5e739a896bb01245d647554eb29119de3e78b052bdf7003001f88be36c", kill_on_drop: false }` [INFO] [stdout] 2c740a5e739a896bb01245d647554eb29119de3e78b052bdf7003001f88be36c