[INFO] cloning repository https://github.com/towa48/rust-libre-storage [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/towa48/rust-libre-storage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftowa48%2Frust-libre-storage"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftowa48%2Frust-libre-storage'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0d036e103ac5c54d475c051ddd8fbf38ffe30f3f [INFO] checking towa48/rust-libre-storage against master#6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257 for pr-70872 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftowa48%2Frust-libre-storage" "/workspace/builds/worker-13/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/towa48/rust-libre-storage on toolchain 6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257 [INFO] running `"/workspace/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/towa48/rust-libre-storage [INFO] finished tweaking git repo https://github.com/towa48/rust-libre-storage [INFO] tweaked toml for git repo https://github.com/towa48/rust-libre-storage written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/towa48/rust-libre-storage already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] c406c85522cae7f119ee8a01d302ba5f5f6338175f8f197ab458d9ad4e12fc54 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "c406c85522cae7f119ee8a01d302ba5f5f6338175f8f197ab458d9ad4e12fc54"` [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking filetime v0.2.8 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking rocket v0.4.4 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Checking rocket_contrib v0.4.4 [INFO] [stderr] Checking dotenv v0.10.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Checking diesel v1.4.3 [INFO] [stderr] Checking rust-libre-storage v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0515]: cannot return value referencing function parameter `value` [INFO] [stderr] --> src/crypto.rs:41:14 [INFO] [stderr] | [INFO] [stderr] 40 | let bytes = &value.as_bytes(); [INFO] [stderr] | ----- `value` is borrowed here [INFO] [stderr] 41 | unsafe { str::from_utf8_unchecked(bytes.to_owned()) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stderr] [INFO] [stderr] error[E0515]: cannot return value referencing function parameter `value` [INFO] [stderr] --> src/crypto.rs:41:14 [INFO] [stderr] | [INFO] [stderr] 40 | let bytes = &value.as_bytes(); [INFO] [stderr] | ----- `value` is borrowed here [INFO] [stderr] 41 | unsafe { str::from_utf8_unchecked(bytes.to_owned()) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0515`. [INFO] [stderr] error: could not compile `rust-libre-storage`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0515`. [INFO] [stderr] error: could not compile `rust-libre-storage`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c406c85522cae7f119ee8a01d302ba5f5f6338175f8f197ab458d9ad4e12fc54"` [INFO] running `"docker" "rm" "-f" "c406c85522cae7f119ee8a01d302ba5f5f6338175f8f197ab458d9ad4e12fc54"` [INFO] [stdout] c406c85522cae7f119ee8a01d302ba5f5f6338175f8f197ab458d9ad4e12fc54