[INFO] cloning repository https://github.com/eduidl/rust-ffi-example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eduidl/rust-ffi-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduidl%2Frust-ffi-example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduidl%2Frust-ffi-example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 55ae75112855ce81fc0f31ae21f4317f5942ab90
[INFO] checking eduidl/rust-ffi-example against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduidl%2Frust-ffi-example" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/eduidl/rust-ffi-example
[INFO] finished tweaking git repo https://github.com/eduidl/rust-ffi-example
[INFO] tweaked toml for git repo https://github.com/eduidl/rust-ffi-example written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/eduidl/rust-ffi-example 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/eduidl/rust-ffi-example 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]  Downloading crates ...
[INFO] [stderr]   Downloaded clang-sys v1.3.3
[INFO] [stderr]   Downloaded clap_lex v0.2.2
[INFO] [stderr]   Downloaded indexmap v1.9.0
[INFO] [stderr]   Downloaded bindgen v0.60.1
[INFO] [stderr]   Downloaded clap v3.2.5
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e5506bc7a8096c12e37d497e8493053b67d48947f06e089ee3acb42f406a2809
[INFO] running `Command { std: "docker" "start" "-a" "e5506bc7a8096c12e37d497e8493053b67d48947f06e089ee3acb42f406a2809", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e5506bc7a8096c12e37d497e8493053b67d48947f06e089ee3acb42f406a2809", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5506bc7a8096c12e37d497e8493053b67d48947f06e089ee3acb42f406a2809", kill_on_drop: false }`
[INFO] [stdout] e5506bc7a8096c12e37d497e8493053b67d48947f06e089ee3acb42f406a2809
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ed094da2694617455d90e0cc7bd8134ad25ef07bb9b63c6bc1031449759ae77c
[INFO] running `Command { std: "docker" "start" "-a" "ed094da2694617455d90e0cc7bd8134ad25ef07bb9b63c6bc1031449759ae77c", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling indexmap v1.9.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling regex-syntax v0.6.26
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling hashbrown v0.12.1
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling os_str_bytes v6.1.0
[INFO] [stderr]    Compiling clang-sys v1.3.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling libloading v0.7.3
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling clap_lex v0.2.2
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling textwrap v0.15.0
[INFO] [stderr]    Compiling bindgen v0.60.1
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling which v4.2.5
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling shlex v1.1.0
[INFO] [stderr]    Compiling clap v3.2.5
[INFO] [stderr]    Compiling regex v1.5.6
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling ffi-example-sys v0.1.0 (/opt/rustwide/workdir/ffi-example-sys)
[INFO] [stderr]     Checking ffi-example v0.1.0 (/opt/rustwide/workdir/ffi-example)
[INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries`
[INFO] [stdout]   --> ffi-example/src/main.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |     #[allow(temporary_cstring_as_ptr)]
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries`
[INFO] [stdout]   --> ffi-example/src/main.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |     #[allow(temporary_cstring_as_ptr)]
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]   --> ffi-example/src/main.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     drop(slice);
[INFO] [stdout]    |     ^^^^^-----^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          argument has type `&[i32]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 47 -     drop(slice);
[INFO] [stdout] 47 +     let _ = slice;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]   --> ffi-example/src/main.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     drop(slice);
[INFO] [stdout]    |     ^^^^^-----^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          argument has type `&[i32]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 47 -     drop(slice);
[INFO] [stdout] 47 +     let _ = slice;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.15s
[INFO] running `Command { std: "docker" "inspect" "ed094da2694617455d90e0cc7bd8134ad25ef07bb9b63c6bc1031449759ae77c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed094da2694617455d90e0cc7bd8134ad25ef07bb9b63c6bc1031449759ae77c", kill_on_drop: false }`
[INFO] [stdout] ed094da2694617455d90e0cc7bd8134ad25ef07bb9b63c6bc1031449759ae77c
