[INFO] updating cached repository https://github.com/towa48/rust-libre-storage [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] [stderr] From https://github.com/towa48/rust-libre-storage [INFO] [stderr] 0d036e1..ad16de1 master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ad16de185bcd2c6d782036193189cbc9cbfa42e8 [INFO] checking towa48/rust-libre-storage against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftowa48%2Frust-libre-storage" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/towa48/rust-libre-storage on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a [INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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-5/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6cf3cc195ee09059e52991f43bd6e998b9f92f5c609ea030d765ba7087f83073 [INFO] running `"docker" "start" "-a" "6cf3cc195ee09059e52991f43bd6e998b9f92f5c609ea030d765ba7087f83073"` [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling rocket_codegen v0.4.4 [INFO] [stderr] Compiling rocket v0.4.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking filetime v0.2.8 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Checking inotify v0.7.0 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking dotenv v0.10.1 [INFO] [stderr] Checking cookie v0.11.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling pear_codegen v0.1.2 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.2 [INFO] [stderr] Checking rocket_http v0.4.4 [INFO] [stderr] Checking diesel v1.4.3 [INFO] [stderr] Checking rocket_contrib v0.4.4 [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:42:16 [INFO] [stderr] | [INFO] [stderr] 41 | let bytes = &value.as_bytes(); [INFO] [stderr] | ----- `value` is borrowed here [INFO] [stderr] 42 | return 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[E0515]: cannot return value referencing function parameter `value` [INFO] [stderr] --> src/crypto.rs:42:16 [INFO] [stderr] | [INFO] [stderr] 41 | let bytes = &value.as_bytes(); [INFO] [stderr] | ----- `value` is borrowed here [INFO] [stderr] 42 | return 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] running `"docker" "inspect" "6cf3cc195ee09059e52991f43bd6e998b9f92f5c609ea030d765ba7087f83073"` [INFO] running `"docker" "rm" "-f" "6cf3cc195ee09059e52991f43bd6e998b9f92f5c609ea030d765ba7087f83073"` [INFO] [stdout] 6cf3cc195ee09059e52991f43bd6e998b9f92f5c609ea030d765ba7087f83073