[INFO] fetching crate mastring 0.2.0... [INFO] testing mastring-0.2.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [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 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bab7da90cf711ff38ebb575a0f20803af1250df48bb5e74bc965635e718f8e96 [INFO] running `Command { std: "docker" "start" "-a" "bab7da90cf711ff38ebb575a0f20803af1250df48bb5e74bc965635e718f8e96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bab7da90cf711ff38ebb575a0f20803af1250df48bb5e74bc965635e718f8e96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bab7da90cf711ff38ebb575a0f20803af1250df48bb5e74bc965635e718f8e96", kill_on_drop: false }` [INFO] [stdout] bab7da90cf711ff38ebb575a0f20803af1250df48bb5e74bc965635e718f8e96 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90d9d82004ec58c894ebc21f8fcb7c0f9b428a95f18bb054e1afd9c182995ea3 [INFO] running `Command { std: "docker" "start" "-a" "90d9d82004ec58c894ebc21f8fcb7c0f9b428a95f18bb054e1afd9c182995ea3", 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.38s [INFO] running `Command { std: "docker" "inspect" "90d9d82004ec58c894ebc21f8fcb7c0f9b428a95f18bb054e1afd9c182995ea3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90d9d82004ec58c894ebc21f8fcb7c0f9b428a95f18bb054e1afd9c182995ea3", kill_on_drop: false }` [INFO] [stdout] 90d9d82004ec58c894ebc21f8fcb7c0f9b428a95f18bb054e1afd9c182995ea3 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bc38699dc4a501fb5fce5c13e5f5e32d049cbded6b8001e4aae9fe1d0c3833e [INFO] running `Command { std: "docker" "start" "-a" "2bc38699dc4a501fb5fce5c13e5f5e32d049cbded6b8001e4aae9fe1d0c3833e", kill_on_drop: false }` [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] [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: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.30s [INFO] running `Command { std: "docker" "inspect" "2bc38699dc4a501fb5fce5c13e5f5e32d049cbded6b8001e4aae9fe1d0c3833e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bc38699dc4a501fb5fce5c13e5f5e32d049cbded6b8001e4aae9fe1d0c3833e", kill_on_drop: false }` [INFO] [stdout] 2bc38699dc4a501fb5fce5c13e5f5e32d049cbded6b8001e4aae9fe1d0c3833e [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 31ebe96761aebe8b23eb56d1cecbee6346d22343d26ca30d7f83f095d452e41a [INFO] running `Command { std: "docker" "start" "-a" "31ebe96761aebe8b23eb56d1cecbee6346d22343d26ca30d7f83f095d452e41a", 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.09s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mastring-9a83fae7be5d90a6) [INFO] [stdout] running 2 tests [INFO] [stderr] Running tests/bytestring.rs (/opt/rustwide/target/debug/deps/bytestring-71eb48e24d005d7b) [INFO] [stdout] test test_len_transmutation ... ok [INFO] [stdout] test test_reserve_extra_internal ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test test_add_and_eq ... ok [INFO] [stdout] test test_clear ... ok [INFO] [stdout] test test_deref ... ok [INFO] [stdout] test test_deref_mut ... ok [INFO] [stdout] test test_from_builder ... ok [INFO] [stdout] test test_from_slice ... ok [INFO] [stdout] test test_from_vec ... ok [INFO] [stdout] test test_get_mode ... ok [INFO] [stdout] test test_new ... ok [INFO] [stdout] test test_reserve ... ok [INFO] [stdout] test test_into_vec ... ok [INFO] [stdout] test test_debug ... ok [INFO] [stdout] test test_capacity ... ok [INFO] [stdout] test test_clone_and_drop ... ok [INFO] [stdout] test test_from_static ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s [INFO] [stdout] [INFO] [stderr] Running tests/bytestringbuilder.rs (/opt/rustwide/target/debug/deps/bytestringbuilder-0ba1aebd97d1f9fb) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test test_clear ... ok [INFO] [stdout] test test_add_and_eq ... 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_from_mabs ... 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_deref_mut ... ok [INFO] [stdout] test test_deref ... ok [INFO] [stderr] Running tests/string.rs (/opt/rustwide/target/debug/deps/string-d0e0f3ad1b5f22f4) [INFO] [stdout] test test_from_slice ... ok [INFO] [stdout] test test_into_vec ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test test_add_and_eq ... ok [INFO] [stdout] test test_as_mut_slice ... ok [INFO] [stdout] test test_deref ... ok [INFO] [stdout] test test_deref_mut ... ok [INFO] [stdout] test test_from_static ... ok [INFO] [stdout] test test_from_builder ... ok [INFO] [stdout] test test_clone_and_drop ... ok [INFO] [stdout] test test_capacity ... ok [INFO] [stdout] test test_clear ... ok [INFO] [stdout] test test_debug ... ok [INFO] [stdout] test test_from_slice ... ok [INFO] [stdout] test test_from_str ... ok [INFO] [stdout] test test_display ... 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_new ... ok [INFO] [stdout] test test_reserve ... ok [INFO] [stdout] test test_into_bytes ... ok [INFO] [stdout] test test_into_string ... ok [INFO] [stdout] test test_into_vec ... ok [INFO] [stdout] test test_get_mode ... 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_clear ... ok [INFO] [stdout] test test_debug ... ok [INFO] [stdout] test test_add_and_eq ... ok [INFO] [stdout] test test_from_string ... ok [INFO] [stdout] test test_deref ... ok [INFO] [stdout] test test_deref_mut ... ok [INFO] [stdout] test test_from_utf8 ... ok [INFO] [stdout] test test_from_mas ... ok [INFO] [stdout] test test_from_utf8_unchecked ... ok [INFO] [stdout] test test_capacity ... ok [INFO] [stdout] test test_get_mode ... ok [INFO] [stdout] test test_into_string ... ok [INFO] [stdout] test test_new ... ok [INFO] [stdout] test test_from_utf8_lossy ... ok [INFO] [stdout] test test_clone_and_drop ... ok [INFO] [stdout] test test_reserve ... ok [INFO] [stdout] test test_into_vec ... ok [INFO] [stdout] test test_display ... ok [INFO] [stdout] test test_into_bytes ... ok [INFO] [stdout] test test_from_slice ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests mastring [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" "31ebe96761aebe8b23eb56d1cecbee6346d22343d26ca30d7f83f095d452e41a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31ebe96761aebe8b23eb56d1cecbee6346d22343d26ca30d7f83f095d452e41a", kill_on_drop: false }` [INFO] [stdout] 31ebe96761aebe8b23eb56d1cecbee6346d22343d26ca30d7f83f095d452e41a