[INFO] cloning repository https://github.com/martinthenext/daytobase-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/martinthenext/daytobase-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinthenext%2Fdaytobase-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinthenext%2Fdaytobase-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f9cbe5d6d61c82cbb45dcb249adc6740fbd4c43 [INFO] checking martinthenext/daytobase-rust against master#accc516128b21e960b1a7af45393e9acdd184890 for pr-122501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinthenext%2Fdaytobase-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/martinthenext/daytobase-rust on toolchain accc516128b21e960b1a7af45393e9acdd184890 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+accc516128b21e960b1a7af45393e9acdd184890" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/martinthenext/daytobase-rust [INFO] finished tweaking git repo https://github.com/martinthenext/daytobase-rust [INFO] tweaked toml for git repo https://github.com/martinthenext/daytobase-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/martinthenext/daytobase-rust 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" "+accc516128b21e960b1a7af45393e9acdd184890" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking martinthenext/daytobase-rust against try#32f93a5733992b29f321831b7e26c1f7d7205013 for pr-122501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinthenext%2Fdaytobase-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/martinthenext/daytobase-rust on toolchain 32f93a5733992b29f321831b7e26c1f7d7205013 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/martinthenext/daytobase-rust [INFO] finished tweaking git repo https://github.com/martinthenext/daytobase-rust [INFO] tweaked toml for git repo https://github.com/martinthenext/daytobase-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/martinthenext/daytobase-rust 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" "+32f93a5733992b29f321831b7e26c1f7d7205013" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking martinthenext/daytobase-rust against try#32f93a5733992b29f321831b7e26c1f7d7205013 for pr-122501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinthenext%2Fdaytobase-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/martinthenext/daytobase-rust on toolchain 32f93a5733992b29f321831b7e26c1f7d7205013 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/martinthenext/daytobase-rust [INFO] finished tweaking git repo https://github.com/martinthenext/daytobase-rust [INFO] tweaked toml for git repo https://github.com/martinthenext/daytobase-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/martinthenext/daytobase-rust 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" "+32f93a5733992b29f321831b7e26c1f7d7205013" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68e18a4b9202c36f229663d280ad6b447a9dfa5f8043a01f6d571f1236e74517 [INFO] running `Command { std: "docker" "start" "-a" "68e18a4b9202c36f229663d280ad6b447a9dfa5f8043a01f6d571f1236e74517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68e18a4b9202c36f229663d280ad6b447a9dfa5f8043a01f6d571f1236e74517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68e18a4b9202c36f229663d280ad6b447a9dfa5f8043a01f6d571f1236e74517", kill_on_drop: false }` [INFO] [stdout] 68e18a4b9202c36f229663d280ad6b447a9dfa5f8043a01f6d571f1236e74517 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2af4cdc0ea554c8aa730a38db7c27af7386c0223cc5f9142f03a554a57c5b2d5 [INFO] running `Command { std: "docker" "start" "-a" "2af4cdc0ea554c8aa730a38db7c27af7386c0223cc5f9142f03a554a57c5b2d5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking rc-box v1.2.0 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking tokio v1.35.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling teloxide-macros v0.7.1 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking tower-http v0.3.5 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking dptree v0.3.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking serde_path_to_error v0.1.14 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.22 [INFO] [stderr] Checking teloxide-core v0.9.1 [INFO] [stderr] Checking teloxide v0.12.2 [INFO] [stderr] Checking daytobase-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | const WEBHOOK_URL: &str = env::var("WEBHOOK_URL").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 13 | const WEBHOOK_URL: &str = &env::var("WEBHOOK_URL").unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | const WEBHOOK_URL: &str = env::var("WEBHOOK_URL").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 13 | const WEBHOOK_URL: &str = &env::var("WEBHOOK_URL").unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `std::env::var::<&str>` in constants [INFO] [stdout] --> src/main.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | const PORT: u16 = env::var("PORT").unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `var::<&str>` in constants [INFO] [stdout] --> src/main.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | const PORT: u16 = env::var("PORT").unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Result::::unwrap` in constants [INFO] [stdout] --> src/main.rs:12:40 [INFO] [stdout] | [INFO] [stdout] 12 | const PORT: u16 = env::var("PORT").unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Result::::unwrap` in constants [INFO] [stdout] --> src/main.rs:12:40 [INFO] [stdout] | [INFO] [stdout] 12 | const PORT: u16 = env::var("PORT").unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot perform deref coercion on `String` in constants [INFO] [stdout] --> src/main.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | const PORT: u16 = env::var("PORT").unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: attempting to deref into `str` [INFO] [stdout] note: impl defined here, but it is not `const` [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/alloc/src/string.rs:2473:1 [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot perform deref coercion on `String` in constants [INFO] [stdout] --> src/main.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | const PORT: u16 = env::var("PORT").unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: attempting to deref into `str` [INFO] [stdout] note: impl defined here, but it is not `const` [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/alloc/src/string.rs:2473:1 [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `core::str::::parse::` in constants [INFO] [stdout] --> src/main.rs:12:49 [INFO] [stdout] | [INFO] [stdout] 12 | const PORT: u16 = env::var("PORT").unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `core::str::::parse::` in constants [INFO] [stdout] --> src/main.rs:12:49 [INFO] [stdout] | [INFO] [stdout] 12 | const PORT: u16 = env::var("PORT").unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Result::::unwrap` in constants [INFO] [stdout] --> src/main.rs:12:57 [INFO] [stdout] | [INFO] [stdout] 12 | const PORT: u16 = env::var("PORT").unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Result::::unwrap` in constants [INFO] [stdout] --> src/main.rs:12:57 [INFO] [stdout] | [INFO] [stdout] 12 | const PORT: u16 = env::var("PORT").unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `String` cannot be evaluated at compile-time [INFO] [stdout] --> src/main.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | const PORT: u16 = env::var("PORT").unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ - value is dropped here [INFO] [stdout] | | [INFO] [stdout] | the destructor for this type cannot be evaluated in constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `String` cannot be evaluated at compile-time [INFO] [stdout] --> src/main.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | const PORT: u16 = env::var("PORT").unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ - value is dropped here [INFO] [stdout] | | [INFO] [stdout] | the destructor for this type cannot be evaluated in constants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:16:77 [INFO] [stdout] | [INFO] [stdout] 16 | let listener = webhooks::axum(bot.clone(), webhooks::Options::new(addr, WEBHOOK_URL)) [INFO] [stdout] | ---------------------- ^^^^^^^^^^^ expected `Url`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/teloxide-0.12.2/src/update_listeners/webhooks.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn new(address: SocketAddr, url: url::Url) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:16:77 [INFO] [stdout] | [INFO] [stdout] 16 | let listener = webhooks::axum(bot.clone(), webhooks::Options::new(addr, WEBHOOK_URL)) [INFO] [stdout] | ---------------------- ^^^^^^^^^^^ expected `Url`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/teloxide-0.12.2/src/update_listeners/webhooks.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn new(address: SocketAddr, url: url::Url) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `flush` found for struct `std::io::Stdout` in the current scope [INFO] [stdout] --> src/main.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | std::io::stdout().flush().unwrap(); [INFO] [stdout] | ^^^^^ method not found in `Stdout` [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/std/src/io/mod.rs:1667:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `std::io::Stdout` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `flush` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `flush` found for struct `std::io::Stdout` in the current scope [INFO] [stdout] --> src/main.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | std::io::stdout().flush().unwrap(); [INFO] [stdout] | ^^^^^ method not found in `Stdout` [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/std/src/io/mod.rs:1667:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `std::io::Stdout` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `flush` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0308, E0493, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0308, E0493, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `daytobase-rust` (bin "daytobase-rust") due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `daytobase-rust` (bin "daytobase-rust" test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "2af4cdc0ea554c8aa730a38db7c27af7386c0223cc5f9142f03a554a57c5b2d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2af4cdc0ea554c8aa730a38db7c27af7386c0223cc5f9142f03a554a57c5b2d5", kill_on_drop: false }` [INFO] [stdout] 2af4cdc0ea554c8aa730a38db7c27af7386c0223cc5f9142f03a554a57c5b2d5