[INFO] fetching crate hyper-routing 0.6.1... [INFO] testing hyper-routing-0.6.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate hyper-routing 0.6.1 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hyper-routing 0.6.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 59 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 648cedec24425d56ce2b0add42357f7b06b31513c2962629aa485a3692eee242 [INFO] running `Command { std: "docker" "start" "-a" "648cedec24425d56ce2b0add42357f7b06b31513c2962629aa485a3692eee242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "648cedec24425d56ce2b0add42357f7b06b31513c2962629aa485a3692eee242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "648cedec24425d56ce2b0add42357f7b06b31513c2962629aa485a3692eee242", kill_on_drop: false }` [INFO] [stdout] 648cedec24425d56ce2b0add42357f7b06b31513c2962629aa485a3692eee242 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c27878f10f229bef3c858d56641107485ca631f016ca63205d3a19446e38b76d [INFO] running `Command { std: "docker" "start" "-a" "c27878f10f229bef3c858d56641107485ca631f016ca63205d3a19446e38b76d", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [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.56s [INFO] running `Command { std: "docker" "inspect" "c27878f10f229bef3c858d56641107485ca631f016ca63205d3a19446e38b76d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c27878f10f229bef3c858d56641107485ca631f016ca63205d3a19446e38b76d", kill_on_drop: false }` [INFO] [stdout] c27878f10f229bef3c858d56641107485ca631f016ca63205d3a19446e38b76d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be7e70f74a78dd6f11643b9e1a34fc5b31c4edbbe99829522d639e7c951dfff9 [INFO] running `Command { std: "docker" "start" "-a" "be7e70f74a78dd6f11643b9e1a34fc5b31c4edbbe99829522d639e7c951dfff9", 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.79s [INFO] running `Command { std: "docker" "inspect" "be7e70f74a78dd6f11643b9e1a34fc5b31c4edbbe99829522d639e7c951dfff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be7e70f74a78dd6f11643b9e1a34fc5b31c4edbbe99829522d639e7c951dfff9", kill_on_drop: false }` [INFO] [stdout] be7e70f74a78dd6f11643b9e1a34fc5b31c4edbbe99829522d639e7c951dfff9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 59406b5d714dafa2423681ca6846b2a24dabbe3e5fcbc3486c08b70d98a077ae [INFO] running `Command { std: "docker" "start" "-a" "59406b5d714dafa2423681ca6846b2a24dabbe3e5fcbc3486c08b70d98a077ae", 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.29s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hyper_routing-38c7137025a1890e) [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-c4b1e804b05a2dd7) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test test_no_route ... ok [INFO] [stdout] test test_options_route ... ok [INFO] [stdout] test test_patch_route ... ok [INFO] [stdout] test test_delete_route ... ok [INFO] [stdout] test test_post_route ... ok [INFO] [stdout] test test_head_route ... ok [INFO] [stdout] test test_put_route ... ok [INFO] [stdout] test test_regex_path ... ok [INFO] [stdout] test test_trace_route ... ok [INFO] [stdout] test test_get_route ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [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.10s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "59406b5d714dafa2423681ca6846b2a24dabbe3e5fcbc3486c08b70d98a077ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59406b5d714dafa2423681ca6846b2a24dabbe3e5fcbc3486c08b70d98a077ae", kill_on_drop: false }` [INFO] [stdout] 59406b5d714dafa2423681ca6846b2a24dabbe3e5fcbc3486c08b70d98a077ae