[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] checking jatin837/stoolie against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [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 dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e79c57521e4851324e1532c17bad004c391c092724ca5e61852ab057f1c371d7 [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" "e79c57521e4851324e1532c17bad004c391c092724ca5e61852ab057f1c371d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e79c57521e4851324e1532c17bad004c391c092724ca5e61852ab057f1c371d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e79c57521e4851324e1532c17bad004c391c092724ca5e61852ab057f1c371d7", kill_on_drop: false }` [INFO] [stdout] e79c57521e4851324e1532c17bad004c391c092724ca5e61852ab057f1c371d7 [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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 291b37be063544f40aabf05f3f6712d97face3091827a00e49787665b60e03f2 [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" "291b37be063544f40aabf05f3f6712d97face3091827a00e49787665b60e03f2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking std_prelude v0.2.12 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking stfu8 v0.2.4 [INFO] [stderr] Checking path_abs v0.5.1 [INFO] [stderr] Checking 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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "291b37be063544f40aabf05f3f6712d97face3091827a00e49787665b60e03f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "291b37be063544f40aabf05f3f6712d97face3091827a00e49787665b60e03f2", kill_on_drop: false }` [INFO] [stdout] 291b37be063544f40aabf05f3f6712d97face3091827a00e49787665b60e03f2