[INFO] cloning repository https://github.com/jacobrosenthal/rust-ffi-bench [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jacobrosenthal/rust-ffi-bench" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobrosenthal%2Frust-ffi-bench", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobrosenthal%2Frust-ffi-bench'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e85828968a52a6415b19ea2b37f404f2f25ea8f2 [INFO] checking jacobrosenthal/rust-ffi-bench against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobrosenthal%2Frust-ffi-bench" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jacobrosenthal/rust-ffi-bench on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jacobrosenthal/rust-ffi-bench [INFO] finished tweaking git repo https://github.com/jacobrosenthal/rust-ffi-bench [INFO] tweaked toml for git repo https://github.com/jacobrosenthal/rust-ffi-bench written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jacobrosenthal/rust-ffi-bench 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/lifthrasiir/rust-encoding` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex v1.0.6 [INFO] [stderr] Downloaded ucd-util v0.1.2 [INFO] [stderr] Downloaded regex-syntax v0.6.3 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97d513dfc541a82c49f728da95fdf090271fa7734aa474fd7dbaa23c89cce47a [INFO] running `Command { std: "docker" "start" "-a" "97d513dfc541a82c49f728da95fdf090271fa7734aa474fd7dbaa23c89cce47a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97d513dfc541a82c49f728da95fdf090271fa7734aa474fd7dbaa23c89cce47a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97d513dfc541a82c49f728da95fdf090271fa7734aa474fd7dbaa23c89cce47a", kill_on_drop: false }` [INFO] [stdout] 97d513dfc541a82c49f728da95fdf090271fa7734aa474fd7dbaa23c89cce47a [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53840f7fa421df2cc347032313cc3d7326df675de3c95032f14513e328376276 [INFO] running `Command { std: "docker" "start" "-a" "53840f7fa421df2cc347032313cc3d7326df675de3c95032f14513e328376276", kill_on_drop: false }` [INFO] [stderr] Checking encoding_index_tests v0.1.5 (https://github.com/lifthrasiir/rust-encoding#eb3d3c30) [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking encoding-types v0.2.0 (https://github.com/lifthrasiir/rust-encoding#eb3d3c30) [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking ucd-util v0.1.2 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking encoding-index-simpchinese v1.20160120.0 (https://github.com/lifthrasiir/rust-encoding#eb3d3c30) [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.6 (https://github.com/lifthrasiir/rust-encoding#eb3d3c30) [INFO] [stderr] Checking encoding-index-japanese v1.20141219.6 (https://github.com/lifthrasiir/rust-encoding#eb3d3c30) [INFO] [stderr] Checking encoding-index-singlebyte v1.20160120.0 (https://github.com/lifthrasiir/rust-encoding#eb3d3c30) [INFO] [stderr] Checking encoding-index-korean v1.20141219.6 (https://github.com/lifthrasiir/rust-encoding#eb3d3c30) [INFO] [stderr] Checking regex-syntax v0.6.3 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking encoding v0.3.0-dev (https://github.com/lifthrasiir/rust-encoding#eb3d3c30) [INFO] [stderr] Checking ffi-bench v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `unsized_locals` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(unsized_locals)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #48055 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/flt.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | ((value as u32) << shift) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - ((value as u32) << shift) [INFO] [stdout] 42 + (value as u32) << shift [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/flt.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/flt.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `uniform_paths` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(uniform_paths)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `atoi_via_bytes` is never used [INFO] [stdout] --> src/flt.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn atoi_via_bytes(chars: [u8; 4]) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shifted_atoi_via_fold` is never used [INFO] [stdout] --> src/flt.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn shifted_atoi_via_fold(chars: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shifted_atoi_via_map` is never used [INFO] [stdout] --> src/flt.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn shifted_atoi_via_map(chars: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shifted_atoi_via_loop` is never used [INFO] [stdout] --> src/flt.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn shifted_atoi_via_loop(chars: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compose_f32` is never used [INFO] [stdout] --> src/flt.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn compose_f32(exponent: f32, mantissa: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clone_into_array` is never used [INFO] [stdout] --> src/flt.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn clone_into_array(slice: &[T]) -> A [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getu16_stable` is never used [INFO] [stdout] --> src/flt.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn getu16_stable(my_array: [u8; 4]) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getu16` is never used [INFO] [stdout] --> src/flt.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn getu16(my_array: [u8; 4]) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getu32` is never used [INFO] [stdout] --> src/flt.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn getu32(my_array: [u8; 4]) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_from_iso_bytes` is never used [INFO] [stdout] --> src/string.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn string_from_iso_bytes(buffer: &[u8]) -> std::string::String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bytes_from_from_iso_string` is never used [INFO] [stdout] --> src/string.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn bytes_from_from_iso_string(keyword: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cstring_from_ptr` is never used [INFO] [stdout] --> src/string.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn cstring_from_ptr(buffer: &[i8]) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cstring_from_bytes` is never used [INFO] [stdout] --> src/string.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn cstring_from_bytes(buffer: &[u8]) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_from_utf8` is never used [INFO] [stdout] --> src/string.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn string_from_utf8(buffer: &[u8]) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `unsized_locals` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(unsized_locals)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #48055 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/flt.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | ((value as u32) << shift) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - ((value as u32) << shift) [INFO] [stdout] 42 + (value as u32) << shift [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/string.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | black_box({ cstring_from_ptr(&tcxc) }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 82 - black_box({ cstring_from_ptr(&tcxc) }); [INFO] [stdout] 82 + black_box(cstring_from_ptr(&tcxc)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/string.rs:100:27 [INFO] [stdout] | [INFO] [stdout] 100 | black_box({ cstring_from_bytes(&tcxc) }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 100 - black_box({ cstring_from_bytes(&tcxc) }); [INFO] [stdout] 100 + black_box(cstring_from_bytes(&tcxc)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/string.rs:119:27 [INFO] [stdout] | [INFO] [stdout] 119 | black_box({ string_from_utf8(&tcxc) }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 119 - black_box({ string_from_utf8(&tcxc) }); [INFO] [stdout] 119 + black_box(string_from_utf8(&tcxc)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/flt.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/flt.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `uniform_paths` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(uniform_paths)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/generate.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/flt.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | ((value as u32) << shift) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - ((value as u32) << shift) [INFO] [stdout] 42 + (value as u32) << shift [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `int_to_from_bytes` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/generate.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(int_to_from_bytes)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/flt.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `atoi_via_bytes` is never used [INFO] [stdout] --> src/flt.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn atoi_via_bytes(chars: [u8; 4]) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getu32` is never used [INFO] [stdout] --> src/flt.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn getu32(my_array: [u8; 4]) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.39s [INFO] running `Command { std: "docker" "inspect" "53840f7fa421df2cc347032313cc3d7326df675de3c95032f14513e328376276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53840f7fa421df2cc347032313cc3d7326df675de3c95032f14513e328376276", kill_on_drop: false }` [INFO] [stdout] 53840f7fa421df2cc347032313cc3d7326df675de3c95032f14513e328376276 [INFO] checking jacobrosenthal/rust-ffi-bench against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobrosenthal%2Frust-ffi-bench" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jacobrosenthal/rust-ffi-bench on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jacobrosenthal/rust-ffi-bench [INFO] finished tweaking git repo https://github.com/jacobrosenthal/rust-ffi-bench [INFO] tweaked toml for git repo https://github.com/jacobrosenthal/rust-ffi-bench written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jacobrosenthal/rust-ffi-bench 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84e61133b6007a7a4787568d7c0617d86284e5fc8950b2c0fbdee4ef43481e43 [INFO] running `Command { std: "docker" "start" "-a" "84e61133b6007a7a4787568d7c0617d86284e5fc8950b2c0fbdee4ef43481e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84e61133b6007a7a4787568d7c0617d86284e5fc8950b2c0fbdee4ef43481e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84e61133b6007a7a4787568d7c0617d86284e5fc8950b2c0fbdee4ef43481e43", kill_on_drop: false }` [INFO] [stdout] 84e61133b6007a7a4787568d7c0617d86284e5fc8950b2c0fbdee4ef43481e43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df243fa23604ac680059790549f00eed5035055be2afbf63ca271bca2d2cf37e [INFO] running `Command { std: "docker" "start" "-a" "df243fa23604ac680059790549f00eed5035055be2afbf63ca271bca2d2cf37e", kill_on_drop: false }` [INFO] [stderr] Checking encoding_index_tests v0.1.5 (https://github.com/lifthrasiir/rust-encoding#eb3d3c30) [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking encoding-types v0.2.0 (https://github.com/lifthrasiir/rust-encoding#eb3d3c30) [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Checking ucd-util v0.1.2 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.6 (https://github.com/lifthrasiir/rust-encoding#eb3d3c30) [INFO] [stderr] Checking encoding-index-japanese v1.20141219.6 (https://github.com/lifthrasiir/rust-encoding#eb3d3c30) [INFO] [stderr] Checking encoding-index-singlebyte v1.20160120.0 (https://github.com/lifthrasiir/rust-encoding#eb3d3c30) [INFO] [stderr] Checking encoding-index-korean v1.20141219.6 (https://github.com/lifthrasiir/rust-encoding#eb3d3c30) [INFO] [stderr] Checking encoding-index-simpchinese v1.20160120.0 (https://github.com/lifthrasiir/rust-encoding#eb3d3c30) [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.3 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking encoding v0.3.0-dev (https://github.com/lifthrasiir/rust-encoding#eb3d3c30) [INFO] [stderr] Checking ffi-bench v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `unsized_locals` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(unsized_locals)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #48055 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/flt.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | ((value as u32) << shift) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - ((value as u32) << shift) [INFO] [stdout] 42 + (value as u32) << shift [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/flt.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/flt.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `uniform_paths` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(uniform_paths)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `atoi_via_bytes` is never used [INFO] [stdout] --> src/flt.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn atoi_via_bytes(chars: [u8; 4]) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shifted_atoi_via_fold` is never used [INFO] [stdout] --> src/flt.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn shifted_atoi_via_fold(chars: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shifted_atoi_via_map` is never used [INFO] [stdout] --> src/flt.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn shifted_atoi_via_map(chars: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shifted_atoi_via_loop` is never used [INFO] [stdout] --> src/flt.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn shifted_atoi_via_loop(chars: Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compose_f32` is never used [INFO] [stdout] --> src/flt.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn compose_f32(exponent: f32, mantissa: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clone_into_array` is never used [INFO] [stdout] --> src/flt.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn clone_into_array(slice: &[T]) -> A [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getu16_stable` is never used [INFO] [stdout] --> src/flt.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn getu16_stable(my_array: [u8; 4]) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getu16` is never used [INFO] [stdout] --> src/flt.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn getu16(my_array: [u8; 4]) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getu32` is never used [INFO] [stdout] --> src/flt.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn getu32(my_array: [u8; 4]) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_from_iso_bytes` is never used [INFO] [stdout] --> src/string.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn string_from_iso_bytes(buffer: &[u8]) -> std::string::String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bytes_from_from_iso_string` is never used [INFO] [stdout] --> src/string.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn bytes_from_from_iso_string(keyword: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cstring_from_ptr` is never used [INFO] [stdout] --> src/string.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn cstring_from_ptr(buffer: &[i8]) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cstring_from_bytes` is never used [INFO] [stdout] --> src/string.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn cstring_from_bytes(buffer: &[u8]) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_from_utf8` is never used [INFO] [stdout] --> src/string.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn string_from_utf8(buffer: &[u8]) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/flt.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | ((value as u32) << shift) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - ((value as u32) << shift) [INFO] [stdout] 42 + (value as u32) << shift [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/flt.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/generate.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `int_to_from_bytes` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/generate.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(int_to_from_bytes)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `unsized_locals` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(unsized_locals)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #48055 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/flt.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | ((value as u32) << shift) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - ((value as u32) << shift) [INFO] [stdout] 42 + (value as u32) << shift [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/string.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | black_box({ cstring_from_ptr(&tcxc) }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 82 - black_box({ cstring_from_ptr(&tcxc) }); [INFO] [stdout] 82 + black_box(cstring_from_ptr(&tcxc)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/string.rs:100:27 [INFO] [stdout] | [INFO] [stdout] 100 | black_box({ cstring_from_bytes(&tcxc) }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 100 - black_box({ cstring_from_bytes(&tcxc) }); [INFO] [stdout] 100 + black_box(cstring_from_bytes(&tcxc)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/string.rs:119:27 [INFO] [stdout] | [INFO] [stdout] 119 | black_box({ string_from_utf8(&tcxc) }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 119 - black_box({ string_from_utf8(&tcxc) }); [INFO] [stdout] 119 + black_box(string_from_utf8(&tcxc)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/flt.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/flt.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `uniform_paths` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(uniform_paths)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `atoi_via_bytes` is never used [INFO] [stdout] --> src/flt.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn atoi_via_bytes(chars: [u8; 4]) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getu32` is never used [INFO] [stdout] --> src/flt.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn getu32(my_array: [u8; 4]) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.28s [INFO] running `Command { std: "docker" "inspect" "df243fa23604ac680059790549f00eed5035055be2afbf63ca271bca2d2cf37e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df243fa23604ac680059790549f00eed5035055be2afbf63ca271bca2d2cf37e", kill_on_drop: false }` [INFO] [stdout] df243fa23604ac680059790549f00eed5035055be2afbf63ca271bca2d2cf37e