[INFO] fetching crate hyper-tree-router 0.1.0... [INFO] testing hyper-tree-router-0.1.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate hyper-tree-router 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate hyper-tree-router 0.1.0 [INFO] finished tweaking crates.io crate hyper-tree-router 0.1.0 [INFO] tweaked toml for crates.io crate hyper-tree-router 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hyper-tree-router 0.1.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hyper-tree-router 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b0eb792c2e79007b2e9fe0f3ee236e053e155a8a1a797a93169784866a216ff [INFO] running `Command { std: "docker" "start" "-a" "2b0eb792c2e79007b2e9fe0f3ee236e053e155a8a1a797a93169784866a216ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b0eb792c2e79007b2e9fe0f3ee236e053e155a8a1a797a93169784866a216ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b0eb792c2e79007b2e9fe0f3ee236e053e155a8a1a797a93169784866a216ff", kill_on_drop: false }` [INFO] [stdout] 2b0eb792c2e79007b2e9fe0f3ee236e053e155a8a1a797a93169784866a216ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3299388bb10fa9dade0e568aced6474443b49706993cc867dc8b196b17531bc [INFO] running `Command { std: "docker" "start" "-a" "f3299388bb10fa9dade0e568aced6474443b49706993cc867dc8b196b17531bc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling prefix_tree_map v0.2.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling hyper-tree-router v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.36s [INFO] running `Command { std: "docker" "inspect" "f3299388bb10fa9dade0e568aced6474443b49706993cc867dc8b196b17531bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3299388bb10fa9dade0e568aced6474443b49706993cc867dc8b196b17531bc", kill_on_drop: false }` [INFO] [stdout] f3299388bb10fa9dade0e568aced6474443b49706993cc867dc8b196b17531bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fe445096e80e0867a8daea4d50a6bdb32761c3d47e4bda64453dfcc0fa501a8 [INFO] running `Command { std: "docker" "start" "-a" "4fe445096e80e0867a8daea4d50a6bdb32761c3d47e4bda64453dfcc0fa501a8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling hyper-tree-router v0.1.0 (/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] --> src/lib.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | 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] 94 - assert!(handler as fn(_, _) -> _ == handle_get_hello as fn(_, _) -> _); [INFO] [stdout] 94 + 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] --> src/lib.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | 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] 107 - assert!(handler as fn(_, _) -> _ == handle_post_hello as fn(_, _) -> _); [INFO] [stdout] 107 + 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] --> src/lib.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | 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] 120 - assert!(handler as fn(_, _) -> _ == handle_delete_hello as fn(_, _) -> _); [INFO] [stdout] 120 + 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] --> src/lib.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | 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] 133 - assert!(handler as fn(_, _) -> _ == handle_options_hello as fn(_, _) -> _); [INFO] [stdout] 133 + 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] --> src/lib.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | 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] 146 - assert!(handler as fn(_, _) -> _ == handle_put_hello as fn(_, _) -> _); [INFO] [stdout] 146 + 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] --> src/lib.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | 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] 159 - assert!(handler as fn(_, _) -> _ == handle_head_hello as fn(_, _) -> _); [INFO] [stdout] 159 + 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] --> src/lib.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | 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] 172 - assert!(handler as fn(_, _) -> _ == handle_trace_hello as fn(_, _) -> _); [INFO] [stdout] 172 + 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] --> src/lib.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | 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] 185 - assert!(handler as fn(_, _) -> _ == handle_patch_hello as fn(_, _) -> _); [INFO] [stdout] 185 + 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] --> src/lib.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | assert!(handler as fn(_, _) -> _ == handle_param_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] 213 - assert!(handler as fn(_, _) -> _ == handle_param_foo as fn(_, _) -> _); [INFO] [stdout] 213 + assert!(std::ptr::fn_addr_eq(handler as fn(_, _) -> _, handle_param_foo as fn(_, _) -> _)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.76s [INFO] running `Command { std: "docker" "inspect" "4fe445096e80e0867a8daea4d50a6bdb32761c3d47e4bda64453dfcc0fa501a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fe445096e80e0867a8daea4d50a6bdb32761c3d47e4bda64453dfcc0fa501a8", kill_on_drop: false }` [INFO] [stdout] 4fe445096e80e0867a8daea4d50a6bdb32761c3d47e4bda64453dfcc0fa501a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 994073e93b5a530890109a69346c505a1bc547e7a4f9bb5e8bcd3c9857d340c6 [INFO] running `Command { std: "docker" "start" "-a" "994073e93b5a530890109a69346c505a1bc547e7a4f9bb5e8bcd3c9857d340c6", 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] --> src/lib.rs:94:17 [INFO] [stderr] | [INFO] [stderr] 94 | 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] 94 - assert!(handler as fn(_, _) -> _ == handle_get_hello as fn(_, _) -> _); [INFO] [stderr] 94 + 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] --> src/lib.rs:107:17 [INFO] [stderr] | [INFO] [stderr] 107 | 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] 107 - assert!(handler as fn(_, _) -> _ == handle_post_hello as fn(_, _) -> _); [INFO] [stderr] 107 + 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] --> src/lib.rs:120:17 [INFO] [stderr] | [INFO] [stderr] 120 | 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] 120 - assert!(handler as fn(_, _) -> _ == handle_delete_hello as fn(_, _) -> _); [INFO] [stderr] 120 + 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] --> src/lib.rs:133:17 [INFO] [stderr] | [INFO] [stderr] 133 | 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] 133 - assert!(handler as fn(_, _) -> _ == handle_options_hello as fn(_, _) -> _); [INFO] [stderr] 133 + 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] --> src/lib.rs:146:17 [INFO] [stderr] | [INFO] [stderr] 146 | 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] 146 - assert!(handler as fn(_, _) -> _ == handle_put_hello as fn(_, _) -> _); [INFO] [stderr] 146 + 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] --> src/lib.rs:159:17 [INFO] [stderr] | [INFO] [stderr] 159 | 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] 159 - assert!(handler as fn(_, _) -> _ == handle_head_hello as fn(_, _) -> _); [INFO] [stderr] 159 + 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] --> src/lib.rs:172:17 [INFO] [stderr] | [INFO] [stderr] 172 | 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] 172 - assert!(handler as fn(_, _) -> _ == handle_trace_hello as fn(_, _) -> _); [INFO] [stderr] 172 + 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] --> src/lib.rs:185:17 [INFO] [stderr] | [INFO] [stderr] 185 | 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] 185 - assert!(handler as fn(_, _) -> _ == handle_patch_hello as fn(_, _) -> _); [INFO] [stderr] 185 + 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] --> src/lib.rs:213:17 [INFO] [stderr] | [INFO] [stderr] 213 | assert!(handler as fn(_, _) -> _ == handle_param_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] 213 - assert!(handler as fn(_, _) -> _ == handle_param_foo as fn(_, _) -> _); [INFO] [stderr] 213 + assert!(std::ptr::fn_addr_eq(handler as fn(_, _) -> _, handle_param_foo as fn(_, _) -> _)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `hyper-tree-router` (lib test) generated 9 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.89s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hyper_tree_router-74ae7f5ae82c12a5) [INFO] [stdout] running 10 tests [INFO] [stdout] test integration_tests::test_delete_route ... ok [INFO] [stderr] Doc-tests hyper_tree_router [INFO] [stdout] test integration_tests::test_head_route ... ok [INFO] [stdout] test integration_tests::test_patch_route ... ok [INFO] [stdout] test integration_tests::test_options_route ... ok [INFO] [stdout] test integration_tests::test_no_route ... ok [INFO] [stdout] test integration_tests::test_get_route ... ok [INFO] [stdout] test integration_tests::test_post_route ... ok [INFO] [stdout] test integration_tests::test_put_route ... ok [INFO] [stdout] test integration_tests::test_trace_route ... ok [INFO] [stdout] test integration_tests::test_url_path_parameters ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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] running `Command { std: "docker" "inspect" "994073e93b5a530890109a69346c505a1bc547e7a4f9bb5e8bcd3c9857d340c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "994073e93b5a530890109a69346c505a1bc547e7a4f9bb5e8bcd3c9857d340c6", kill_on_drop: false }` [INFO] [stdout] 994073e93b5a530890109a69346c505a1bc547e7a4f9bb5e8bcd3c9857d340c6