[INFO] cloning repository https://github.com/jatin837/stoolie [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jatin837/stoolie" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjatin837%2Fstoolie", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjatin837%2Fstoolie'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d0f1eb611ea43f0cc51b54cb0b3077fd5ffed57 [INFO] testing jatin837/stoolie against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjatin837%2Fstoolie" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jatin837/stoolie on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jatin837/stoolie [INFO] finished tweaking git repo https://github.com/jatin837/stoolie [INFO] tweaked toml for git repo https://github.com/jatin837/stoolie written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/jatin837/stoolie already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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] 861505c50377df92049231c583dd1c61d73dfdb0e2a0040a34e02d95381c6102 [INFO] running `Command { std: "docker" "start" "-a" "861505c50377df92049231c583dd1c61d73dfdb0e2a0040a34e02d95381c6102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "861505c50377df92049231c583dd1c61d73dfdb0e2a0040a34e02d95381c6102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "861505c50377df92049231c583dd1c61d73dfdb0e2a0040a34e02d95381c6102", kill_on_drop: false }` [INFO] [stdout] 861505c50377df92049231c583dd1c61d73dfdb0e2a0040a34e02d95381c6102 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", 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] 667d6bf5d76f9194d83419ea27645984054fbaa3f77a74aa2a126595cb0b4db2 [INFO] running `Command { std: "docker" "start" "-a" "667d6bf5d76f9194d83419ea27645984054fbaa3f77a74aa2a126595cb0b4db2", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling stfu8 v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling path_abs v0.5.1 [INFO] [stderr] Compiling stoolie v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `idle` [INFO] [stdout] --> src/main.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | fn post_issue(idle: Vec){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_idle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `configs` [INFO] [stdout] --> src/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 96 | let name: &str = configs[0]["user"][0].as_str().expect("something wrong"); [INFO] [stdout] | ------- `configs` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 100 | vec![name, email, acces_token] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `configs` [INFO] [stdout] --> src/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 97 | let email: &str = configs[0]["user"][1].as_str().expect("something wrong"); [INFO] [stdout] | ------- `configs` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 100 | vec![name, email, acces_token] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `configs` [INFO] [stdout] --> src/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 98 | let acces_token: &str = configs[0]["user"][2].as_str().expect("something wrong"); [INFO] [stdout] | ------- `configs` is borrowed here [INFO] [stdout] 99 | println!("name -> {:?}, email -> {:?}, access_token -> {:?}", name, email, acces_token); [INFO] [stdout] 100 | vec![name, email, acces_token] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stoolie` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "667d6bf5d76f9194d83419ea27645984054fbaa3f77a74aa2a126595cb0b4db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "667d6bf5d76f9194d83419ea27645984054fbaa3f77a74aa2a126595cb0b4db2", kill_on_drop: false }` [INFO] [stdout] 667d6bf5d76f9194d83419ea27645984054fbaa3f77a74aa2a126595cb0b4db2