[INFO] fetching crate pxtone 0.1.0... [INFO] checking pxtone-0.1.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate pxtone 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate pxtone 0.1.0 on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pxtone 0.1.0 [INFO] finished tweaking crates.io crate pxtone 0.1.0 [INFO] tweaked toml for crates.io crate pxtone 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate pxtone 0.1.0 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded js-sys v0.3.53 [INFO] [stderr] Downloaded coreaudio-sys v0.2.8 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.76 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.76 [INFO] [stderr] Downloaded ndk-glue v0.4.0 [INFO] [stderr] Downloaded cexpr v0.5.0 [INFO] [stderr] Downloaded oboe v0.4.4 [INFO] [stderr] Downloaded clang-sys v1.2.1 [INFO] [stderr] Downloaded coreaudio-rs v0.10.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.76 [INFO] [stderr] Downloaded cpal v0.13.4 [INFO] [stderr] Downloaded bindgen v0.56.0 [INFO] [stderr] Downloaded web-sys v0.3.53 [INFO] [stderr] Downloaded combine v4.6.1 [INFO] [stderr] Downloaded oboe-sys v0.4.4 [INFO] [stderr] Downloaded nix v0.20.1 [INFO] [stderr] Downloaded regex v1.4.6 [INFO] [stderr] Downloaded nom v6.2.1 [INFO] [stderr] Downloaded bindgen v0.59.1 [INFO] [stderr] Downloaded alsa v0.5.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.76 [INFO] [stderr] Downloaded ndk v0.4.0 [INFO] [stderr] Downloaded thiserror v1.0.28 [INFO] [stderr] Downloaded thiserror-impl v1.0.28 [INFO] [stderr] Downloaded proc-macro-crate v1.0.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.76 [INFO] [stderr] Downloaded pxtone-sys v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3474366a93c90a59153aa80ef5b9847a30a7e02f88e73957895beaeeb7629b7 [INFO] running `Command { std: "docker" "start" "-a" "d3474366a93c90a59153aa80ef5b9847a30a7e02f88e73957895beaeeb7629b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3474366a93c90a59153aa80ef5b9847a30a7e02f88e73957895beaeeb7629b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3474366a93c90a59153aa80ef5b9847a30a7e02f88e73957895beaeeb7629b7", kill_on_drop: false }` [INFO] [stdout] d3474366a93c90a59153aa80ef5b9847a30a7e02f88e73957895beaeeb7629b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c98758a590d30b8317546cede4101e4f02047d9beac2bc475eb1b7a9c04ab35 [INFO] running `Command { std: "docker" "start" "-a" "8c98758a590d30b8317546cede4101e4f02047d9beac2bc475eb1b7a9c04ab35", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling bindgen v0.59.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling clang-sys v1.2.1 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling cpal v0.13.4 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking nix v0.20.1 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling cexpr v0.5.0 [INFO] [stderr] Checking alsa v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.28 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking thiserror v1.0.28 [INFO] [stderr] Compiling pxtone-sys v0.1.1 [INFO] [stderr] Checking pxtone v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.65s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "8c98758a590d30b8317546cede4101e4f02047d9beac2bc475eb1b7a9c04ab35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c98758a590d30b8317546cede4101e4f02047d9beac2bc475eb1b7a9c04ab35", kill_on_drop: false }` [INFO] [stdout] 8c98758a590d30b8317546cede4101e4f02047d9beac2bc475eb1b7a9c04ab35 [INFO] checking pxtone-0.1.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate pxtone 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate pxtone 0.1.0 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pxtone 0.1.0 [INFO] finished tweaking crates.io crate pxtone 0.1.0 [INFO] tweaked toml for crates.io crate pxtone 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate pxtone 0.1.0 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23edf020b85d179678743af292e5184202866360614c8de104d53985a3626b1a [INFO] running `Command { std: "docker" "start" "-a" "23edf020b85d179678743af292e5184202866360614c8de104d53985a3626b1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23edf020b85d179678743af292e5184202866360614c8de104d53985a3626b1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23edf020b85d179678743af292e5184202866360614c8de104d53985a3626b1a", kill_on_drop: false }` [INFO] [stdout] 23edf020b85d179678743af292e5184202866360614c8de104d53985a3626b1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6da244e9d37e3ff7e66ce98a176903820288dda23b49768be33b43a340d9cd20 [INFO] running `Command { std: "docker" "start" "-a" "6da244e9d37e3ff7e66ce98a176903820288dda23b49768be33b43a340d9cd20", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling bindgen v0.59.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling clang-sys v1.2.1 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling cpal v0.13.4 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking nix v0.20.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling cexpr v0.5.0 [INFO] [stderr] Checking alsa v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.28 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking thiserror v1.0.28 [INFO] [stderr] Compiling pxtone-sys v0.1.1 [INFO] [stderr] Checking pxtone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pxtone/error.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Error` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pxtone/error.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_Error` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pxtone/error.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Error` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/pxtone/error.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_Error` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pxtone` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pxtone` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "6da244e9d37e3ff7e66ce98a176903820288dda23b49768be33b43a340d9cd20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6da244e9d37e3ff7e66ce98a176903820288dda23b49768be33b43a340d9cd20", kill_on_drop: false }` [INFO] [stdout] 6da244e9d37e3ff7e66ce98a176903820288dda23b49768be33b43a340d9cd20