[INFO] fetching crate hyper-routing 0.6.1... [INFO] testing hyper-routing-0.6.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate hyper-routing 0.6.1 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hyper-routing 0.6.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2880e75058a30410ec1e0009b5597ad73bf8a3d233c6cfa307af3ef48380fa1d [INFO] running `Command { std: "docker" "start" "-a" "2880e75058a30410ec1e0009b5597ad73bf8a3d233c6cfa307af3ef48380fa1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2880e75058a30410ec1e0009b5597ad73bf8a3d233c6cfa307af3ef48380fa1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2880e75058a30410ec1e0009b5597ad73bf8a3d233c6cfa307af3ef48380fa1d", kill_on_drop: false }` [INFO] [stdout] 2880e75058a30410ec1e0009b5597ad73bf8a3d233c6cfa307af3ef48380fa1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26741181df3f42116abf9209abd43e76ce18b2bea4290776f0d7660202d60246 [INFO] running `Command { std: "docker" "start" "-a" "26741181df3f42116abf9209abd43e76ce18b2bea4290776f0d7660202d60246", 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.82s [INFO] running `Command { std: "docker" "inspect" "26741181df3f42116abf9209abd43e76ce18b2bea4290776f0d7660202d60246", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26741181df3f42116abf9209abd43e76ce18b2bea4290776f0d7660202d60246", kill_on_drop: false }` [INFO] [stdout] 26741181df3f42116abf9209abd43e76ce18b2bea4290776f0d7660202d60246 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a75f162785fd4d43a1d4eb3553151192bea3128fd1c124ba281c6b5ed5993324 [INFO] running `Command { std: "docker" "start" "-a" "a75f162785fd4d43a1d4eb3553151192bea3128fd1c124ba281c6b5ed5993324", 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.93s [INFO] running `Command { std: "docker" "inspect" "a75f162785fd4d43a1d4eb3553151192bea3128fd1c124ba281c6b5ed5993324", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a75f162785fd4d43a1d4eb3553151192bea3128fd1c124ba281c6b5ed5993324", kill_on_drop: false }` [INFO] [stdout] a75f162785fd4d43a1d4eb3553151192bea3128fd1c124ba281c6b5ed5993324 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 920f58b485c1b3a8b0cee188c9b90c16656a8e807326c23c3c48fd5a89a56931 [INFO] running `Command { std: "docker" "start" "-a" "920f58b485c1b3a8b0cee188c9b90c16656a8e807326c23c3c48fd5a89a56931", 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] [stdout] [INFO] [stderr] --> tests/basic.rs:37:13 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 37 | assert!(handler as fn(_) -> _ == handle_get_hello as fn(_) -> _); [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [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-38c7137025a1890e) [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_delete_route ... ok [INFO] [stdout] test test_get_route ... ok [INFO] [stdout] test test_head_route ... ok [INFO] [stdout] test test_post_route ... ok [INFO] [stdout] test test_trace_route ... ok [INFO] [stdout] test test_options_route ... ok [INFO] [stdout] test test_put_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.06s [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.12s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "920f58b485c1b3a8b0cee188c9b90c16656a8e807326c23c3c48fd5a89a56931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "920f58b485c1b3a8b0cee188c9b90c16656a8e807326c23c3c48fd5a89a56931", kill_on_drop: false }` [INFO] [stdout] 920f58b485c1b3a8b0cee188c9b90c16656a8e807326c23c3c48fd5a89a56931