[INFO] fetching crate native-file-tests 0.1.0... [INFO] checking native-file-tests-0.1.0 against try#4a04890980766cc79878135f5ade8c0c4321e943 for pr-65819 [INFO] extracting crate native-file-tests 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate native-file-tests 0.1.0 on toolchain 4a04890980766cc79878135f5ade8c0c4321e943 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate native-file-tests 0.1.0 [INFO] finished tweaking crates.io crate native-file-tests 0.1.0 [INFO] tweaked toml for crates.io crate native-file-tests 0.1.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "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" "+4a04890980766cc79878135f5ade8c0c4321e943" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scroll v0.8.0 [INFO] [stderr] Downloaded scroll_derive v0.8.0 [INFO] [stderr] Downloaded uuid v0.5.1 [INFO] [stderr] Downloaded scroll v0.9.2 [INFO] [stderr] Downloaded scroll_derive v0.9.5 [INFO] [stderr] Downloaded pdb v0.2.2 [INFO] [stderr] Downloaded goblin v0.0.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7aae50d64b01424e4965f7124f7f143d46f41bb756ae69ee963f1e1a7354d4b4 [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" "7aae50d64b01424e4965f7124f7f143d46f41bb756ae69ee963f1e1a7354d4b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7aae50d64b01424e4965f7124f7f143d46f41bb756ae69ee963f1e1a7354d4b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7aae50d64b01424e4965f7124f7f143d46f41bb756ae69ee963f1e1a7354d4b4", kill_on_drop: false }` [INFO] [stdout] 7aae50d64b01424e4965f7124f7f143d46f41bb756ae69ee963f1e1a7354d4b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0839f54ef5fc4dc8ca538cef956bb355df0533a078cd440dd4487438cdd75c4d [INFO] running `Command { std: "docker" "start" "-a" "0839f54ef5fc4dc8ca538cef956bb355df0533a078cd440dd4487438cdd75c4d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking fallible-iterator v0.1.6 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling scroll_derive v0.8.0 [INFO] [stderr] Checking scroll v0.8.0 [INFO] [stderr] Checking goblin v0.0.14 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Checking pdb v0.2.2 [INFO] [stderr] Checking native-file-tests v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `native-file-tests` [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | _ => panic!(format!("Unsupported platform")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | #![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: 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] 139 | _ => panic!("Unsupported platform") [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:266:20 [INFO] [stdout] | [INFO] [stdout] 266 | panic!(format!("Unsupported file type for file {:?}", path)); [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] 266 | panic!("Unsupported file type for file {:?}", path); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | _ => panic!(format!("Unsupported platform")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | #![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: 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] 139 | _ => panic!("Unsupported platform") [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:266:20 [INFO] [stdout] | [INFO] [stdout] 266 | panic!(format!("Unsupported file type for file {:?}", path)); [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] 266 | panic!("Unsupported file type for file {:?}", path); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0839f54ef5fc4dc8ca538cef956bb355df0533a078cd440dd4487438cdd75c4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0839f54ef5fc4dc8ca538cef956bb355df0533a078cd440dd4487438cdd75c4d", kill_on_drop: false }` [INFO] [stdout] 0839f54ef5fc4dc8ca538cef956bb355df0533a078cd440dd4487438cdd75c4d