[INFO] fetching crate mastring 0.2.0... [INFO] testing mastring-0.2.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate mastring 0.2.0 into /workspace/builds/worker-7-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mastring 0.2.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25c3239142e9336428d87c78762a285ed9654d6e58831086e7b1f09082dee684 [INFO] running `Command { std: "docker" "start" "-a" "25c3239142e9336428d87c78762a285ed9654d6e58831086e7b1f09082dee684", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25c3239142e9336428d87c78762a285ed9654d6e58831086e7b1f09082dee684", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25c3239142e9336428d87c78762a285ed9654d6e58831086e7b1f09082dee684", kill_on_drop: false }` [INFO] [stdout] 25c3239142e9336428d87c78762a285ed9654d6e58831086e7b1f09082dee684 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5112cfd4bf9b3ebc7d2ebda665f793fd230c63d8235443560f044ca0dfd65e87 [INFO] running `Command { std: "docker" "start" "-a" "5112cfd4bf9b3ebc7d2ebda665f793fd230c63d8235443560f044ca0dfd65e87", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "5112cfd4bf9b3ebc7d2ebda665f793fd230c63d8235443560f044ca0dfd65e87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5112cfd4bf9b3ebc7d2ebda665f793fd230c63d8235443560f044ca0dfd65e87", kill_on_drop: false }` [INFO] [stdout] 5112cfd4bf9b3ebc7d2ebda665f793fd230c63d8235443560f044ca0dfd65e87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c61ce3cf3eac16514c7ac01d2979cb042bcd7c709898de07d81122c4f701bd1 [INFO] running `Command { std: "docker" "start" "-a" "9c61ce3cf3eac16514c7ac01d2979cb042bcd7c709898de07d81122c4f701bd1", kill_on_drop: false }` [INFO] [stderr] Compiling 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 `test` profile [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `Command { std: "docker" "inspect" "9c61ce3cf3eac16514c7ac01d2979cb042bcd7c709898de07d81122c4f701bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c61ce3cf3eac16514c7ac01d2979cb042bcd7c709898de07d81122c4f701bd1", kill_on_drop: false }` [INFO] [stdout] 9c61ce3cf3eac16514c7ac01d2979cb042bcd7c709898de07d81122c4f701bd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1e815376e54c3c2821a4d3096c814db5e08e0105ac97ccca6235422a949190fc [INFO] running `Command { std: "docker" "start" "-a" "1e815376e54c3c2821a4d3096c814db5e08e0105ac97ccca6235422a949190fc", kill_on_drop: false }` [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/lib.rs:329:33 [INFO] [stderr] | [INFO] [stderr] 329 | if len > isize::max as usize { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 329 | if len > isize::max as *const () as usize { [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/lib.rs:356:33 [INFO] [stderr] | [INFO] [stderr] 356 | if len > isize::max as usize { //inline string [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 356 | if len > isize::max as *const () as usize { //inline string [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/lib.rs:397:33 [INFO] [stderr] | [INFO] [stderr] 397 | if len > isize::max as usize { //inline string [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 397 | if len > isize::max as *const () as usize { //inline string [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/lib.rs:423:33 [INFO] [stderr] | [INFO] [stderr] 423 | if len > isize::max as usize { //inline string [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 423 | if len > isize::max as *const () as usize { //inline string [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/lib.rs:442:33 [INFO] [stderr] | [INFO] [stderr] 442 | if len > isize::max as usize { //inline string [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 442 | if len > isize::max as *const () as usize { //inline string [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/lib.rs:460:33 [INFO] [stderr] | [INFO] [stderr] 460 | if len > isize::max as usize { //inline string [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 460 | if len > isize::max as *const () as usize { //inline string [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/lib.rs:486:33 [INFO] [stderr] | [INFO] [stderr] 486 | if len > isize::max as usize { //inline string [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 486 | if len > isize::max as *const () as usize { //inline string [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/lib.rs:503:33 [INFO] [stderr] | [INFO] [stderr] 503 | if len > isize::max as usize { return }; //inline string [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 503 | if len > isize::max as *const () as usize { return }; //inline string [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/lib.rs:513:33 [INFO] [stderr] | [INFO] [stderr] 513 | if len > isize::max as usize { //inline string [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 513 | if len > isize::max as *const () as usize { //inline string [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/lib.rs:544:43 [INFO] [stderr] | [INFO] [stderr] 544 | let ptr = if len > isize::max as usize { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 544 | let ptr = if len > isize::max as *const () as usize { [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/lib.rs:561:43 [INFO] [stderr] | [INFO] [stderr] 561 | let ptr = if len > isize::max as usize { //inline string [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 561 | let ptr = if len > isize::max as *const () as usize { //inline string [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/lib.rs:743:33 [INFO] [stderr] | [INFO] [stderr] 743 | if len > isize::max as usize { //inline string [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 743 | if len > isize::max as *const () as usize { //inline string [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/lib.rs:760:33 [INFO] [stderr] | [INFO] [stderr] 760 | if len > isize::max as usize { //inline string [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 760 | if len > isize::max as *const () as usize { //inline string [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/lib.rs:787:33 [INFO] [stderr] | [INFO] [stderr] 787 | if len > isize::max as usize { //inline string [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 787 | if len > isize::max as *const () as usize { //inline string [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/lib.rs:809:33 [INFO] [stderr] | [INFO] [stderr] 809 | if len > isize::max as usize { //inline string [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 809 | if len > isize::max as *const () as usize { //inline string [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/lib.rs:825:33 [INFO] [stderr] | [INFO] [stderr] 825 | if len > isize::max as usize { //inline string [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 825 | if len > isize::max as *const () as usize { //inline string [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/lib.rs:837:33 [INFO] [stderr] | [INFO] [stderr] 837 | if len > isize::max as usize { //inline string [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 837 | if len > isize::max as *const () as usize { //inline string [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/lib.rs:849:33 [INFO] [stderr] | [INFO] [stderr] 849 | if len > isize::max as usize { //inline string [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 849 | if len > isize::max as *const () as usize { //inline string [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/lib.rs:868:33 [INFO] [stderr] | [INFO] [stderr] 868 | if len > isize::max as usize { return }; //inline string [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 868 | if len > isize::max as *const () as usize { return }; //inline string [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/lib.rs:888:43 [INFO] [stderr] | [INFO] [stderr] 888 | let ptr = if len > isize::max as usize { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 888 | let ptr = if len > isize::max as *const () as usize { [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: direct cast of function item into an integer [INFO] [stderr] --> src/lib.rs:904:43 [INFO] [stderr] | [INFO] [stderr] 904 | let ptr = if len > isize::max as usize { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: first cast to a pointer `as *const ()` [INFO] [stderr] | [INFO] [stderr] 904 | let ptr = if len > isize::max as *const () as usize { [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: `mastring` (lib) generated 21 warnings (run `cargo fix --lib -p mastring` to apply 21 suggestions) [INFO] [stderr] warning: `mastring` (lib test) generated 21 warnings (21 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mastring-9a83fae7be5d90a6) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_reserve_extra_internal ... ok [INFO] [stdout] test test_len_transmutation ... ok [INFO] [stderr] Running tests/bytestring.rs (/opt/rustwide/target/debug/deps/bytestring-71eb48e24d005d7b) [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test test_capacity ... ok [INFO] [stdout] test test_add_and_eq ... ok [INFO] [stdout] test test_clear ... ok [INFO] [stdout] test test_debug ... ok [INFO] [stdout] test test_clone_and_drop ... ok [INFO] [stdout] test test_from_builder ... ok [INFO] [stdout] test test_from_slice ... ok [INFO] [stdout] test test_from_static ... ok [INFO] [stdout] test test_into_vec ... ok [INFO] [stdout] test test_get_mode ... ok [INFO] [stdout] test test_from_vec ... ok [INFO] [stdout] test test_reserve ... ok [INFO] [stdout] test test_deref ... ok [INFO] [stdout] test test_new ... ok [INFO] [stdout] test test_deref_mut ... ok [INFO] [stderr] Running tests/bytestringbuilder.rs (/opt/rustwide/target/debug/deps/bytestringbuilder-0ba1aebd97d1f9fb) [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test test_add_and_eq ... ok [INFO] [stdout] test test_capacity ... ok [INFO] [stdout] test test_clear ... ok [INFO] [stdout] test test_debug ... ok [INFO] [stdout] test test_deref_mut ... ok [INFO] [stdout] test test_from_slice ... ok [INFO] [stdout] test test_deref ... ok [INFO] [stdout] test test_get_mode ... ok [INFO] [stdout] test test_new ... ok [INFO] [stdout] test test_reserve ... ok [INFO] [stdout] test test_from_vec ... ok [INFO] [stdout] test test_clone_and_drop ... ok [INFO] [stdout] test test_from_mabs ... ok [INFO] [stdout] test test_into_vec ... ok [INFO] [stderr] Running tests/string.rs (/opt/rustwide/target/debug/deps/string-d0e0f3ad1b5f22f4) [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test test_clear ... ok [INFO] [stdout] test test_as_mut_slice ... ok [INFO] [stdout] test test_debug ... ok [INFO] [stdout] test test_clone_and_drop ... ok [INFO] [stdout] test test_deref ... ok [INFO] [stdout] test test_display ... ok [INFO] [stdout] test test_from_builder ... ok [INFO] [stdout] test test_deref_mut ... ok [INFO] [stdout] test test_from_static ... ok [INFO] [stdout] test test_from_slice ... ok [INFO] [stdout] test test_from_str ... ok [INFO] [stdout] test test_capacity ... ok [INFO] [stdout] test test_from_utf8_lossy ... ok [INFO] [stdout] test test_add_and_eq ... ok [INFO] [stdout] test test_from_utf8 ... ok [INFO] [stdout] test test_into_bytes ... ok [INFO] [stdout] test test_into_vec ... ok [INFO] [stdout] test test_new ... ok [INFO] [stdout] test test_reserve ... ok [INFO] [stdout] test test_get_mode ... ok [INFO] [stdout] test test_into_string ... ok [INFO] [stdout] test test_from_utf8_unchecked ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/stringbuilder.rs (/opt/rustwide/target/debug/deps/stringbuilder-ab4d0150c8761345) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test test_as_mut_slice ... ok [INFO] [stdout] test test_add_and_eq ... ok [INFO] [stdout] test test_clear ... ok [INFO] [stdout] test test_capacity ... ok [INFO] [stdout] test test_clone_and_drop ... ok [INFO] [stdout] test test_debug ... ok [INFO] [stdout] test test_deref_mut ... ok [INFO] [stdout] test test_deref ... ok [INFO] [stdout] test test_display ... ok [INFO] [stdout] test test_from_mas ... ok [INFO] [stdout] test test_from_slice ... ok [INFO] [stdout] test test_from_string ... ok [INFO] [stdout] test test_from_utf8 ... ok [INFO] [stdout] test test_from_utf8_lossy ... ok [INFO] [stdout] test test_from_utf8_unchecked ... ok [INFO] [stdout] test test_get_mode ... ok [INFO] [stdout] test test_into_bytes ... ok [INFO] [stderr] Doc-tests mastring [INFO] [stdout] test test_into_vec ... ok [INFO] [stdout] test test_new ... ok [INFO] [stdout] test test_reserve ... ok [INFO] [stdout] test test_into_string ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1e815376e54c3c2821a4d3096c814db5e08e0105ac97ccca6235422a949190fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e815376e54c3c2821a4d3096c814db5e08e0105ac97ccca6235422a949190fc", kill_on_drop: false }` [INFO] [stdout] 1e815376e54c3c2821a4d3096c814db5e08e0105ac97ccca6235422a949190fc