[INFO] cloning repository https://github.com/leelhn2345/turtle-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leelhn2345/turtle-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleelhn2345%2Fturtle-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleelhn2345%2Fturtle-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 618d5eacb0aaa10484951f90a38e5f9fa480d7cf [INFO] checking leelhn2345/turtle-bot against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleelhn2345%2Fturtle-bot" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leelhn2345/turtle-bot on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/leelhn2345/turtle-bot [INFO] finished tweaking git repo https://github.com/leelhn2345/turtle-bot [INFO] tweaked toml for git repo https://github.com/leelhn2345/turtle-bot written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/leelhn2345/turtle-bot 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37e788cdf348d865ed3b7243c9b0e72e7a76e15bfffd7301241ce8919ddd031f [INFO] running `Command { std: "docker" "start" "-a" "37e788cdf348d865ed3b7243c9b0e72e7a76e15bfffd7301241ce8919ddd031f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37e788cdf348d865ed3b7243c9b0e72e7a76e15bfffd7301241ce8919ddd031f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37e788cdf348d865ed3b7243c9b0e72e7a76e15bfffd7301241ce8919ddd031f", kill_on_drop: false }` [INFO] [stdout] 37e788cdf348d865ed3b7243c9b0e72e7a76e15bfffd7301241ce8919ddd031f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 754c976d6ceb8808015d5209816ff306d57d763ac37b804c2c65736e1bab07f5 [INFO] running `Command { std: "docker" "start" "-a" "754c976d6ceb8808015d5209816ff306d57d763ac37b804c2c65736e1bab07f5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking chrono v0.4.30 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling rust-embed-utils v7.8.1 [INFO] [stderr] Compiling shellexpand v2.1.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Checking dlv-list v0.3.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking base64 v0.21.3 [INFO] [stderr] Checking matchit v0.7.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ordered-multimap v0.4.3 [INFO] [stderr] Checking rc-box v1.2.0 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking time-core v0.1.1 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Compiling tokio-cron-scheduler v0.9.4 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking deranged v0.3.8 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rust-ini v0.18.0 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking censor v0.3.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking cron v0.12.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking time v0.3.28 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling rust-embed-impl v6.8.1 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling teloxide-macros v0.7.1 [INFO] [stderr] Checking rust-embed v6.8.1 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Compiling utoipa-swagger-ui v3.1.5 [INFO] [stderr] Compiling utoipa-gen v3.5.0 [INFO] [stderr] Compiling pest v2.7.3 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling pest_meta v2.7.3 [INFO] [stderr] Compiling pest_generator v2.7.3 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking tower-http v0.3.5 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking dptree v0.3.0 [INFO] [stderr] Compiling pest_derive v2.7.3 [INFO] [stderr] Checking tokio-util v0.7.8 [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.21 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.14 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking utoipa v3.5.0 [INFO] [stderr] Checking tracing-bunyan-formatter v0.3.9 [INFO] [stderr] Checking config v0.13.3 [INFO] [stderr] Checking serde-aux v4.2.0 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.20 [INFO] [stderr] Checking teloxide-core v0.9.1 [INFO] [stderr] Checking teloxide v0.12.2 [INFO] [stderr] Checking turtle-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0505]: cannot move out of `settings` because it is borrowed [INFO] [stdout] --> src/main.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 20 | let settings = get_settings(&env).expect("failed to read settings"); [INFO] [stdout] | -------- binding `settings` declared here [INFO] [stdout] ... [INFO] [stdout] 25 | let listener = setup_axum_webhook(&settings, tele_bot.clone()).await; [INFO] [stdout] | --------- borrow of `settings` occurs here [INFO] [stdout] 26 | [INFO] [stdout] 27 | start_bot(tele_bot, listener, settings, env).await; [INFO] [stdout] | --------- ^^^^^^^^ move out of `settings` occurs here [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `settings` because it is borrowed [INFO] [stdout] --> src/main.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 20 | let settings = get_settings(&env).expect("failed to read settings"); [INFO] [stdout] | -------- binding `settings` declared here [INFO] [stdout] ... [INFO] [stdout] 25 | let listener = setup_axum_webhook(&settings, tele_bot.clone()).await; [INFO] [stdout] | --------- borrow of `settings` occurs here [INFO] [stdout] 26 | [INFO] [stdout] 27 | start_bot(tele_bot, listener, settings, env).await; [INFO] [stdout] | --------- ^^^^^^^^ move out of `settings` occurs here [INFO] [stdout] | | [INFO] [stdout] | borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `turtle-bot` (bin "turtle-bot") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `turtle-bot` (bin "turtle-bot" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "754c976d6ceb8808015d5209816ff306d57d763ac37b804c2c65736e1bab07f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "754c976d6ceb8808015d5209816ff306d57d763ac37b804c2c65736e1bab07f5", kill_on_drop: false }` [INFO] [stdout] 754c976d6ceb8808015d5209816ff306d57d763ac37b804c2c65736e1bab07f5