[INFO] fetching crate hyper-routing 0.6.1... [INFO] testing hyper-routing-0.6.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate hyper-routing 0.6.1 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hyper-routing 0.6.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 54 packages to latest compatible versions [INFO] [stderr] Adding hyper v0.14.32 (available: v1.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cd2e35e55eeb79bbe0b2df742bb0c16bf00139e5f40a9707b3304979c9f6a97 [INFO] running `Command { std: "docker" "start" "-a" "0cd2e35e55eeb79bbe0b2df742bb0c16bf00139e5f40a9707b3304979c9f6a97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cd2e35e55eeb79bbe0b2df742bb0c16bf00139e5f40a9707b3304979c9f6a97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cd2e35e55eeb79bbe0b2df742bb0c16bf00139e5f40a9707b3304979c9f6a97", kill_on_drop: false }` [INFO] [stdout] 0cd2e35e55eeb79bbe0b2df742bb0c16bf00139e5f40a9707b3304979c9f6a97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5dc7907aaadc660f710c8108ab57fb8924417c751adad1e7ecc773bca2afc0b0 [INFO] running `Command { std: "docker" "start" "-a" "5dc7907aaadc660f710c8108ab57fb8924417c751adad1e7ecc773bca2afc0b0", kill_on_drop: false }` [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [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 16.09s [INFO] running `Command { std: "docker" "inspect" "5dc7907aaadc660f710c8108ab57fb8924417c751adad1e7ecc773bca2afc0b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dc7907aaadc660f710c8108ab57fb8924417c751adad1e7ecc773bca2afc0b0", kill_on_drop: false }` [INFO] [stdout] 5dc7907aaadc660f710c8108ab57fb8924417c751adad1e7ecc773bca2afc0b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6a3aa869ecf40443d167f755c1c3ea7613049e72a0b426110bbc4b3b64d9c159 [INFO] running `Command { std: "docker" "start" "-a" "6a3aa869ecf40443d167f755c1c3ea7613049e72a0b426110bbc4b3b64d9c159", 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 1.59s [INFO] running `Command { std: "docker" "inspect" "6a3aa869ecf40443d167f755c1c3ea7613049e72a0b426110bbc4b3b64d9c159", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a3aa869ecf40443d167f755c1c3ea7613049e72a0b426110bbc4b3b64d9c159", kill_on_drop: false }` [INFO] [stdout] 6a3aa869ecf40443d167f755c1c3ea7613049e72a0b426110bbc4b3b64d9c159 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5725c62fadbeb4f467a8c8b4c2f1c2465dfea2a5020a8a878acb46f446320a34 [INFO] running `Command { std: "docker" "start" "-a" "5725c62fadbeb4f467a8c8b4c2f1c2465dfea2a5020a8a878acb46f446320a34", 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.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/hyper_routing-08bce9d38d618dc9) [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/x86_64-unknown-linux-musl/debug/deps/basic-be1a79b0613b438f) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test test_trace_route ... ok [INFO] [stdout] test test_delete_route ... ok [INFO] [stdout] test test_no_route ... ok [INFO] [stdout] test test_patch_route ... ok [INFO] [stdout] test test_put_route ... ok [INFO] [stdout] test test_options_route ... ok [INFO] [stdout] test test_regex_path ... ok [INFO] [stdout] test test_head_route ... ok [INFO] [stdout] test test_post_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.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5725c62fadbeb4f467a8c8b4c2f1c2465dfea2a5020a8a878acb46f446320a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5725c62fadbeb4f467a8c8b4c2f1c2465dfea2a5020a8a878acb46f446320a34", kill_on_drop: false }` [INFO] [stdout] 5725c62fadbeb4f467a8c8b4c2f1c2465dfea2a5020a8a878acb46f446320a34