[INFO] cloning repository https://github.com/crocme10/test-serde [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crocme10/test-serde" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrocme10%2Ftest-serde", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrocme10%2Ftest-serde'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 783f58e64e31280ed0729fea73e628766e7994f3 [INFO] checking crocme10/test-serde against try#8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346 for pr-86194 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrocme10%2Ftest-serde" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/crocme10/test-serde on toolchain 8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/crocme10/test-serde [INFO] finished tweaking git repo https://github.com/crocme10/test-serde [INFO] tweaked toml for git repo https://github.com/crocme10/test-serde written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/crocme10/test-serde already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 67f253d532566b2ff1e67a4f49bf01b48ddf9f8d3117cae7cb3bbbd4c87c0ac9 [INFO] running `Command { std: "docker" "start" "-a" "67f253d532566b2ff1e67a4f49bf01b48ddf9f8d3117cae7cb3bbbd4c87c0ac9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67f253d532566b2ff1e67a4f49bf01b48ddf9f8d3117cae7cb3bbbd4c87c0ac9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67f253d532566b2ff1e67a4f49bf01b48ddf9f8d3117cae7cb3bbbd4c87c0ac9", kill_on_drop: false }` [INFO] [stdout] 67f253d532566b2ff1e67a4f49bf01b48ddf9f8d3117cae7cb3bbbd4c87c0ac9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9ae18c60a90aee21c2c9fa69a9fe4e60991262ffc862228ab1675e7a71b9d17 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b9ae18c60a90aee21c2c9fa69a9fe4e60991262ffc862228ab1675e7a71b9d17", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking test-serde v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `s` does not live long enough [INFO] [stdout] --> src/main.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn des<'a, T: Deserialize<'a>>(s: String) -> Result, serde_json::Error> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] 21 | serde_json::from_str(&s) [INFO] [stdout] | ---------------------^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `s` is borrowed for `'a` [INFO] [stdout] 22 | } [INFO] [stdout] | - `s` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `test-serde` [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] [stdout] error[E0597]: `s` does not live long enough [INFO] [stdout] --> src/main.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn des<'a, T: Deserialize<'a>>(s: String) -> Result, serde_json::Error> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] 21 | serde_json::from_str(&s) [INFO] [stdout] | ---------------------^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `s` is borrowed for `'a` [INFO] [stdout] 22 | } [INFO] [stdout] | - `s` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b9ae18c60a90aee21c2c9fa69a9fe4e60991262ffc862228ab1675e7a71b9d17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9ae18c60a90aee21c2c9fa69a9fe4e60991262ffc862228ab1675e7a71b9d17", kill_on_drop: false }` [INFO] [stdout] b9ae18c60a90aee21c2c9fa69a9fe4e60991262ffc862228ab1675e7a71b9d17