[INFO] cloning repository https://github.com/jsdw/seamless [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jsdw/seamless" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsdw%2Fseamless", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsdw%2Fseamless'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f45d303bf035f10aa2607c0b5c2c8c7aba9d9b9 [INFO] testing jsdw/seamless against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsdw%2Fseamless" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jsdw/seamless [INFO] finished tweaking git repo https://github.com/jsdw/seamless [INFO] tweaked toml for git repo https://github.com/jsdw/seamless written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jsdw/seamless 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] crate git repo https://github.com/jsdw/seamless 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/SergioBenitez/Rocket` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/SergioBenitez/Devise.git` [INFO] [stderr] Updating git repository `https://github.com/SergioBenitez/cookie-rs.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded seamless_macros v0.10.0 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.87 [INFO] [stderr] Downloaded futures-executor v0.3.25 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.87 [INFO] [stderr] Downloaded output_vt100 v0.1.3 [INFO] [stderr] Downloaded pear_codegen v0.2.3 [INFO] [stderr] Downloaded scratch v1.0.3 [INFO] [stderr] Downloaded ctor v0.1.26 [INFO] [stderr] Downloaded trybuild v1.0.76 [INFO] [stderr] Downloaded figment v0.10.8 [INFO] [stderr] Downloaded futures v0.3.25 [INFO] [stderr] Downloaded atomic v0.5.1 [INFO] [stderr] Downloaded cxx-build v1.0.87 [INFO] [stderr] Downloaded pear v0.2.3 [INFO] [stderr] Downloaded ref-cast-impl v1.0.14 [INFO] [stderr] Downloaded ref-cast v1.0.14 [INFO] [stderr] Downloaded uncased v0.9.7 [INFO] [stderr] Downloaded ubyte v0.10.3 [INFO] [stderr] Downloaded seamless v0.10.0 [INFO] [stderr] Downloaded cxx v1.0.87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 5b8967f3252439db5fb61e216b49ebf8fb3180a017db3beb115ad0ae09e02fca [INFO] running `Command { std: "docker" "start" "-a" "5b8967f3252439db5fb61e216b49ebf8fb3180a017db3beb115ad0ae09e02fca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b8967f3252439db5fb61e216b49ebf8fb3180a017db3beb115ad0ae09e02fca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b8967f3252439db5fb61e216b49ebf8fb3180a017db3beb115ad0ae09e02fca", kill_on_drop: false }` [INFO] [stdout] 5b8967f3252439db5fb61e216b49ebf8fb3180a017db3beb115ad0ae09e02fca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] cce5b815670045a4022f075348012094593f8b6eed7a87b1fc9722d335dd62e1 [INFO] running `Command { std: "docker" "start" "-a" "cce5b815670045a4022f075348012094593f8b6eed7a87b1fc9722d335dd62e1", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling uuid v1.2.2 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling seamless_macros v0.12.0 (/opt/rustwide/workdir/seamless-macros) [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling seamless v0.12.0 (/opt/rustwide/workdir/seamless) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> seamless/src/api/api.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.91s [INFO] running `Command { std: "docker" "inspect" "cce5b815670045a4022f075348012094593f8b6eed7a87b1fc9722d335dd62e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cce5b815670045a4022f075348012094593f8b6eed7a87b1fc9722d335dd62e1", kill_on_drop: false }` [INFO] [stdout] cce5b815670045a4022f075348012094593f8b6eed7a87b1fc9722d335dd62e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] baddde905614bf4e330452a311f44c93441f0fa395f597b463deeaba2ce8e657 [INFO] running `Command { std: "docker" "start" "-a" "baddde905614bf4e330452a311f44c93441f0fa395f597b463deeaba2ce8e657", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling cookie v0.15.0-dev (https://github.com/SergioBenitez/cookie-rs.git?rev=1c3ca83#1c3ca838) [INFO] [stderr] Compiling ref-cast v1.0.14 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling rocket_http v0.5.0-dev (https://github.com/SergioBenitez/Rocket?rev=c24f15c1#c24f15c1) [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling figment v0.10.8 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling rocket v0.5.0-dev (https://github.com/SergioBenitez/Rocket?rev=c24f15c1#c24f15c1) [INFO] [stderr] Compiling trybuild v1.0.76 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling pretty_assertions v0.6.1 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling devise_core v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=3648468#3648468a) [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.14 [INFO] [stderr] Compiling seamless_macros v0.12.0 (/opt/rustwide/workdir/seamless-macros) [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling seamless_macros v0.10.0 [INFO] [stderr] Compiling devise_codegen v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=3648468#3648468a) [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling devise v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=3648468#3648468a) [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ubyte v0.10.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling seamless v0.12.0 (/opt/rustwide/workdir/seamless) [INFO] [stderr] Compiling seamless v0.10.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> seamless/src/api/api.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rocket_codegen v0.5.0-dev (https://github.com/SergioBenitez/Rocket?rev=c24f15c1#c24f15c1) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> seamless/src/api/api.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rocket v0.5.0-dev (https://github.com/SergioBenitez/Rocket?rev=c24f15c1#c24f15c1) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "baddde905614bf4e330452a311f44c93441f0fa395f597b463deeaba2ce8e657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baddde905614bf4e330452a311f44c93441f0fa395f597b463deeaba2ce8e657", kill_on_drop: false }` [INFO] [stdout] baddde905614bf4e330452a311f44c93441f0fa395f597b463deeaba2ce8e657 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 331d360a7b72de5993c1e821381df53e912b464e3f30c1fa5a53c11f6624a0a6 [INFO] running `Command { std: "docker" "start" "-a" "331d360a7b72de5993c1e821381df53e912b464e3f30c1fa5a53c11f6624a0a6", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> seamless/src/api/api.rs:67:33 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `seamless` (lib) generated 1 warning (run `cargo fix --lib -p seamless` to apply 1 suggestion) [INFO] [stderr] warning: `seamless` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rocket v0.5.0-dev (https://github.com/SergioBenitez/Rocket?rev=c24f15c1#c24f15c1) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/seamless-b79b253e34aef6d8) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test handler::request::test_bytes::can_read_from_reader ... ok [INFO] [stdout] test handler::request::test_capped_reader::capped_reader_errors_if_limit_exceeded ... ok [INFO] [stdout] test handler::request::test_bytes::can_read_from_vec ... ok [INFO] [stdout] test handler::request::test_bytes::can_read_from_stream ... ok [INFO] [stdout] test handler::request::test_capped_reader::capped_reader_ok_with_0_bytes ... ok [INFO] [stderr] Running tests/aaa_compile_tests.rs (/opt/rustwide/target/debug/deps/aaa_compile_tests-8b444159b72ea529) [INFO] [stdout] test handler::request::test_capped_reader::capped_reader_ok_if_limit_not_exceeded ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] warning: `/opt/rustwide/target/tests/trybuild/seamless/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling ref-cast v1.0.14 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Compiling cookie v0.15.0-dev (https://github.com/SergioBenitez/cookie-rs.git?rev=1c3ca83#1c3ca838) [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling rocket_http v0.5.0-dev (https://github.com/SergioBenitez/Rocket?rev=c24f15c1#c24f15c1) [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling figment v0.10.8 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling rocket v0.5.0-dev (https://github.com/SergioBenitez/Rocket?rev=c24f15c1#c24f15c1) [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling uuid v1.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling pretty_assertions v0.6.1 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling devise_core v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=3648468#3648468a) [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.14 [INFO] [stderr] Compiling devise_codegen v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=3648468#3648468a) [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling seamless_macros v0.12.0 (/opt/rustwide/workdir/seamless-macros) [INFO] [stderr] Compiling devise v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=3648468#3648468a) [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling rocket_codegen v0.5.0-dev (https://github.com/SergioBenitez/Rocket?rev=c24f15c1#c24f15c1) [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ubyte v0.10.3 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling seamless v0.12.0 (/opt/rustwide/workdir/seamless) [INFO] [stdout] test compile_tests has been running for over 60 seconds [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/seamless/src/api/api.rs:67:33 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `seamless` (lib) generated 1 warning (run `cargo fix --lib -p seamless` to apply 1 suggestion) [INFO] [stderr] Compiling seamless-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/seamless) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rocket v0.5.0-dev (https://github.com/SergioBenitez/Rocket?rev=c24f15c1#c24f15c1) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/api_body_compile_tests/01_struct.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/trybuild/seamless/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/seamless/src/api/api.rs:67:33 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/api_body_compile_tests/02_struct_no_serde_attrs.rs [should fail to compile] ... ok [INFO] [stderr] test tests/api_body_compile_tests/03_enum.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/trybuild/seamless/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/seamless/src/api/api.rs:67:33 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/api_body_compile_tests/04_serialize_struct_only.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `for<'de> Foo: Deserialize<'de>` is not satisfied [INFO] [stderr] --> tests/api_body_compile_tests/04_serialize_struct_only.rs:11:18 [INFO] [stderr] | [INFO] [stderr] 11 | let f: Foo = ApiBody::from_json_value(json!({ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `Foo` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `DeserializeOwned` for `Foo` [INFO] [stderr] note: required by `from_json_value` [INFO] [stderr] --> src/api/info.rs [INFO] [stderr] | [INFO] [stderr] | / fn from_json_value(value: serde_json::Value) -> serde_json::Result [INFO] [stderr] | | where Self: ::serde::de::DeserializeOwned { [INFO] [stderr] | |_____________________________________________^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Foo: DeserializeOwned` is not satisfied [INFO] [stderr] --> tests/api_body_compile_tests/04_serialize_struct_only.rs:11:18 [INFO] [stderr] | [INFO] [stderr] 11 | let f: Foo = ApiBody::from_json_value(json!({ [INFO] [stderr] | __________________^ [INFO] [stderr] 12 | | "hello": 10 [INFO] [stderr] 13 | | })).unwrap(); [INFO] [stderr] | |_______^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] help: the trait `for<'de> Deserialize<'de>` is not implemented for `Foo` [INFO] [stderr] --> tests/api_body_compile_tests/04_serialize_struct_only.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | struct Foo { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stderr] &'a Path [INFO] [stderr] &'a [u8] [INFO] [stderr] &'a serde_json::value::RawValue [INFO] [stderr] &'a str [INFO] [stderr] () [INFO] [stderr] (T,) [INFO] [stderr] (T0, T1) [INFO] [stderr] (T0, T1, T2) [INFO] [stderr] and $N others [INFO] [stderr] = note: required for `Foo` to implement `DeserializeOwned` [INFO] [stderr] note: required by a bound in `from_json_value` [INFO] [stderr] --> src/api/info.rs [INFO] [stderr] | [INFO] [stderr] | fn from_json_value(value: serde_json::Value) -> serde_json::Result [INFO] [stderr] | --------------- required by a bound in this associated function [INFO] [stderr] | where Self: ::serde::de::DeserializeOwned { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ApiBody::from_json_value` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/api_body_compile_tests/05_deserialize_struct_only.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Foo: Serialize` is not satisfied [INFO] [stderr] --> $DIR/05_deserialize_struct_only.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | let f = Foo { hello: 10 }.to_json_value(); [INFO] [stderr] | ^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `Foo` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Foo: Serialize` is not satisfied [INFO] [stderr] --> tests/api_body_compile_tests/05_deserialize_struct_only.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | let f = Foo { hello: 10 }.to_json_value(); [INFO] [stderr] | ^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] help: the trait `Serialize` is not implemented for `Foo` [INFO] [stderr] --> tests/api_body_compile_tests/05_deserialize_struct_only.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | struct Foo { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Foo` type [INFO] [stderr] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stderr] = help: the following other types implement trait `Serialize`: [INFO] [stderr] &'a T [INFO] [stderr] &'a mut T [INFO] [stderr] () [INFO] [stderr] (T,) [INFO] [stderr] (T0, T1) [INFO] [stderr] (T0, T1, T2) [INFO] [stderr] (T0, T1, T2, T3) [INFO] [stderr] (T0, T1, T2, T3, T4) [INFO] [stderr] and $N others [INFO] [stderr] note: required by a bound in `to_json_value` [INFO] [stderr] --> src/api/info.rs [INFO] [stderr] | [INFO] [stderr] | fn to_json_value(&self) -> serde_json::Value [INFO] [stderr] | ------------- required by a bound in this associated function [INFO] [stderr] | where Self: ::serde::Serialize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ required by this bound in `ApiBody::to_json_value` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/api_body_compile_tests/06_se_de_struct.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/trybuild/seamless/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/seamless/src/api/api.rs:67:33 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/api_body_compile_tests/07_serialize_enum_only.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `for<'de> Foo: Deserialize<'de>` is not satisfied [INFO] [stderr] --> tests/api_body_compile_tests/07_serialize_enum_only.rs:11:18 [INFO] [stderr] | [INFO] [stderr] 11 | let f: Foo = ApiBody::from_json_value(json!({ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `Foo` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `DeserializeOwned` for `Foo` [INFO] [stderr] note: required by `from_json_value` [INFO] [stderr] --> src/api/info.rs [INFO] [stderr] | [INFO] [stderr] | / fn from_json_value(value: serde_json::Value) -> serde_json::Result [INFO] [stderr] | | where Self: ::serde::de::DeserializeOwned { [INFO] [stderr] | |_____________________________________________^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Foo: DeserializeOwned` is not satisfied [INFO] [stderr] --> tests/api_body_compile_tests/07_serialize_enum_only.rs:11:18 [INFO] [stderr] | [INFO] [stderr] 11 | let f: Foo = ApiBody::from_json_value(json!({ [INFO] [stderr] | __________________^ [INFO] [stderr] 12 | | "kind": "Bar", [INFO] [stderr] 13 | | "n": 10 [INFO] [stderr] 14 | | })).unwrap(); [INFO] [stderr] | |_______^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] help: the trait `for<'de> Deserialize<'de>` is not implemented for `Foo` [INFO] [stderr] --> tests/api_body_compile_tests/07_serialize_enum_only.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | enum Foo { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stderr] &'a Path [INFO] [stderr] &'a [u8] [INFO] [stderr] &'a serde_json::value::RawValue [INFO] [stderr] &'a str [INFO] [stderr] () [INFO] [stderr] (T,) [INFO] [stderr] (T0, T1) [INFO] [stderr] (T0, T1, T2) [INFO] [stderr] and $N others [INFO] [stderr] = note: required for `Foo` to implement `DeserializeOwned` [INFO] [stderr] note: required by a bound in `from_json_value` [INFO] [stderr] --> src/api/info.rs [INFO] [stderr] | [INFO] [stderr] | fn from_json_value(value: serde_json::Value) -> serde_json::Result [INFO] [stderr] | --------------- required by a bound in this associated function [INFO] [stderr] | where Self: ::serde::de::DeserializeOwned { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ApiBody::from_json_value` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/api_body_compile_tests/08_deserialize_enum_only.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Foo: Serialize` is not satisfied [INFO] [stderr] --> $DIR/08_deserialize_enum_only.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | let f = Foo::Bar{ n: 10 }.to_json_value(); [INFO] [stderr] | ^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `Foo` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `Foo: Serialize` is not satisfied [INFO] [stderr] --> tests/api_body_compile_tests/08_deserialize_enum_only.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | let f = Foo::Bar{ n: 10 }.to_json_value(); [INFO] [stderr] | ^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stderr] | [INFO] [stderr] help: the trait `Serialize` is not implemented for `Foo` [INFO] [stderr] --> tests/api_body_compile_tests/08_deserialize_enum_only.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | enum Foo { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Foo` type [INFO] [stderr] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stderr] = help: the following other types implement trait `Serialize`: [INFO] [stderr] &'a T [INFO] [stderr] &'a mut T [INFO] [stderr] () [INFO] [stderr] (T,) [INFO] [stderr] (T0, T1) [INFO] [stderr] (T0, T1, T2) [INFO] [stderr] (T0, T1, T2, T3) [INFO] [stderr] (T0, T1, T2, T3, T4) [INFO] [stderr] and $N others [INFO] [stderr] note: required by a bound in `to_json_value` [INFO] [stderr] --> src/api/info.rs [INFO] [stderr] | [INFO] [stderr] | fn to_json_value(&self) -> serde_json::Value [INFO] [stderr] | ------------- required by a bound in this associated function [INFO] [stderr] | where Self: ::serde::Serialize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ required by this bound in `ApiBody::to_json_value` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/api_body_compile_tests/09_se_de_enum.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/trybuild/seamless/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/seamless/src/api/api.rs:67:33 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/api_body_compile_tests/10_flatten.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/trybuild/seamless/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/seamless/src/api/api.rs:67:33 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/api_body_compile_tests/11_enum_cant_mix_unit_named.rs [should fail to compile] ... ok [INFO] [stderr] test tests/api_error_compile_tests/01_basic.rs [should fail to compile] ... ok [INFO] [stderr] test tests/api_error_compile_tests/02_basic_internal.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/trybuild/seamless/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/seamless/src/api/api.rs:67:33 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/api_error_compile_tests/03_basic_external.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/trybuild/seamless/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/seamless/src/api/api.rs:67:33 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/api_error_compile_tests/04_external_message.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/trybuild/seamless/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/seamless/src/api/api.rs:67:33 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/api_error_compile_tests/05_msg_and_code.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/trybuild/seamless/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/seamless/src/api/api.rs:67:33 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/api_error_compile_tests/06_not_both.rs [should fail to compile] ... ok [INFO] [stderr] test tests/api_error_compile_tests/07_delegate_to_inner.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/trybuild/seamless/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/seamless/src/api/api.rs:67:33 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/api_error_compile_tests/08_enum_basic.rs [should fail to compile] ... ok [INFO] [stderr] test tests/api_error_compile_tests/09_enum_toplevel_attrs.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/trybuild/seamless/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/seamless/src/api/api.rs:67:33 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/api_error_compile_tests/10_enum_fields.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: `/opt/rustwide/target/tests/trybuild/seamless/.cargo/config` is deprecated in favor of `config.toml` [INFO] [stderr] note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/seamless/src/api/api.rs:67:33 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 67 | pub fn add>(&mut self, path: P) -> RouteBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/api_error_compile_tests/11_enum_empty.rs [should fail to compile] ... ok [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test compile_tests ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- compile_tests stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'compile_tests' (32) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.76/src/run.rs:101:13: [INFO] [stdout] 4 of 22 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55ceffa8eb12 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x55ceffa8eb12 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x55ceffa8eb12 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x55ceffa8eb12 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x55ceffa9f94f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x55ceffa9f94f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x55ceffa59e33 - std::io::default_write_fmt::h7d7ad5ed6a883d81 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x55ceffa59e33 - std::io::Write::write_fmt::hc477d9325b345ece [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x55ceffa66e32 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x55ceffa6c49f - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x55ceffa6c331 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x55ceffa2946e - as core::ops::function::Fn>::call::h33799d04b0b96146 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x55ceffa2946e - test::test_main_with_exit_callback::{{closure}}::h880e31c829a2eb5d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x55ceffa6cb3e - as core::ops::function::Fn>::call::h5e1b8c652ea49180 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x55ceffa6cb3e - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x55ceffa6c90a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x55ceffa66f69 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x55ceffa4cffd - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x55ceffaa8ae0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x55ceff9685dc - trybuild::run::::run::h3a67722029e7d19c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.76/src/run.rs:101:13 [INFO] [stdout] 20: 0x55ceff962608 - ::drop::h08d2b4b329551438 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.76/src/lib.rs:313:38 [INFO] [stdout] 21: 0x55ceff806a07 - core::ptr::drop_in_place::h1fd05ae902c02105 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ptr/mod.rs:804:1 [INFO] [stdout] 22: 0x55ceff80682e - aaa_compile_tests::compile_tests::h3ad08942a50aa481 [INFO] [stdout] at /opt/rustwide/workdir/seamless/tests/aaa_compile_tests.rs:39:1 [INFO] [stdout] 23: 0x55ceff806867 - aaa_compile_tests::compile_tests::{{closure}}::h13c5e928881b5dfb [INFO] [stdout] at /opt/rustwide/workdir/seamless/tests/aaa_compile_tests.rs:2:19 [INFO] [stdout] 24: 0x55ceff8069b6 - core::ops::function::FnOnce::call_once::hf253cd60496f7c77 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x55ceffa2926b - core::ops::function::FnOnce::call_once::h7f4b4fba903e39d5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x55ceffa2926b - test::__rust_begin_short_backtrace::h9277cb6a2ccfc000 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x55ceffa3ed15 - test::run_test_in_process::{{closure}}::h9aea5ca90d1f4423 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x55ceffa3ed15 - as core::ops::function::FnOnce<()>>::call_once::h364f5fe6cc8afa85 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x55ceffa3ed15 - std::panicking::catch_unwind::do_call::h2b2bec3317fe53ec [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x55ceffa3ed15 - std::panicking::catch_unwind::hc3763734156da4af [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x55ceffa3ed15 - std::panic::catch_unwind::h28038391e867eabc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x55ceffa3ed15 - test::run_test_in_process::had0273166695a036 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x55ceffa3ed15 - test::run_test::{{closure}}::h743d09d4bb476605 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x55ceffa15734 - test::run_test::{{closure}}::he950b8f9118d37e2 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x55ceffa15734 - std::sys::backtrace::__rust_begin_short_backtrace::hbfaffa6539f6abb7 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x55ceffa1901a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hcce3c2c65b9c3b20 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x55ceffa1901a - as core::ops::function::FnOnce<()>>::call_once::hb66b30b6d37985a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x55ceffa1901a - std::panicking::catch_unwind::do_call::h992bbe2c32dc1d79 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x55ceffa1901a - std::panicking::catch_unwind::h412991d5237de610 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x55ceffa1901a - std::panic::catch_unwind::ha82b139b3eb5840a [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x55ceffa1901a - std::thread::Builder::spawn_unchecked_::{{closure}}::ha823b36f5114938e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x55ceffa1901a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf120e7b1db22ac07 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x55ceffa60eff - as core::ops::function::FnOnce>::call_once::h3e049222c99298ac [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x55ceffa60eff - std::sys::pal::unix::thread::Thread::new::thread_start::h942e336943ad5963 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x7d8234731aa4 - [INFO] [stdout] 46: 0x7d82347bea34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] compile_tests [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 93.98s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p seamless --test aaa_compile_tests` [INFO] running `Command { std: "docker" "inspect" "331d360a7b72de5993c1e821381df53e912b464e3f30c1fa5a53c11f6624a0a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "331d360a7b72de5993c1e821381df53e912b464e3f30c1fa5a53c11f6624a0a6", kill_on_drop: false }` [INFO] [stdout] 331d360a7b72de5993c1e821381df53e912b464e3f30c1fa5a53c11f6624a0a6