[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 master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjatin837%2Fstoolie" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jatin837/stoolie on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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-1/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a70df394bb3900dc29b430f3d82945956514bd01ff911920933fd876282af5c [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" "0a70df394bb3900dc29b430f3d82945956514bd01ff911920933fd876282af5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a70df394bb3900dc29b430f3d82945956514bd01ff911920933fd876282af5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a70df394bb3900dc29b430f3d82945956514bd01ff911920933fd876282af5c", kill_on_drop: false }` [INFO] [stdout] 0a70df394bb3900dc29b430f3d82945956514bd01ff911920933fd876282af5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ae8953a94525597c58ea9fcbc7148286350f54084e4898414abe8c444c99ccd [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" "2ae8953a94525597c58ea9fcbc7148286350f54084e4898414abe8c444c99ccd", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling std_prelude v0.2.12 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling hex-literal v0.3.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling stfu8 v0.2.4 [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" "2ae8953a94525597c58ea9fcbc7148286350f54084e4898414abe8c444c99ccd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ae8953a94525597c58ea9fcbc7148286350f54084e4898414abe8c444c99ccd", kill_on_drop: false }` [INFO] [stdout] 2ae8953a94525597c58ea9fcbc7148286350f54084e4898414abe8c444c99ccd