[INFO] cloning repository https://github.com/euank/synapse-password-reset [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/euank/synapse-password-reset" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feuank%2Fsynapse-password-reset", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feuank%2Fsynapse-password-reset'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 221af3ce66dc4c87b075f859b38ee9211d3a7ff4 [INFO] testing euank/synapse-password-reset against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feuank%2Fsynapse-password-reset" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/euank/synapse-password-reset [INFO] finished tweaking git repo https://github.com/euank/synapse-password-reset [INFO] tweaked toml for git repo https://github.com/euank/synapse-password-reset written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/euank/synapse-password-reset on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/euank/synapse-password-reset 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 8099db9827ce909f046a9686a3a9466ee62b457bcfc6e984b79273e0e94345bd [INFO] running `Command { std: "docker" "start" "8099db9827ce909f046a9686a3a9466ee62b457bcfc6e984b79273e0e94345bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8099db9827ce909f046a9686a3a9466ee62b457bcfc6e984b79273e0e94345bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8099db9827ce909f046a9686a3a9466ee62b457bcfc6e984b79273e0e94345bd" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8099db9827ce909f046a9686a3a9466ee62b457bcfc6e984b79273e0e94345bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8099db9827ce909f046a9686a3a9466ee62b457bcfc6e984b79273e0e94345bd" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling traitobject v0.1.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling groupable v0.2.0 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling bcrypt v0.17.1 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling postgres-protocol v0.6.8 [INFO] [stderr] Compiling postgres-types v0.2.9 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling postgres v0.19.10 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling nickel v0.11.0 [INFO] [stderr] Compiling synapse-password-reset v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `!: Responder<()>` is not satisfied [INFO] [stdout] --> src/main.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | / middleware! { |_, mut res| [INFO] [stdout] 164 | | let mut data: HashMap<&str, String> = HashMap::new(); [INFO] [stdout] 165 | | data.insert("notice", "".to_string()); [INFO] [stdout] 166 | | let html = render_template("public/index.tpl", &data).unwrap_or_else(|e| { [INFO] [stdout] ... | [INFO] [stdout] 170 | | return res.send(html) [INFO] [stdout] | | --------------------- this tail expression is of type `!` [INFO] [stdout] 171 | | }, [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________the trait `Responder<()>` is not implemented for `!` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Responder`: [INFO] [stdout] &'a [&'a str] [INFO] [stdout] &'a [std::string::String] [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (StatusCode, &'static str) [INFO] [stdout] (StatusCode, std::string::String) [INFO] [stdout] (u16, &'static str) [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 for more information) [INFO] [stdout] = help: you might have intended to use the type `()` here instead [INFO] [stdout] note: required by a bound in `main::restrict` [INFO] [stdout] --> src/main.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | / middleware! { |_, mut res| [INFO] [stdout] 164 | | let mut data: HashMap<&str, String> = HashMap::new(); [INFO] [stdout] 165 | | data.insert("notice", "".to_string()); [INFO] [stdout] 166 | | let html = render_template("public/index.tpl", &data).unwrap_or_else(|e| { [INFO] [stdout] ... | [INFO] [stdout] 170 | | return res.send(html) [INFO] [stdout] 171 | | }, [INFO] [stdout] | |_________^ required by this bound in `restrict` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nickel-0.11.0/src/macros/middleware.rs:96 [INFO] [stdout] | [INFO] [stdout] 96 | fn restrict<'mw, D, R: Responder>(r: R, res: Response<'mw, D>) [INFO] [stdout] = note: this error originates in the macro `_middleware_inner` which comes from the expansion of the macro `middleware` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: Responder<()>` is not satisfied [INFO] [stdout] --> src/main.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | / middleware! {|req, mut res| [INFO] [stdout] 177 | | [INFO] [stdout] 178 | | let token_dir = matches.get_one::("token-dir").unwrap(); [INFO] [stdout] 179 | | let pepper = matches.get_one::("pepper").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 206 | | return res.send(html) [INFO] [stdout] | | --------------------- this tail expression is of type `!` [INFO] [stdout] 207 | | }, [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________the trait `Responder<()>` is not implemented for `!` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Responder`: [INFO] [stdout] &'a [&'a str] [INFO] [stdout] &'a [std::string::String] [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (StatusCode, &'static str) [INFO] [stdout] (StatusCode, std::string::String) [INFO] [stdout] (u16, &'static str) [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 for more information) [INFO] [stdout] = help: you might have intended to use the type `()` here instead [INFO] [stdout] note: required by a bound in `main::restrict` [INFO] [stdout] --> src/main.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | / middleware! {|req, mut res| [INFO] [stdout] 177 | | [INFO] [stdout] 178 | | let token_dir = matches.get_one::("token-dir").unwrap(); [INFO] [stdout] 179 | | let pepper = matches.get_one::("pepper").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 206 | | return res.send(html) [INFO] [stdout] 207 | | }, [INFO] [stdout] | |_________^ required by this bound in `restrict` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nickel-0.11.0/src/macros/middleware.rs:96 [INFO] [stdout] | [INFO] [stdout] 96 | fn restrict<'mw, D, R: Responder>(r: R, res: Response<'mw, D>) [INFO] [stdout] = note: this error originates in the macro `_middleware_inner` which comes from the expansion of the macro `middleware` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `synapse-password-reset` (bin "synapse-password-reset") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "8099db9827ce909f046a9686a3a9466ee62b457bcfc6e984b79273e0e94345bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8099db9827ce909f046a9686a3a9466ee62b457bcfc6e984b79273e0e94345bd", kill_on_drop: false }` [INFO] [stdout] 8099db9827ce909f046a9686a3a9466ee62b457bcfc6e984b79273e0e94345bd