[INFO] cloning repository https://github.com/CrispinStichart/email-liberator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CrispinStichart/email-liberator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrispinStichart%2Femail-liberator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrispinStichart%2Femail-liberator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c32d6e238e03a11242436100265f5258f7c9e8e [INFO] checking CrispinStichart/email-liberator against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrispinStichart%2Femail-liberator" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CrispinStichart/email-liberator 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/CrispinStichart/email-liberator [INFO] finished tweaking git repo https://github.com/CrispinStichart/email-liberator [INFO] tweaked toml for git repo https://github.com/CrispinStichart/email-liberator written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/CrispinStichart/email-liberator 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 822778b262232dcff2b82e48e3b9566b6ced1ab56894c4049b1017609a1e68d5 [INFO] running `Command { std: "docker" "start" "-a" "822778b262232dcff2b82e48e3b9566b6ced1ab56894c4049b1017609a1e68d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "822778b262232dcff2b82e48e3b9566b6ced1ab56894c4049b1017609a1e68d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "822778b262232dcff2b82e48e3b9566b6ced1ab56894c4049b1017609a1e68d5", kill_on_drop: false }` [INFO] [stdout] 822778b262232dcff2b82e48e3b9566b6ced1ab56894c4049b1017609a1e68d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 64cf05700f44e981e0f46f9b966fa58f11d70dd92dea0dfa5bce91ddb1792783 [INFO] running `Command { std: "docker" "start" "-a" "64cf05700f44e981e0f46f9b966fa58f11d70dd92dea0dfa5bce91ddb1792783", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking quoted_printable v0.4.5 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking which v4.2.4 [INFO] [stderr] Checking os_pipe v0.9.2 [INFO] [stderr] Checking shared_child v0.3.5 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking duct v0.13.5 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking charset v0.1.3 [INFO] [stderr] Checking mailparse v0.13.8 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking imap-proto v0.15.0 [INFO] [stderr] Checking predicates v2.1.1 [INFO] [stderr] Checking assert_cmd v2.0.4 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling ouroboros_macro v0.14.2 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Checking ctrlc v3.2.1 [INFO] [stderr] Checking ouroboros v0.14.2 [INFO] [stderr] Checking imap v3.0.0-alpha.6 [INFO] [stderr] Checking clap v3.1.6 [INFO] [stderr] Checking serde v1.0.136 [INFO] [stderr] Checking serde_json v1.0.79 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking lettre v0.9.6 [INFO] [stderr] Checking lettre_email v0.9.4 [INFO] [stderr] Checking mail_client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/action.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/binary_libs/fetcher_lib.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | &config [INFO] [stdout] | __________________^ [INFO] [stdout] 133 | | .lock() [INFO] [stdout] 134 | | .unwrap(), [INFO] [stdout] | |_____________________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 135 | ) [INFO] [stdout] 136 | .expect("Couldn't open session from within idle thread"); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 142 | let wait_outcome = idle_session [INFO] [stdout] | ------------ borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 131 ~ let binding = config [INFO] [stdout] 132 + .lock() [INFO] [stdout] 133 + .unwrap(); [INFO] [stdout] 134 ~ let mut idle_session = login( [INFO] [stdout] 135 ~ &binding, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/binary_libs/fetcher_lib.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | &config [INFO] [stdout] | __________________^ [INFO] [stdout] 133 | | .lock() [INFO] [stdout] 134 | | .unwrap(), [INFO] [stdout] | |_____________________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 135 | ) [INFO] [stdout] 136 | .expect("Couldn't open session from within idle thread"); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 142 | let wait_outcome = idle_session [INFO] [stdout] | ------------ borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 131 ~ let binding = config [INFO] [stdout] 132 + .lock() [INFO] [stdout] 133 + .unwrap(); [INFO] [stdout] 134 ~ let mut idle_session = login( [INFO] [stdout] 135 ~ &binding, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/binary_libs/fetcher_lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | &config [INFO] [stdout] | __________^ [INFO] [stdout] 117 | | .lock() [INFO] [stdout] 118 | | .unwrap(), [INFO] [stdout] | |_____________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 119 | )?; [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 253 | } [INFO] [stdout] | - borrow might be used here, when `session` is dropped and runs the destructor for type `Session` [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 115 ~ let binding = config [INFO] [stdout] 116 + .lock() [INFO] [stdout] 117 + .unwrap(); [INFO] [stdout] 118 ~ let mut session = login( [INFO] [stdout] 119 ~ &binding, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/binary_libs/fetcher_lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | &config [INFO] [stdout] | __________^ [INFO] [stdout] 117 | | .lock() [INFO] [stdout] 118 | | .unwrap(), [INFO] [stdout] | |_____________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 119 | )?; [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] ... [INFO] [stdout] 253 | } [INFO] [stdout] | - borrow might be used here, when `session` is dropped and runs the destructor for type `Session` [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 115 ~ let binding = config [INFO] [stdout] 116 + .lock() [INFO] [stdout] 117 + .unwrap(); [INFO] [stdout] 118 ~ let mut session = login( [INFO] [stdout] 119 ~ &binding, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `config` because it is borrowed [INFO] [stdout] --> src/binary_libs/fetcher_lib.rs:130:16 [INFO] [stdout] | [INFO] [stdout] 109 | let config = Arc::new(Mutex::new(config)); [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 116 | &config [INFO] [stdout] | ------ borrow of `config` occurs here [INFO] [stdout] ... [INFO] [stdout] 130 | .spawn(move || { [INFO] [stdout] | ^^^^^^^ move out of `config` occurs here [INFO] [stdout] 131 | let mut idle_session = login( [INFO] [stdout] 132 | &config [INFO] [stdout] | ------ move occurs due to use in closure [INFO] [stdout] ... [INFO] [stdout] 176 | if let Some(most_recent) = session [INFO] [stdout] | ------- borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `config` because it is borrowed [INFO] [stdout] --> src/binary_libs/fetcher_lib.rs:130:16 [INFO] [stdout] | [INFO] [stdout] 109 | let config = Arc::new(Mutex::new(config)); [INFO] [stdout] | ------ binding `config` declared here [INFO] [stdout] ... [INFO] [stdout] 116 | &config [INFO] [stdout] | ------ borrow of `config` occurs here [INFO] [stdout] ... [INFO] [stdout] 130 | .spawn(move || { [INFO] [stdout] | ^^^^^^^ move out of `config` occurs here [INFO] [stdout] 131 | let mut idle_session = login( [INFO] [stdout] 132 | &config [INFO] [stdout] | ------ move occurs due to use in closure [INFO] [stdout] ... [INFO] [stdout] 176 | if let Some(most_recent) = session [INFO] [stdout] | ------- borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mail_client` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mail_client` (lib) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "64cf05700f44e981e0f46f9b966fa58f11d70dd92dea0dfa5bce91ddb1792783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64cf05700f44e981e0f46f9b966fa58f11d70dd92dea0dfa5bce91ddb1792783", kill_on_drop: false }` [INFO] [stdout] 64cf05700f44e981e0f46f9b966fa58f11d70dd92dea0dfa5bce91ddb1792783