[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] b324bc7..ad16de1 master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ad16de185bcd2c6d782036193189cbc9cbfa42e8 [INFO] checking towa48/rust-libre-storage against master#ba72b15666b2491415aec703a02c2364fe5e2790 for pr-71140 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftowa48%2Frust-libre-storage" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/towa48/rust-libre-storage on toolchain ba72b15666b2491415aec703a02c2364fe5e2790 [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "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-4/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" "+ba72b15666b2491415aec703a02c2364fe5e2790" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+ba72b15666b2491415aec703a02c2364fe5e2790" "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] 939a56010acc845d01c8169c7997ef0846fdac0bfcc44badaa3893e45a6f993f [INFO] running `"docker" "start" "-a" "939a56010acc845d01c8169c7997ef0846fdac0bfcc44badaa3893e45a6f993f"` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling state v0.4.1 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling backtrace-sys v0.1.34 [INFO] [stderr] Compiling pear_codegen v0.1.2 [INFO] [stderr] Compiling libsqlite3-sys v0.16.0 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling rocket_codegen v0.4.4 [INFO] [stderr] Compiling rocket v0.4.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling syn v0.11.11 [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 time v0.1.42 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Checking inotify v0.7.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking backtrace v0.3.45 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking cookie v0.11.2 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Checking dotenv v0.10.1 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.2 [INFO] [stderr] Compiling 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[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: 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" "939a56010acc845d01c8169c7997ef0846fdac0bfcc44badaa3893e45a6f993f"` [INFO] running `"docker" "rm" "-f" "939a56010acc845d01c8169c7997ef0846fdac0bfcc44badaa3893e45a6f993f"` [INFO] [stdout] 939a56010acc845d01c8169c7997ef0846fdac0bfcc44badaa3893e45a6f993f