[INFO] cloning repository https://github.com/obwan02/xanal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/obwan02/xanal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobwan02%2Fxanal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobwan02%2Fxanal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b4222a819dc31d4b1bafad8c9e5c0c0a630e34b4 [INFO] checking obwan02/xanal against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobwan02%2Fxanal" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/obwan02/xanal 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/obwan02/xanal [INFO] finished tweaking git repo https://github.com/obwan02/xanal [INFO] tweaked toml for git repo https://github.com/obwan02/xanal written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/obwan02/xanal 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 6e14ad6912393576025efbebee408fb97c38c10a9f4f009b6097a33c8ef2b0f1 [INFO] running `Command { std: "docker" "start" "-a" "6e14ad6912393576025efbebee408fb97c38c10a9f4f009b6097a33c8ef2b0f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e14ad6912393576025efbebee408fb97c38c10a9f4f009b6097a33c8ef2b0f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e14ad6912393576025efbebee408fb97c38c10a9f4f009b6097a33c8ef2b0f1", kill_on_drop: false }` [INFO] [stdout] 6e14ad6912393576025efbebee408fb97c38c10a9f4f009b6097a33c8ef2b0f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b81fb74e9372f3ebedf2f24dfe19cf715a7f804321f221534779092ce9dcb994 [INFO] running `Command { std: "docker" "start" "-a" "b81fb74e9372f3ebedf2f24dfe19cf715a7f804321f221534779092ce9dcb994", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling rustversion v1.0.7 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking hashbrown v0.12.2 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking simple-error v0.2.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking time v0.3.11 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking lipsum v0.8.2 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking flexi_logger v0.22.5 [INFO] [stderr] Checking clap v3.2.11 [INFO] [stderr] Checking xcrypt v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/lib.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 269 | 1 => write_file( [INFO] [stdout] | __________________^ [INFO] [stdout] 270 | | output_file, [INFO] [stdout] 271 | | &decrypt(&data, &key_guesses[0]).collect::>(), [INFO] [stdout] | | --------------------------------------------------- temporary value created here [INFO] [stdout] 272 | | )?, [INFO] [stdout] | |______________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/lib.rs:269:18 [INFO] [stdout] | [INFO] [stdout] 269 | 1 => write_file( [INFO] [stdout] | __________________^ [INFO] [stdout] 270 | | output_file, [INFO] [stdout] 271 | | &decrypt(&data, &key_guesses[0]).collect::>(), [INFO] [stdout] | | --------------------------------------------------- temporary value created here [INFO] [stdout] 272 | | )?, [INFO] [stdout] | |______________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/lib.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | write_file(path, &decrypt(&data, key).collect::>())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------------------------^^ [INFO] [stdout] | | | [INFO] [stdout] | | temporary value created here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/lib.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | write_file(path, &decrypt(&data, key).collect::>())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------------------------^^ [INFO] [stdout] | | | [INFO] [stdout] | | temporary value created here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xcrypt` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `xcrypt` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "b81fb74e9372f3ebedf2f24dfe19cf715a7f804321f221534779092ce9dcb994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b81fb74e9372f3ebedf2f24dfe19cf715a7f804321f221534779092ce9dcb994", kill_on_drop: false }` [INFO] [stdout] b81fb74e9372f3ebedf2f24dfe19cf715a7f804321f221534779092ce9dcb994