[INFO] cloning repository https://github.com/dyatelok/secret-santa [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dyatelok/secret-santa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdyatelok%2Fsecret-santa", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdyatelok%2Fsecret-santa'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0241cf8f436bcc7b3cbebb14569c3e52e9e34582 [INFO] checking dyatelok/secret-santa against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdyatelok%2Fsecret-santa" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dyatelok/secret-santa on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/dyatelok/secret-santa [INFO] finished tweaking git repo https://github.com/dyatelok/secret-santa [INFO] tweaked toml for git repo https://github.com/dyatelok/secret-santa written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dyatelok/secret-santa 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" "+2e6fc425411280c658d852813de01c5157255088" "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 [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 dyatelok/secret-santa against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdyatelok%2Fsecret-santa" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dyatelok/secret-santa on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/dyatelok/secret-santa [INFO] finished tweaking git repo https://github.com/dyatelok/secret-santa [INFO] tweaked toml for git repo https://github.com/dyatelok/secret-santa written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dyatelok/secret-santa 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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47c0bf75ac4ccbbedc5c0341d7db633b000d89ced6dc38c29b1da61817c187b7 [INFO] running `Command { std: "docker" "start" "-a" "47c0bf75ac4ccbbedc5c0341d7db633b000d89ced6dc38c29b1da61817c187b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47c0bf75ac4ccbbedc5c0341d7db633b000d89ced6dc38c29b1da61817c187b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47c0bf75ac4ccbbedc5c0341d7db633b000d89ced6dc38c29b1da61817c187b7", kill_on_drop: false }` [INFO] [stdout] 47c0bf75ac4ccbbedc5c0341d7db633b000d89ced6dc38c29b1da61817c187b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf9b7c89c49598e688c0748f3a117c1b0b7b768b615cdbe7a0dc328df35e23ba [INFO] running `Command { std: "docker" "start" "-a" "cf9b7c89c49598e688c0748f3a117c1b0b7b768b615cdbe7a0dc328df35e23ba", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [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 serde v1.0.193 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling openssl v0.10.59 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking rc-box v1.2.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Compiling openssl-sys v0.9.95 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Compiling teloxide-macros v0.7.1 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking futures-executor v0.3.29 [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-stream v0.1.14 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [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 secret_santa_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `fn(teloxide::Bot, Dialogue>, teloxide::prelude::Message, CreateState, runner::Runner) -> impl Future>> {create}: Injectable<_, _, _>` is not satisfied [INFO] [stdout] --> src/scheme.rs:155:57 [INFO] [stdout] | [INFO] [stdout] 155 | .branch(case![State::Create { state }].endpoint(create)) [INFO] [stdout] | -------- ^^^^^^ the trait `Injectable<_, _, _>` is not implemented for fn item `fn(Bot, Dialogue>, Message, CreateState, Runner) -> ... {create}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Injectable`: [INFO] [stdout] `Asyncify` implements `Injectable` [INFO] [stdout] `Asyncify` implements `Injectable` [INFO] [stdout] `Asyncify` implements `Injectable` [INFO] [stdout] `Asyncify` implements `Injectable` [INFO] [stdout] `Asyncify` implements `Injectable` [INFO] [stdout] `Asyncify` implements `Injectable` [INFO] [stdout] `Asyncify` implements `Injectable` [INFO] [stdout] `Asyncify` implements `Injectable` [INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `teloxide::dptree::handler::methods::>::endpoint` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/dptree-0.3.0/src/handler/methods.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn endpoint(self, f: F) -> Handler<'a, Input, Output, Descr> [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 107 | where [INFO] [stdout] 108 | F: Injectable + Send + Sync + 'a, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `teloxide::dptree::handler::methods::>::endpoint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(teloxide::Bot, Dialogue>, teloxide::prelude::Message, CreateState, runner::Runner) -> impl Future>> {create}: Injectable<_, _, _>` is not satisfied [INFO] [stdout] --> src/scheme.rs:155:57 [INFO] [stdout] | [INFO] [stdout] 155 | .branch(case![State::Create { state }].endpoint(create)) [INFO] [stdout] | -------- ^^^^^^ the trait `Injectable<_, _, _>` is not implemented for fn item `fn(Bot, Dialogue>, Message, CreateState, Runner) -> ... {create}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Injectable`: [INFO] [stdout] `Asyncify` implements `Injectable` [INFO] [stdout] `Asyncify` implements `Injectable` [INFO] [stdout] `Asyncify` implements `Injectable` [INFO] [stdout] `Asyncify` implements `Injectable` [INFO] [stdout] `Asyncify` implements `Injectable` [INFO] [stdout] `Asyncify` implements `Injectable` [INFO] [stdout] `Asyncify` implements `Injectable` [INFO] [stdout] `Asyncify` implements `Injectable` [INFO] [stdout] and 2 others [INFO] [stdout] note: required by a bound in `teloxide::dptree::handler::methods::>::endpoint` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/dptree-0.3.0/src/handler/methods.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn endpoint(self, f: F) -> Handler<'a, Input, Output, Descr> [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 107 | where [INFO] [stdout] 108 | F: Injectable + Send + Sync + 'a, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `teloxide::dptree::handler::methods::>::endpoint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/errors.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | format!("{}", self).as_str() [INFO] [stdout] | -------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | temporary value created here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/errors.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | format!("{}", self).as_str() [INFO] [stdout] | -------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | temporary value created here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/errors.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | format!("{}", self).as_str() [INFO] [stdout] | -------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | temporary value created here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/errors.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | format!("{}", self).as_str() [INFO] [stdout] | -------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | temporary value created here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/errors.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | format!("{}", self).as_str() [INFO] [stdout] | -------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | temporary value created here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/errors.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | format!("{}", self).as_str() [INFO] [stdout] | -------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | temporary value created here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/errors.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | format!("{}", self).as_str() [INFO] [stdout] | -------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | temporary value created here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/errors.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | format!("{}", self).as_str() [INFO] [stdout] | -------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | temporary value created here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/errors.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | format!("{}", self).as_str() [INFO] [stdout] | -------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | temporary value created here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/errors.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | format!("{}", self).as_str() [INFO] [stdout] | -------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | temporary value created here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/errors.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | format!("{}", self).as_str() [INFO] [stdout] | -------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | temporary value created here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/errors.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | format!("{}", self).as_str() [INFO] [stdout] | -------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | temporary value created here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/errors.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | format!("{}", self).as_str() [INFO] [stdout] | -------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | temporary value created here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/errors.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | format!("{}", self).as_str() [INFO] [stdout] | -------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | temporary value created here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `game.active_users` [INFO] [stdout] --> src/runner.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 157 | for user in game.active_users { [INFO] [stdout] | ----------------- `game.active_users` moved due to this implicit call to `.into_iter()` [INFO] [stdout] ... [INFO] [stdout] 165 | let users = game.active_users; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `game.active_users` [INFO] [stdout] --> /rustc/d856f2da3433420b7077c0dc7ee9441455bc1302/library/core/src/iter/traits/collect.rs:346:18 [INFO] [stdout] = note: move occurs because `game.active_users` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] help: consider iterating over a slice of the `Vec`'s content to avoid moving into the `for` loop [INFO] [stdout] | [INFO] [stdout] 157 | for user in &game.active_users { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `game.active_users` [INFO] [stdout] --> src/runner.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 157 | for user in game.active_users { [INFO] [stdout] | ----------------- `game.active_users` moved due to this implicit call to `.into_iter()` [INFO] [stdout] ... [INFO] [stdout] 165 | let users = game.active_users; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `game.active_users` [INFO] [stdout] --> /rustc/d856f2da3433420b7077c0dc7ee9441455bc1302/library/core/src/iter/traits/collect.rs:346:18 [INFO] [stdout] = note: move occurs because `game.active_users` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] help: consider iterating over a slice of the `Vec`'s content to avoid moving into the `for` loop [INFO] [stdout] | [INFO] [stdout] 157 | for user in &game.active_users { [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: E0277, E0382, E0515. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0382, E0515. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `secret_santa_bot` (bin "secret_santa_bot") due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `secret_santa_bot` (bin "secret_santa_bot" test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "cf9b7c89c49598e688c0748f3a117c1b0b7b768b615cdbe7a0dc328df35e23ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf9b7c89c49598e688c0748f3a117c1b0b7b768b615cdbe7a0dc328df35e23ba", kill_on_drop: false }` [INFO] [stdout] cf9b7c89c49598e688c0748f3a117c1b0b7b768b615cdbe7a0dc328df35e23ba