[INFO] fetching crate kodama-capi 0.2.0... [INFO] checking kodama-capi-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate kodama-capi 0.2.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate kodama-capi 0.2.0 [INFO] finished tweaking crates.io crate kodama-capi 0.2.0 [INFO] tweaked toml for crates.io crate kodama-capi 0.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kodama-capi 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kodama v0.3.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d333503cf13909f45262475f2a06f086731f7862dfadda94fad9a0623004d4b0 [INFO] running `Command { std: "docker" "start" "-a" "d333503cf13909f45262475f2a06f086731f7862dfadda94fad9a0623004d4b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d333503cf13909f45262475f2a06f086731f7862dfadda94fad9a0623004d4b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d333503cf13909f45262475f2a06f086731f7862dfadda94fad9a0623004d4b0", kill_on_drop: false }` [INFO] [stdout] d333503cf13909f45262475f2a06f086731f7862dfadda94fad9a0623004d4b0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c8507755a7c6ec7ed62f27eba876358ad06d7fa1fc69c9d66dcb111cc456091 [INFO] running `Command { std: "docker" "start" "-a" "2c8507755a7c6ec7ed62f27eba876358ad06d7fa1fc69c9d66dcb111cc456091", kill_on_drop: false }` [INFO] [stderr] Checking kodama v0.3.0 [INFO] [stderr] Checking kodama-capi v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/macros.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / ffi_fn! { [INFO] [stdout] 58 | | fn kodama_linkage_double( [INFO] [stdout] 59 | | dis: *mut c_double, [INFO] [stdout] 60 | | observations: size_t, [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/macros.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / ffi_fn! { [INFO] [stdout] 85 | | fn kodama_linkage_float( [INFO] [stdout] 86 | | dis: *mut c_float, [INFO] [stdout] 87 | | observations: size_t, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/macros.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | / ffi_fn! { [INFO] [stdout] 112 | | fn kodama_dendrogram_free( [INFO] [stdout] 113 | | dend: *mut kodama_dendrogram, [INFO] [stdout] 114 | | ) { [INFO] [stdout] ... | [INFO] [stdout] 117 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/macros.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | / ffi_fn! { [INFO] [stdout] 120 | | fn kodama_dendrogram_len( [INFO] [stdout] 121 | | dend: *const kodama_dendrogram, [INFO] [stdout] 122 | | ) -> size_t { [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/macros.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / ffi_fn! { [INFO] [stdout] 129 | | fn kodama_dendrogram_observations( [INFO] [stdout] 130 | | dend: *const kodama_dendrogram, [INFO] [stdout] 131 | | ) -> size_t { [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/macros.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / ffi_fn! { [INFO] [stdout] 138 | | fn kodama_dendrogram_steps( [INFO] [stdout] 139 | | dend: *const kodama_dendrogram, [INFO] [stdout] 140 | | ) -> *const kodama_step { [INFO] [stdout] ... | [INFO] [stdout] 144 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/macros.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / ffi_fn! { [INFO] [stdout] 58 | | fn kodama_linkage_double( [INFO] [stdout] 59 | | dis: *mut c_double, [INFO] [stdout] 60 | | observations: size_t, [INFO] [stdout] ... | [INFO] [stdout] 82 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/macros.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / ffi_fn! { [INFO] [stdout] 85 | | fn kodama_linkage_float( [INFO] [stdout] 86 | | dis: *mut c_float, [INFO] [stdout] 87 | | observations: size_t, [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/macros.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | / ffi_fn! { [INFO] [stdout] 112 | | fn kodama_dendrogram_free( [INFO] [stdout] 113 | | dend: *mut kodama_dendrogram, [INFO] [stdout] 114 | | ) { [INFO] [stdout] ... | [INFO] [stdout] 117 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/macros.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | / ffi_fn! { [INFO] [stdout] 120 | | fn kodama_dendrogram_len( [INFO] [stdout] 121 | | dend: *const kodama_dendrogram, [INFO] [stdout] 122 | | ) -> size_t { [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/macros.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / ffi_fn! { [INFO] [stdout] 129 | | fn kodama_dendrogram_observations( [INFO] [stdout] 130 | | dend: *const kodama_dendrogram, [INFO] [stdout] 131 | | ) -> size_t { [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/macros.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn $name($($arg: $arg_ty),*) -> $ret { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / ffi_fn! { [INFO] [stdout] 138 | | fn kodama_dendrogram_steps( [INFO] [stdout] 139 | | dend: *const kodama_dendrogram, [INFO] [stdout] 140 | | ) -> *const kodama_step { [INFO] [stdout] ... | [INFO] [stdout] 144 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ffi_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/lib.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | unsafe { Box::from_raw(dend); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 115 | unsafe { let _ = Box::from_raw(dend); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/lib.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | unsafe { Box::from_raw(dend); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 115 | unsafe { let _ = Box::from_raw(dend); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "2c8507755a7c6ec7ed62f27eba876358ad06d7fa1fc69c9d66dcb111cc456091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c8507755a7c6ec7ed62f27eba876358ad06d7fa1fc69c9d66dcb111cc456091", kill_on_drop: false }` [INFO] [stdout] 2c8507755a7c6ec7ed62f27eba876358ad06d7fa1fc69c9d66dcb111cc456091