[INFO] fetching crate mastring 0.2.0... [INFO] checking mastring-0.2.0 against master#f8463896a9b36a04899c013bd8825a7fd29dd7a4 for pr-151920 [INFO] extracting crate mastring 0.2.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate mastring 0.2.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mastring 0.2.0 [INFO] tweaked toml for crates.io crate mastring 0.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mastring 0.2.0 on toolchain f8463896a9b36a04899c013bd8825a7fd29dd7a4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mastring 0.2.0 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" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a08e57aca470bcb2f7794dda9f59845b70d3d367066b8d280efe25c9ab9b698 [INFO] running `Command { std: "docker" "start" "-a" "1a08e57aca470bcb2f7794dda9f59845b70d3d367066b8d280efe25c9ab9b698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a08e57aca470bcb2f7794dda9f59845b70d3d367066b8d280efe25c9ab9b698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a08e57aca470bcb2f7794dda9f59845b70d3d367066b8d280efe25c9ab9b698", kill_on_drop: false }` [INFO] [stdout] 1a08e57aca470bcb2f7794dda9f59845b70d3d367066b8d280efe25c9ab9b698 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3319eeb763db9b595000da364061714d673f7a74c1403aa20e694a13ec032292 [INFO] running `Command { std: "docker" "start" "-a" "3319eeb763db9b595000da364061714d673f7a74c1403aa20e694a13ec032292", kill_on_drop: false }` [INFO] [stderr] Checking mastring v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:329:33 [INFO] [stdout] | [INFO] [stdout] 329 | if len > isize::max as usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 329 | if len > isize::max as *const () as usize { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:356:33 [INFO] [stdout] | [INFO] [stdout] 356 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 356 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:397:33 [INFO] [stdout] | [INFO] [stdout] 397 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 397 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:423:33 [INFO] [stdout] | [INFO] [stdout] 423 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 423 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:442:33 [INFO] [stdout] | [INFO] [stdout] 442 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 442 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:460:33 [INFO] [stdout] | [INFO] [stdout] 460 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 460 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:486:33 [INFO] [stdout] | [INFO] [stdout] 486 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 486 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:503:33 [INFO] [stdout] | [INFO] [stdout] 503 | if len > isize::max as usize { return }; //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 503 | if len > isize::max as *const () as usize { return }; //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:513:33 [INFO] [stdout] | [INFO] [stdout] 513 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 513 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:544:43 [INFO] [stdout] | [INFO] [stdout] 544 | let ptr = if len > isize::max as usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 544 | let ptr = if len > isize::max as *const () as usize { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:561:43 [INFO] [stdout] | [INFO] [stdout] 561 | let ptr = if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 561 | let ptr = if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:743:33 [INFO] [stdout] | [INFO] [stdout] 743 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 743 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:760:33 [INFO] [stdout] | [INFO] [stdout] 760 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 760 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:787:33 [INFO] [stdout] | [INFO] [stdout] 787 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 787 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:809:33 [INFO] [stdout] | [INFO] [stdout] 809 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 809 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:825:33 [INFO] [stdout] | [INFO] [stdout] 825 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 825 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:837:33 [INFO] [stdout] | [INFO] [stdout] 837 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 837 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:849:33 [INFO] [stdout] | [INFO] [stdout] 849 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 849 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:868:33 [INFO] [stdout] | [INFO] [stdout] 868 | if len > isize::max as usize { return }; //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 868 | if len > isize::max as *const () as usize { return }; //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:888:43 [INFO] [stdout] | [INFO] [stdout] 888 | let ptr = if len > isize::max as usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 888 | let ptr = if len > isize::max as *const () as usize { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:904:43 [INFO] [stdout] | [INFO] [stdout] 904 | let ptr = if len > isize::max as usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 904 | let ptr = if len > isize::max as *const () as usize { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:329:33 [INFO] [stdout] | [INFO] [stdout] 329 | if len > isize::max as usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 329 | if len > isize::max as *const () as usize { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:356:33 [INFO] [stdout] | [INFO] [stdout] 356 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 356 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:397:33 [INFO] [stdout] | [INFO] [stdout] 397 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 397 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:423:33 [INFO] [stdout] | [INFO] [stdout] 423 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 423 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:442:33 [INFO] [stdout] | [INFO] [stdout] 442 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 442 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:460:33 [INFO] [stdout] | [INFO] [stdout] 460 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 460 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:486:33 [INFO] [stdout] | [INFO] [stdout] 486 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 486 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:503:33 [INFO] [stdout] | [INFO] [stdout] 503 | if len > isize::max as usize { return }; //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 503 | if len > isize::max as *const () as usize { return }; //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:513:33 [INFO] [stdout] | [INFO] [stdout] 513 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 513 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:544:43 [INFO] [stdout] | [INFO] [stdout] 544 | let ptr = if len > isize::max as usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 544 | let ptr = if len > isize::max as *const () as usize { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:561:43 [INFO] [stdout] | [INFO] [stdout] 561 | let ptr = if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 561 | let ptr = if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:743:33 [INFO] [stdout] | [INFO] [stdout] 743 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 743 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:760:33 [INFO] [stdout] | [INFO] [stdout] 760 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 760 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:787:33 [INFO] [stdout] | [INFO] [stdout] 787 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 787 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:809:33 [INFO] [stdout] | [INFO] [stdout] 809 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 809 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:825:33 [INFO] [stdout] | [INFO] [stdout] 825 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 825 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:837:33 [INFO] [stdout] | [INFO] [stdout] 837 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 837 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:849:33 [INFO] [stdout] | [INFO] [stdout] 849 | if len > isize::max as usize { //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 849 | if len > isize::max as *const () as usize { //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:868:33 [INFO] [stdout] | [INFO] [stdout] 868 | if len > isize::max as usize { return }; //inline string [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 868 | if len > isize::max as *const () as usize { return }; //inline string [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:888:43 [INFO] [stdout] | [INFO] [stdout] 888 | let ptr = if len > isize::max as usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 888 | let ptr = if len > isize::max as *const () as usize { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:904:43 [INFO] [stdout] | [INFO] [stdout] 904 | let ptr = if len > isize::max as usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 904 | let ptr = if len > isize::max as *const () as usize { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "3319eeb763db9b595000da364061714d673f7a74c1403aa20e694a13ec032292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3319eeb763db9b595000da364061714d673f7a74c1403aa20e694a13ec032292", kill_on_drop: false }` [INFO] [stdout] 3319eeb763db9b595000da364061714d673f7a74c1403aa20e694a13ec032292