[INFO] fetching crate allen 0.2.0...
[INFO] checking allen-0.2.0 against master#b4fefcd60bfd770510f7dc540e887dd3ba4fe5c1 for pr-156992
[INFO] extracting crate allen 0.2.0 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate allen 0.2.0
[INFO] finished tweaking crates.io crate allen 0.2.0
[INFO] tweaked toml for crates.io crate allen 0.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate allen 0.2.0 on toolchain b4fefcd60bfd770510f7dc540e887dd3ba4fe5c1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fefcd60bfd770510f7dc540e887dd3ba4fe5c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate allen 0.2.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" "+b4fefcd60bfd770510f7dc540e887dd3ba4fe5c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cmake v0.1.48
[INFO] [stderr]   Downloaded serde v1.0.147
[INFO] [stderr]   Downloaded serde_derive v1.0.147
[INFO] [stderr]   Downloaded os_str_bytes v6.3.0
[INFO] [stderr]   Downloaded env_logger v0.9.0
[INFO] [stderr]   Downloaded aho-corasick v0.7.19
[INFO] [stderr]   Downloaded clap v3.2.20
[INFO] [stderr]   Downloaded bindgen v0.60.1
[INFO] [stderr]   Downloaded libc v0.2.132
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b4fefcd60bfd770510f7dc540e887dd3ba4fe5c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e44bcc4705909711d9360810174655c06f87a98a48b83f7476c1a62accd8b0c7
[INFO] running `Command { std: "docker" "start" "-a" "e44bcc4705909711d9360810174655c06f87a98a48b83f7476c1a62accd8b0c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e44bcc4705909711d9360810174655c06f87a98a48b83f7476c1a62accd8b0c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e44bcc4705909711d9360810174655c06f87a98a48b83f7476c1a62accd8b0c7", kill_on_drop: false }`
[INFO] [stdout] e44bcc4705909711d9360810174655c06f87a98a48b83f7476c1a62accd8b0c7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b4fefcd60bfd770510f7dc540e887dd3ba4fe5c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eff4fd80fbdcf24d06b4877be95d0516151f4ed71fe60d2f0b32608fc4e2727c
[INFO] running `Command { std: "docker" "start" "-a" "eff4fd80fbdcf24d06b4877be95d0516151f4ed71fe60d2f0b32608fc4e2727c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling os_str_bytes v6.3.0
[INFO] [stderr]    Compiling clang-sys v1.3.3
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling libloading v0.7.3
[INFO] [stderr]    Compiling bindgen v0.60.1
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling aho-corasick v0.7.19
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]    Compiling textwrap v0.15.0
[INFO] [stderr]    Compiling shlex v1.1.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking ogg v0.8.0
[INFO] [stderr]     Checking hound v3.4.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v4.3.0
[INFO] [stderr]    Compiling clap v3.2.20
[INFO] [stderr]     Checking lewton v0.10.2
[INFO] [stderr]    Compiling cmake v0.1.48
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.34
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]     Checking thiserror v1.0.34
[INFO] [stderr]    Compiling allen v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `c_char`
[INFO] [stdout]  --> src/context.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 |     ffi::{c_char, CString},
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CString` and `ptr`
[INFO] [stdout]   --> src/lib.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |     ffi::{CStr, CString},
[INFO] [stdout]    |                 ^^^^^^^
[INFO] [stdout] 22 |     ptr,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `c_char`
[INFO] [stdout]  --> src/context.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 |     ffi::{c_char, CString},
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CString` and `ptr`
[INFO] [stdout]   --> src/lib.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |     ffi::{CStr, CString},
[INFO] [stdout]    |                 ^^^^^^^
[INFO] [stdout] 22 |     ptr,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/context.rs:38:25
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn make_current(&self) -> Option<MutexGuard<()>> {
[INFO] [stdout]    |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn make_current(&self) -> Option<MutexGuard<'_, ()>> {
[INFO] [stdout]    |                                                     +++
[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/source.rs:6:45
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |                                             ^------------
[INFO] [stdout]   |                                             |
[INFO] [stdout]   |                                             `FromPrimitive` is not local
[INFO] [stdout]   |                                             move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SourceState`
[INFO] [stdout] 7 | pub enum SourceState {
[INFO] [stdout]   |          ----------- `SourceState` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[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: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[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/source.rs:6:60
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |                                                            ^----------
[INFO] [stdout]   |                                                            |
[INFO] [stdout]   |                                                            `ToPrimitive` is not local
[INFO] [stdout]   |                                                            move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SourceState`
[INFO] [stdout] 7 | pub enum SourceState {
[INFO] [stdout]   |          ----------- `SourceState` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[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 warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/context.rs:38:25
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn make_current(&self) -> Option<MutexGuard<()>> {
[INFO] [stdout]    |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn make_current(&self) -> Option<MutexGuard<'_, ()>> {
[INFO] [stdout]    |                                                     +++
[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/source.rs:6:45
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |                                             ^------------
[INFO] [stdout]   |                                             |
[INFO] [stdout]   |                                             `FromPrimitive` is not local
[INFO] [stdout]   |                                             move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SourceState`
[INFO] [stdout] 7 | pub enum SourceState {
[INFO] [stdout]   |          ----------- `SourceState` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[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: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[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/source.rs:6:60
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |                                                            ^----------
[INFO] [stdout]   |                                                            |
[INFO] [stdout]   |                                                            `ToPrimitive` is not local
[INFO] [stdout]   |                                                            move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SourceState`
[INFO] [stdout] 7 | pub enum SourceState {
[INFO] [stdout]   |          ----------- `SourceState` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[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 warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 35s
[INFO] running `Command { std: "docker" "inspect" "eff4fd80fbdcf24d06b4877be95d0516151f4ed71fe60d2f0b32608fc4e2727c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eff4fd80fbdcf24d06b4877be95d0516151f4ed71fe60d2f0b32608fc4e2727c", kill_on_drop: false }`
[INFO] [stdout] eff4fd80fbdcf24d06b4877be95d0516151f4ed71fe60d2f0b32608fc4e2727c
