[INFO] fetching crate easy-ffi-wrapper 0.1.1...
[INFO] testing easy-ffi-wrapper-0.1.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] extracting crate easy-ffi-wrapper 0.1.1 into /workspace/builds/worker-0-tc1/source
[INFO] started tweaking crates.io crate easy-ffi-wrapper 0.1.1
[INFO] finished tweaking crates.io crate easy-ffi-wrapper 0.1.1
[INFO] tweaked toml for crates.io crate easy-ffi-wrapper 0.1.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate easy-ffi-wrapper 0.1.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f48d3566baa95bdf9c7940653a2b8d6ef4b1537195fe7c01aaf7f9f1d41d509a
[INFO] running `Command { std: "docker" "start" "-a" "f48d3566baa95bdf9c7940653a2b8d6ef4b1537195fe7c01aaf7f9f1d41d509a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f48d3566baa95bdf9c7940653a2b8d6ef4b1537195fe7c01aaf7f9f1d41d509a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f48d3566baa95bdf9c7940653a2b8d6ef4b1537195fe7c01aaf7f9f1d41d509a", kill_on_drop: false }`
[INFO] [stdout] f48d3566baa95bdf9c7940653a2b8d6ef4b1537195fe7c01aaf7f9f1d41d509a
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dc98b807e9914b4e0bc14ce1268222701c2e71b3ca01ae71805c9d188d994c4f
[INFO] running `Command { std: "docker" "start" "-a" "dc98b807e9914b4e0bc14ce1268222701c2e71b3ca01ae71805c9d188d994c4f", kill_on_drop: false }`
[INFO] [stderr]    Compiling easy-ffi-wrapper v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s
[INFO] running `Command { std: "docker" "inspect" "dc98b807e9914b4e0bc14ce1268222701c2e71b3ca01ae71805c9d188d994c4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc98b807e9914b4e0bc14ce1268222701c2e71b3ca01ae71805c9d188d994c4f", kill_on_drop: false }`
[INFO] [stdout] dc98b807e9914b4e0bc14ce1268222701c2e71b3ca01ae71805c9d188d994c4f
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 505dc1b8cb97ee1b14a1fdb08a1b9f0611481127b739d1edf12b6c70982e0e02
[INFO] running `Command { std: "docker" "start" "-a" "505dc1b8cb97ee1b14a1fdb08a1b9f0611481127b739d1edf12b6c70982e0e02", kill_on_drop: false }`
[INFO] [stderr]    Compiling easy-ffi-wrapper v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: unused return value of `must_use` that must be used
[INFO] [stdout]    --> src/lib.rs:634:9
[INFO] [stdout]     |
[INFO] [stdout] 634 |         format!("{:?}", A::new());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:2:9
[INFO] [stdout]     |
[INFO] [stdout]   2 | #![deny(warnings, missing_debug_implementations, missing_docs)]
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     = note: `#[deny(unused_must_use)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 634 |         let _ = format!("{:?}", A::new());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer
[INFO] [stdout]    --> src/lib.rs:691:10
[INFO] [stdout]     |
[INFO] [stdout] 691 |         &(*ptr).0[index]
[INFO] [stdout]     |          ^^---^^^^^^^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            this raw pointer has type `*const MyVec`
[INFO] [stdout]     |
[INFO] [stdout]     = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
[INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<usize>`
[INFO] [stdout]    --> src/lib.rs:691:10
[INFO] [stdout]     |
[INFO] [stdout] 691 |         &(*ptr).0[index]
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout]     = note: `#[deny(dangerous_implicit_autorefs)]` on by default
[INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
[INFO] [stdout]     |
[INFO] [stdout] 691 |         &(&(*ptr).0)[index]
[INFO] [stdout]     |          ++        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer
[INFO] [stdout]    --> src/lib.rs:815:14
[INFO] [stdout]     |
[INFO] [stdout] 815 |         &mut (*c).0[pos]
[INFO] [stdout]     |              ^^-^^^^^^^^
[INFO] [stdout]     |                |
[INFO] [stdout]     |                this raw pointer has type `*mut MyVec`
[INFO] [stdout]     |
[INFO] [stdout]     = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
[INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut Vec<usize>`
[INFO] [stdout]    --> src/lib.rs:815:14
[INFO] [stdout]     |
[INFO] [stdout] 815 |         &mut (*c).0[pos]
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
[INFO] [stdout]     |
[INFO] [stdout] 815 |         &mut (&mut (*c).0)[pos]
[INFO] [stdout]     |              +++++       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:537:25
[INFO] [stdout]     |
[INFO] [stdout] 537 |               pub fn iter(&self) -> $iter_type {
[INFO] [stdout]     |                           ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 825 | /     ffi_vec!(
[INFO] [stdout] 826 | |         MyVec(MyVecIterConst, MyVecIterMut) -> usize,
[INFO] [stdout] 827 | |         len(vec_len),
[INFO] [stdout] 828 | |         get(vec_get),
[INFO] [stdout] ...   |
[INFO] [stdout] 831 | |         clear(vec_clear)
[INFO] [stdout] 832 | |     );
[INFO] [stdout]     | |_____- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]`
[INFO] [stdout]     = note: this error originates in the macro `ffi_vec` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 537 |             pub fn iter(&self) -> $iter_type<'_> {
[INFO] [stdout]     |                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:542:29
[INFO] [stdout]     |
[INFO] [stdout] 542 |               pub fn iter_mut(&mut self) -> $iter_mut_type {
[INFO] [stdout]     |                               ^^^^^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 825 | /     ffi_vec!(
[INFO] [stdout] 826 | |         MyVec(MyVecIterConst, MyVecIterMut) -> usize,
[INFO] [stdout] 827 | |         len(vec_len),
[INFO] [stdout] 828 | |         get(vec_get),
[INFO] [stdout] ...   |
[INFO] [stdout] 831 | |         clear(vec_clear)
[INFO] [stdout] 832 | |     );
[INFO] [stdout]     | |_____- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: this error originates in the macro `ffi_vec` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 542 |             pub fn iter_mut(&mut self) -> $iter_mut_type<'_> {
[INFO] [stdout]     |                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `easy-ffi-wrapper` (lib test) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "505dc1b8cb97ee1b14a1fdb08a1b9f0611481127b739d1edf12b6c70982e0e02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "505dc1b8cb97ee1b14a1fdb08a1b9f0611481127b739d1edf12b6c70982e0e02", kill_on_drop: false }`
[INFO] [stdout] 505dc1b8cb97ee1b14a1fdb08a1b9f0611481127b739d1edf12b6c70982e0e02
