[INFO] fetching crate hyper-routing 0.6.1... [INFO] testing hyper-routing-0.6.1 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate hyper-routing 0.6.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate hyper-routing 0.6.1 [INFO] finished tweaking crates.io crate hyper-routing 0.6.1 [INFO] tweaked toml for crates.io crate hyper-routing 0.6.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hyper-routing 0.6.1 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 60 packages to latest compatible versions [INFO] [stderr] Adding hyper v0.14.32 (available: v1.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8162a528e039b4a6efbdc940e9dbad6b95813607a6e3a52b7e75cdfdb2770931 [INFO] running `Command { std: "docker" "start" "-a" "8162a528e039b4a6efbdc940e9dbad6b95813607a6e3a52b7e75cdfdb2770931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8162a528e039b4a6efbdc940e9dbad6b95813607a6e3a52b7e75cdfdb2770931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8162a528e039b4a6efbdc940e9dbad6b95813607a6e3a52b7e75cdfdb2770931", kill_on_drop: false }` [INFO] [stdout] 8162a528e039b4a6efbdc940e9dbad6b95813607a6e3a52b7e75cdfdb2770931 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b73be1a85d6852141e7126608ccef83fbf72f866e9946c334582a72374bc210 [INFO] running `Command { std: "docker" "start" "-a" "8b73be1a85d6852141e7126608ccef83fbf72f866e9946c334582a72374bc210", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hyper-routing v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.43s [INFO] running `Command { std: "docker" "inspect" "8b73be1a85d6852141e7126608ccef83fbf72f866e9946c334582a72374bc210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b73be1a85d6852141e7126608ccef83fbf72f866e9946c334582a72374bc210", kill_on_drop: false }` [INFO] [stdout] 8b73be1a85d6852141e7126608ccef83fbf72f866e9946c334582a72374bc210 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e23510db7b245a758a378c3d313ee2c17a3bf1f58f1aea4f94f27c899430d91 [INFO] running `Command { std: "docker" "start" "-a" "0e23510db7b245a758a378c3d313ee2c17a3bf1f58f1aea4f94f27c899430d91", kill_on_drop: false }` [INFO] [stderr] Compiling hyper-routing v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> tests/basic.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | assert!(handler as fn(_) -> _ == handle_get_hello as fn(_) -> _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 37 - assert!(handler as fn(_) -> _ == handle_get_hello as fn(_) -> _); [INFO] [stdout] 37 + assert!(std::ptr::fn_addr_eq(handler as fn(_) -> _, handle_get_hello as fn(_) -> _)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> tests/basic.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | assert!(handler as fn(_) -> _ == handle_post_hello as fn(_) -> _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 69 - assert!(handler as fn(_) -> _ == handle_post_hello as fn(_) -> _); [INFO] [stdout] 69 + assert!(std::ptr::fn_addr_eq(handler as fn(_) -> _, handle_post_hello as fn(_) -> _)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> tests/basic.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | assert!(handler as fn(_) -> _ == handle_delete_hello as fn(_) -> _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 93 - assert!(handler as fn(_) -> _ == handle_delete_hello as fn(_) -> _); [INFO] [stdout] 93 + assert!(std::ptr::fn_addr_eq(handler as fn(_) -> _, handle_delete_hello as fn(_) -> _)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> tests/basic.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | assert!(handler as fn(_) -> _ == handle_options_hello as fn(_) -> _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 118 - assert!(handler as fn(_) -> _ == handle_options_hello as fn(_) -> _); [INFO] [stdout] 118 + assert!(std::ptr::fn_addr_eq(handler as fn(_) -> _, handle_options_hello as fn(_) -> _)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> tests/basic.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | assert!(handler as fn(_) -> _ == handle_put_hello as fn(_) -> _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 143 - assert!(handler as fn(_) -> _ == handle_put_hello as fn(_) -> _); [INFO] [stdout] 143 + assert!(std::ptr::fn_addr_eq(handler as fn(_) -> _, handle_put_hello as fn(_) -> _)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> tests/basic.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | assert!(handler as fn(_) -> _ == handle_head_hello as fn(_) -> _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 168 - assert!(handler as fn(_) -> _ == handle_head_hello as fn(_) -> _); [INFO] [stdout] 168 + assert!(std::ptr::fn_addr_eq(handler as fn(_) -> _, handle_head_hello as fn(_) -> _)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> tests/basic.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | assert!(handler as fn(_) -> _ == handle_trace_hello as fn(_) -> _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 193 - assert!(handler as fn(_) -> _ == handle_trace_hello as fn(_) -> _); [INFO] [stdout] 193 + assert!(std::ptr::fn_addr_eq(handler as fn(_) -> _, handle_trace_hello as fn(_) -> _)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> tests/basic.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | assert!(handler as fn(_) -> _ == handle_patch_hello as fn(_) -> _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 218 - assert!(handler as fn(_) -> _ == handle_patch_hello as fn(_) -> _); [INFO] [stdout] 218 + assert!(std::ptr::fn_addr_eq(handler as fn(_) -> _, handle_patch_hello as fn(_) -> _)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> tests/basic.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | assert!(handler as fn(_) -> _ == handle_regex_foo as fn(_) -> _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 271 - assert!(handler as fn(_) -> _ == handle_regex_foo as fn(_) -> _); [INFO] [stdout] 271 + assert!(std::ptr::fn_addr_eq(handler as fn(_) -> _, handle_regex_foo as fn(_) -> _)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "0e23510db7b245a758a378c3d313ee2c17a3bf1f58f1aea4f94f27c899430d91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e23510db7b245a758a378c3d313ee2c17a3bf1f58f1aea4f94f27c899430d91", kill_on_drop: false }` [INFO] [stdout] 0e23510db7b245a758a378c3d313ee2c17a3bf1f58f1aea4f94f27c899430d91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c8b1b21b74f4b9bc3d14446ffa2905b60b2ca7097c870f560b54093179ead39c [INFO] running `Command { std: "docker" "start" "-a" "c8b1b21b74f4b9bc3d14446ffa2905b60b2ca7097c870f560b54093179ead39c", kill_on_drop: false }` [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> tests/basic.rs:37:13 [INFO] [stderr] | [INFO] [stderr] 37 | assert!(handler as fn(_) -> _ == handle_get_hello as fn(_) -> _); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 37 - assert!(handler as fn(_) -> _ == handle_get_hello as fn(_) -> _); [INFO] [stderr] 37 + assert!(std::ptr::fn_addr_eq(handler as fn(_) -> _, handle_get_hello as fn(_) -> _)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> tests/basic.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | assert!(handler as fn(_) -> _ == handle_post_hello as fn(_) -> _); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 69 - assert!(handler as fn(_) -> _ == handle_post_hello as fn(_) -> _); [INFO] [stderr] 69 + assert!(std::ptr::fn_addr_eq(handler as fn(_) -> _, handle_post_hello as fn(_) -> _)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> tests/basic.rs:93:13 [INFO] [stderr] | [INFO] [stderr] 93 | assert!(handler as fn(_) -> _ == handle_delete_hello as fn(_) -> _); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 93 - assert!(handler as fn(_) -> _ == handle_delete_hello as fn(_) -> _); [INFO] [stderr] 93 + assert!(std::ptr::fn_addr_eq(handler as fn(_) -> _, handle_delete_hello as fn(_) -> _)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> tests/basic.rs:118:13 [INFO] [stderr] | [INFO] [stderr] 118 | assert!(handler as fn(_) -> _ == handle_options_hello as fn(_) -> _); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 118 - assert!(handler as fn(_) -> _ == handle_options_hello as fn(_) -> _); [INFO] [stderr] 118 + assert!(std::ptr::fn_addr_eq(handler as fn(_) -> _, handle_options_hello as fn(_) -> _)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> tests/basic.rs:143:13 [INFO] [stderr] | [INFO] [stderr] 143 | assert!(handler as fn(_) -> _ == handle_put_hello as fn(_) -> _); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 143 - assert!(handler as fn(_) -> _ == handle_put_hello as fn(_) -> _); [INFO] [stderr] 143 + assert!(std::ptr::fn_addr_eq(handler as fn(_) -> _, handle_put_hello as fn(_) -> _)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> tests/basic.rs:168:13 [INFO] [stderr] | [INFO] [stderr] 168 | assert!(handler as fn(_) -> _ == handle_head_hello as fn(_) -> _); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 168 - assert!(handler as fn(_) -> _ == handle_head_hello as fn(_) -> _); [INFO] [stderr] 168 + assert!(std::ptr::fn_addr_eq(handler as fn(_) -> _, handle_head_hello as fn(_) -> _)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> tests/basic.rs:193:13 [INFO] [stderr] | [INFO] [stderr] 193 | assert!(handler as fn(_) -> _ == handle_trace_hello as fn(_) -> _); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 193 - assert!(handler as fn(_) -> _ == handle_trace_hello as fn(_) -> _); [INFO] [stderr] 193 + assert!(std::ptr::fn_addr_eq(handler as fn(_) -> _, handle_trace_hello as fn(_) -> _)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> tests/basic.rs:218:13 [INFO] [stderr] | [INFO] [stderr] 218 | assert!(handler as fn(_) -> _ == handle_patch_hello as fn(_) -> _); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 218 - assert!(handler as fn(_) -> _ == handle_patch_hello as fn(_) -> _); [INFO] [stderr] 218 + assert!(std::ptr::fn_addr_eq(handler as fn(_) -> _, handle_patch_hello as fn(_) -> _)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> tests/basic.rs:271:13 [INFO] [stderr] | [INFO] [stderr] 271 | assert!(handler as fn(_) -> _ == handle_regex_foo as fn(_) -> _); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 271 - assert!(handler as fn(_) -> _ == handle_regex_foo as fn(_) -> _); [INFO] [stderr] 271 + assert!(std::ptr::fn_addr_eq(handler as fn(_) -> _, handle_regex_foo as fn(_) -> _)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `hyper-routing` (test "basic") generated 9 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hyper_routing-8a0bbf2753e98896) [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] [stderr] Running tests/basic.rs (/opt/rustwide/target/debug/deps/basic-1afacb8abbc200cd) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test test_no_route ... ok [INFO] [stdout] test test_head_route ... ok [INFO] [stdout] test test_delete_route ... ok [INFO] [stdout] test test_put_route ... ok [INFO] [stdout] test test_trace_route ... ok [INFO] [stdout] test test_get_route ... ok [INFO] [stdout] test test_options_route ... ok [INFO] [stdout] test test_post_route ... ok [INFO] [stdout] test test_patch_route ... ok [INFO] [stdout] test test_regex_path ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests hyper_routing [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/builder.rs - builder::RouterBuilder::add (line 22) ... ignored [INFO] [stdout] test src/route/route_impl.rs - route::route_impl::Route::handler (line 21) ... ignored [INFO] [stdout] test src/path.rs - path::Path::new (line 16) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c8b1b21b74f4b9bc3d14446ffa2905b60b2ca7097c870f560b54093179ead39c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8b1b21b74f4b9bc3d14446ffa2905b60b2ca7097c870f560b54093179ead39c", kill_on_drop: false }` [INFO] [stdout] c8b1b21b74f4b9bc3d14446ffa2905b60b2ca7097c870f560b54093179ead39c