[INFO] cloning repository https://github.com/Morgahl/aho_corasick_nif [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Morgahl/aho_corasick_nif" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMorgahl%2Faho_corasick_nif", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMorgahl%2Faho_corasick_nif'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d541e4b9b3ec55582b387de8e87f306e968fa79f [INFO] checking Morgahl/aho_corasick_nif against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMorgahl%2Faho_corasick_nif" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Morgahl/aho_corasick_nif [INFO] finished tweaking git repo https://github.com/Morgahl/aho_corasick_nif [INFO] tweaked toml for git repo https://github.com/Morgahl/aho_corasick_nif written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Morgahl/aho_corasick_nif on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Morgahl/aho_corasick_nif 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jemallocator v0.5.4 [INFO] [stderr] Downloaded rustler_sys v2.3.2 [INFO] [stderr] Downloaded rustler v0.31.0 [INFO] [stderr] Downloaded rustler_codegen v0.31.0 [INFO] [stderr] Downloaded unreachable v1.0.0 [INFO] [stderr] Downloaded jemalloc-sys v0.5.4+5.3.0-patched [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ded36c19048f51ca389ddda8453fe5c2906c4d03cdf59738a39fc70fff35382 [INFO] running `Command { std: "docker" "start" "-a" "9ded36c19048f51ca389ddda8453fe5c2906c4d03cdf59738a39fc70fff35382", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ded36c19048f51ca389ddda8453fe5c2906c4d03cdf59738a39fc70fff35382", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ded36c19048f51ca389ddda8453fe5c2906c4d03cdf59738a39fc70fff35382", kill_on_drop: false }` [INFO] [stdout] 9ded36c19048f51ca389ddda8453fe5c2906c4d03cdf59738a39fc70fff35382 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfb49d9f205c41971d4c56958c1284c1699f3bee673e9c703871b7f8cd173bd6 [INFO] running `Command { std: "docker" "start" "-a" "cfb49d9f205c41971d4c56958c1284c1699f3bee673e9c703871b7f8cd173bd6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling proc-macro2 v1.0.74 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Compiling jemalloc-sys v0.5.4+5.3.0-patched [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling rustler_codegen v0.31.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling rustler_sys v2.3.2 [INFO] [stderr] Checking rustler v0.31.0 [INFO] [stderr] Checking jemallocator v0.5.4 [INFO] [stderr] Checking aho_corasick_nif v0.1.0 (/opt/rustwide/workdir/native/aho_corasick_nif) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> native/aho_corasick_nif/src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | fn load(env: Env, _info: Term) -> bool { [INFO] [stdout] | -------------------------------------- move the `impl` block outside of this function `load` [INFO] [stdout] 54 | rustler::resource!(AhoCorasickResource, env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------------------^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `AhoCorasickResource` is not local [INFO] [stdout] | `ResourceTypeProvider` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `rustler::resource` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `rustler::resource` may come from an old version of the `rustler` crate, try updating your dependency with `cargo update -p rustler` [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `rustler::resource` (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] --> native/aho_corasick_nif/src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | fn load(env: Env, _info: Term) -> bool { [INFO] [stdout] | -------------------------------------- move the `impl` block outside of this function `load` [INFO] [stdout] 54 | rustler::resource!(AhoCorasickResource, env); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------------------^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `AhoCorasickResource` is not local [INFO] [stdout] | `ResourceTypeProvider` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `rustler::resource` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `rustler::resource` may come from an old version of the `rustler` crate, try updating your dependency with `cargo update -p rustler` [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: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `rustler::resource` (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 36s [INFO] running `Command { std: "docker" "inspect" "cfb49d9f205c41971d4c56958c1284c1699f3bee673e9c703871b7f8cd173bd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfb49d9f205c41971d4c56958c1284c1699f3bee673e9c703871b7f8cd173bd6", kill_on_drop: false }` [INFO] [stdout] cfb49d9f205c41971d4c56958c1284c1699f3bee673e9c703871b7f8cd173bd6