[INFO] fetching crate libnspire 0.2.3... [INFO] checking libnspire-0.2.3 against master#a3f76a26e045a760bb1163b7eab36872985242d5 for pr-130930 [INFO] extracting crate libnspire 0.2.3 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate libnspire 0.2.3 on toolchain a3f76a26e045a760bb1163b7eab36872985242d5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libnspire 0.2.3 [INFO] finished tweaking crates.io crate libnspire 0.2.3 [INFO] tweaked toml for crates.io crate libnspire 0.2.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate libnspire 0.2.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.21 [INFO] [stderr] Downloaded serde_derive v1.0.116 [INFO] [stderr] Downloaded thiserror-impl v1.0.20 [INFO] [stderr] Downloaded libflate_lz77 v1.0.0 [INFO] [stderr] Downloaded array_iterator v0.2.4 [INFO] [stderr] Downloaded bytemuck v1.4.1 [INFO] [stderr] Downloaded color_quant v1.0.1 [INFO] [stderr] Downloaded globset v0.4.5 [INFO] [stderr] Downloaded globwalk v0.7.3 [INFO] [stderr] Downloaded displaydoc v0.1.7 [INFO] [stderr] Downloaded tiff v0.5.0 [INFO] [stderr] Downloaded rayon-core v1.8.1 [INFO] [stderr] Downloaded num-integer v0.1.43 [INFO] [stderr] Downloaded rayon v1.4.0 [INFO] [stderr] Downloaded aho-corasick v0.7.13 [INFO] [stderr] Downloaded syn v1.0.41 [INFO] [stderr] Downloaded serde_json v1.0.57 [INFO] [stderr] Downloaded num-rational v0.3.0 [INFO] [stderr] Downloaded image v0.23.9 [INFO] [stderr] Downloaded regex v1.3.9 [INFO] [stderr] Downloaded cc v1.0.60 [INFO] [stderr] Downloaded rle-decode-fast v1.0.1 [INFO] [stderr] Downloaded regex-syntax v0.6.18 [INFO] [stderr] Downloaded bstr v0.2.13 [INFO] [stderr] Downloaded tar v0.4.30 [INFO] [stderr] Downloaded ignore v0.4.16 [INFO] [stderr] Downloaded libusb1-sys v0.4.2 [INFO] [stderr] Downloaded serde v1.0.116 [INFO] [stderr] Downloaded num-iter v0.1.41 [INFO] [stderr] Downloaded libc v0.2.77 [INFO] [stderr] Downloaded libnspire-sys v0.3.0 [INFO] [stderr] Downloaded num-traits v0.2.12 [INFO] [stderr] Downloaded png v0.16.7 [INFO] [stderr] Downloaded libflate v1.0.2 [INFO] [stderr] Downloaded pkg-config v0.3.18 [INFO] [stderr] Downloaded jobserver v0.1.21 [INFO] [stderr] Downloaded filetime v0.2.12 [INFO] [stderr] Downloaded vcpkg v0.2.10 [INFO] [stderr] Downloaded hermit-abi v0.1.15 [INFO] [stderr] Downloaded rusb v0.6.4 [INFO] [stderr] Downloaded thiserror v1.0.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6464f1024257c424ecf8134c53bec1fabcd30b57f52182760738f1f3a5433972 [INFO] running `Command { std: "docker" "start" "-a" "6464f1024257c424ecf8134c53bec1fabcd30b57f52182760738f1f3a5433972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6464f1024257c424ecf8134c53bec1fabcd30b57f52182760738f1f3a5433972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6464f1024257c424ecf8134c53bec1fabcd30b57f52182760738f1f3a5433972", kill_on_drop: false }` [INFO] [stdout] 6464f1024257c424ecf8134c53bec1fabcd30b57f52182760738f1f3a5433972 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52c3644b9a4fba8dc27a4333506e501811db1d408c59029af7ddf93c6574f895 [INFO] running `Command { std: "docker" "start" "-a" "52c3644b9a4fba8dc27a4333506e501811db1d408c59029af7ddf93c6574f895", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling libflate_lz77 v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling rle-decode-fast v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling libflate v1.0.2 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking array_iterator v0.2.4 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling filetime v0.2.12 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling tar v0.4.30 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Compiling libusb1-sys v0.4.2 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Checking rusb v0.6.4 [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Compiling ignore v0.4.16 [INFO] [stderr] Checking image v0.23.9 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling displaydoc v0.1.7 [INFO] [stderr] Compiling globwalk v0.7.3 [INFO] [stderr] Compiling libnspire-sys v0.3.0 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking libnspire v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Display, Error, Debug)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error` [INFO] [stdout] 12 | #[non_exhaustive] [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> examples/upload.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> examples/json.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/upload.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | handle.write_file("test.tns", &buf, &mut |prog| println!("{}", prog)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 13 | let _ = handle.write_file("test.tns", &buf, &mut |prog| println!("{}", prog)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/info.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | dbg!(handle.info()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (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] --> examples/info.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | dbg!(handle.list_dir("/")); [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 `dbg` (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] --> examples/info.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / dbg!(image::DynamicImage::try_from(handle.screenshot().unwrap()) [INFO] [stdout] 9 | | .unwrap() [INFO] [stdout] 10 | | .save("test.png")); [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 `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Display, Error, Debug)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error` [INFO] [stdout] 12 | #[non_exhaustive] [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.19s [INFO] running `Command { std: "docker" "inspect" "52c3644b9a4fba8dc27a4333506e501811db1d408c59029af7ddf93c6574f895", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52c3644b9a4fba8dc27a4333506e501811db1d408c59029af7ddf93c6574f895", kill_on_drop: false }` [INFO] [stdout] 52c3644b9a4fba8dc27a4333506e501811db1d408c59029af7ddf93c6574f895