[INFO] fetching crate hyper-routing 0.6.1... [INFO] testing hyper-routing-0.6.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate hyper-routing 0.6.1 into /workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hyper-routing 0.6.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f84f1e5d6044a7efc8a4fcad8da4361f0c20022191284e0f903fab2f348a12be [INFO] running `Command { std: "docker" "start" "-a" "f84f1e5d6044a7efc8a4fcad8da4361f0c20022191284e0f903fab2f348a12be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f84f1e5d6044a7efc8a4fcad8da4361f0c20022191284e0f903fab2f348a12be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f84f1e5d6044a7efc8a4fcad8da4361f0c20022191284e0f903fab2f348a12be", kill_on_drop: false }` [INFO] [stdout] f84f1e5d6044a7efc8a4fcad8da4361f0c20022191284e0f903fab2f348a12be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c464b9632a7a8700e1570d3e25ea10475dd7d29a125e71c5cffc0745c544f0f [INFO] running `Command { std: "docker" "start" "-a" "3c464b9632a7a8700e1570d3e25ea10475dd7d29a125e71c5cffc0745c544f0f", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling regex v1.11.3 [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 15.70s [INFO] running `Command { std: "docker" "inspect" "3c464b9632a7a8700e1570d3e25ea10475dd7d29a125e71c5cffc0745c544f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c464b9632a7a8700e1570d3e25ea10475dd7d29a125e71c5cffc0745c544f0f", kill_on_drop: false }` [INFO] [stdout] 3c464b9632a7a8700e1570d3e25ea10475dd7d29a125e71c5cffc0745c544f0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74c18b8a7ecafb3b4ef1ae23b4d419e7e58b45af09fe3dc2c7386029e114193c [INFO] running `Command { std: "docker" "start" "-a" "74c18b8a7ecafb3b4ef1ae23b4d419e7e58b45af09fe3dc2c7386029e114193c", 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.95s [INFO] running `Command { std: "docker" "inspect" "74c18b8a7ecafb3b4ef1ae23b4d419e7e58b45af09fe3dc2c7386029e114193c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74c18b8a7ecafb3b4ef1ae23b4d419e7e58b45af09fe3dc2c7386029e114193c", kill_on_drop: false }` [INFO] [stdout] 74c18b8a7ecafb3b4ef1ae23b4d419e7e58b45af09fe3dc2c7386029e114193c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b189d40f213d6e0ee1eee8b0b646c7bab259314e7f4432d59c8219eb30942385 [INFO] running `Command { std: "docker" "start" "-a" "b189d40f213d6e0ee1eee8b0b646c7bab259314e7f4432d59c8219eb30942385", 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.08s [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] [stdout] [INFO] [stdout] running 10 tests [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hyper_routing-c1060abe7cd41499) [INFO] [stderr] Running tests/basic.rs (/opt/rustwide/target/debug/deps/basic-3ea6dba05fc68def) [INFO] [stdout] test test_no_route ... ok [INFO] [stdout] test test_head_route ... ok [INFO] [stdout] test test_options_route ... ok [INFO] [stdout] test test_put_route ... ok [INFO] [stdout] test test_get_route ... ok [INFO] [stdout] test test_regex_path ... ok [INFO] [stdout] test test_post_route ... ok [INFO] [stdout] test test_patch_route ... ok [INFO] [stdout] test test_delete_route ... ok [INFO] [stderr] Doc-tests hyper_routing [INFO] [stdout] test test_trace_route ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [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.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b189d40f213d6e0ee1eee8b0b646c7bab259314e7f4432d59c8219eb30942385", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b189d40f213d6e0ee1eee8b0b646c7bab259314e7f4432d59c8219eb30942385", kill_on_drop: false }` [INFO] [stdout] b189d40f213d6e0ee1eee8b0b646c7bab259314e7f4432d59c8219eb30942385