[INFO] updating cached repository https://github.com/ids1024/turls.rs
[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] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 119c8dd88123fe5479dbd8eb5502b1231d508283
[INFO] checking ids1024/turls.rs against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fids1024%2Fturls.rs" "/workspace/builds/worker-6/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ids1024/turls.rs on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/ids1024/turls.rs
[INFO] finished tweaking git repo https://github.com/ids1024/turls.rs
[INFO] tweaked toml for git repo https://github.com/ids1024/turls.rs written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/ids1024/turls.rs already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"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" "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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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] 7168f3496e3c1b0fae37e6f5c14ac06ee02b221f12cb05d26bc3abcccb0e9dfa
[INFO] running `"docker" "start" "-a" "7168f3496e3c1b0fae37e6f5c14ac06ee02b221f12cb05d26bc3abcccb0e9dfa"`
[INFO] [stderr]     Checking bidir-map v0.3.3
[INFO] [stderr]     Checking toml v0.2.1
[INFO] [stderr]     Checking serde_json v0.8.6
[INFO] [stderr]     Checking fastcgi v1.0.0
[INFO] [stderr]     Checking turls v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead.
[INFO] [stderr]   --> src/main.rs:97:24
[INFO] [stderr]    |
[INFO] [stderr] 97 |     let mut urlspath = std::env::home_dir().unwrap();
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead.
[INFO] [stderr]   --> src/main.rs:99:26
[INFO] [stderr]    |
[INFO] [stderr] 99 |     let mut configpath = std::env::home_dir().unwrap();
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead.
[INFO] [stderr]   --> src/main.rs:97:24
[INFO] [stderr]    |
[INFO] [stderr] 97 |     let mut urlspath = std::env::home_dir().unwrap();
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead.
[INFO] [stderr]   --> src/main.rs:99:26
[INFO] [stderr]    |
[INFO] [stderr] 99 |     let mut configpath = std::env::home_dir().unwrap();
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0596]: cannot borrow `urlmap` as mutable, as it is a captured variable in a `Fn` closure
[INFO] [stderr]    --> src/main.rs:117:24
[INFO] [stderr]     |
[INFO] [stderr] 117 |             let hash = urlmap.add_url(&query);
[INFO] [stderr]     |                        ^^^^^^ cannot borrow as mutable
[INFO] [stderr] 
[INFO] [stderr] error[E0597]: `config` does not live long enough
[INFO] [stderr]    --> src/main.rs:109:19
[INFO] [stderr]     |
[INFO] [stderr] 109 |     let baseurl = config.get("baseurl").unwrap().as_str().unwrap();
[INFO] [stderr]     |                   ^^^^^^---------------
[INFO] [stderr]     |                   |
[INFO] [stderr]     |                   borrowed value does not live long enough
[INFO] [stderr]     |                   argument requires that `config` is borrowed for `'static`
[INFO] [stderr] ...
[INFO] [stderr] 134 | }
[INFO] [stderr]     | - `config` dropped here while still borrowed
[INFO] [stderr] 
[INFO] [stderr] error[E0373]: closure may outlive the current function, but it borrows `baseurl`, which is owned by the current function
[INFO] [stderr]    --> src/main.rs:113:22
[INFO] [stderr]     |
[INFO] [stderr] 113 |     fastcgi::run_tcp(|mut req| {
[INFO] [stderr]     |                      ^^^^^^^^^ may outlive borrowed value `baseurl`
[INFO] [stderr] ...
[INFO] [stderr] 120 |                    baseurl,
[INFO] [stderr]     |                    ------- `baseurl` is borrowed here
[INFO] [stderr]     |
[INFO] [stderr] note: function requires argument type to outlive `'static`
[INFO] [stderr]    --> src/main.rs:113:5
[INFO] [stderr]     |
[INFO] [stderr] 113 | /     fastcgi::run_tcp(|mut req| {
[INFO] [stderr] 114 | |         let query = req.param("QUERY_STRING").unwrap();
[INFO] [stderr] 115 | |         let uri = req.param("DOCUMENT_URI").unwrap();
[INFO] [stderr] 116 | |         if uri == "/create" {
[INFO] [stderr] ...   |
[INFO] [stderr] 132 | |     },
[INFO] [stderr] 133 | |                      &listener);
[INFO] [stderr]     | |_______________________________^
[INFO] [stderr] help: to force the closure to take ownership of `baseurl` (and any other referenced variables), use the `move` keyword
[INFO] [stderr]     |
[INFO] [stderr] 113 |     fastcgi::run_tcp(move |mut req| {
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0373]: closure may outlive the current function, but it borrows `urlmap`, which is owned by the current function
[INFO] [stderr]    --> src/main.rs:113:22
[INFO] [stderr]     |
[INFO] [stderr] 113 |     fastcgi::run_tcp(|mut req| {
[INFO] [stderr]     |                      ^^^^^^^^^ may outlive borrowed value `urlmap`
[INFO] [stderr] ...
[INFO] [stderr] 117 |             let hash = urlmap.add_url(&query);
[INFO] [stderr]     |                        ------ `urlmap` is borrowed here
[INFO] [stderr]     |
[INFO] [stderr] note: function requires argument type to outlive `'static`
[INFO] [stderr]    --> src/main.rs:113:5
[INFO] [stderr]     |
[INFO] [stderr] 113 | /     fastcgi::run_tcp(|mut req| {
[INFO] [stderr] 114 | |         let query = req.param("QUERY_STRING").unwrap();
[INFO] [stderr] 115 | |         let uri = req.param("DOCUMENT_URI").unwrap();
[INFO] [stderr] 116 | |         if uri == "/create" {
[INFO] [stderr] ...   |
[INFO] [stderr] 132 | |     },
[INFO] [stderr] 133 | |                      &listener);
[INFO] [stderr]     | |_______________________________^
[INFO] [stderr] help: to force the closure to take ownership of `urlmap` (and any other referenced variables), use the `move` keyword
[INFO] [stderr]     |
[INFO] [stderr] 113 |     fastcgi::run_tcp(move |mut req| {
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 4 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0373, E0596, E0597.
[INFO] [stderr] For more information about an error, try `rustc --explain E0373`.
[INFO] [stderr] error: could not compile `turls`.
[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[E0596]: cannot borrow `urlmap` as mutable, as it is a captured variable in a `Fn` closure
[INFO] [stderr]    --> src/main.rs:117:24
[INFO] [stderr]     |
[INFO] [stderr] 117 |             let hash = urlmap.add_url(&query);
[INFO] [stderr]     |                        ^^^^^^ cannot borrow as mutable
[INFO] [stderr] 
[INFO] [stderr] error[E0597]: `config` does not live long enough
[INFO] [stderr]    --> src/main.rs:109:19
[INFO] [stderr]     |
[INFO] [stderr] 109 |     let baseurl = config.get("baseurl").unwrap().as_str().unwrap();
[INFO] [stderr]     |                   ^^^^^^---------------
[INFO] [stderr]     |                   |
[INFO] [stderr]     |                   borrowed value does not live long enough
[INFO] [stderr]     |                   argument requires that `config` is borrowed for `'static`
[INFO] [stderr] ...
[INFO] [stderr] 134 | }
[INFO] [stderr]     | - `config` dropped here while still borrowed
[INFO] [stderr] 
[INFO] [stderr] error[E0373]: closure may outlive the current function, but it borrows `baseurl`, which is owned by the current function
[INFO] [stderr]    --> src/main.rs:113:22
[INFO] [stderr]     |
[INFO] [stderr] 113 |     fastcgi::run_tcp(|mut req| {
[INFO] [stderr]     |                      ^^^^^^^^^ may outlive borrowed value `baseurl`
[INFO] [stderr] ...
[INFO] [stderr] 120 |                    baseurl,
[INFO] [stderr]     |                    ------- `baseurl` is borrowed here
[INFO] [stderr]     |
[INFO] [stderr] note: function requires argument type to outlive `'static`
[INFO] [stderr]    --> src/main.rs:113:5
[INFO] [stderr]     |
[INFO] [stderr] 113 | /     fastcgi::run_tcp(|mut req| {
[INFO] [stderr] 114 | |         let query = req.param("QUERY_STRING").unwrap();
[INFO] [stderr] 115 | |         let uri = req.param("DOCUMENT_URI").unwrap();
[INFO] [stderr] 116 | |         if uri == "/create" {
[INFO] [stderr] ...   |
[INFO] [stderr] 132 | |     },
[INFO] [stderr] 133 | |                      &listener);
[INFO] [stderr]     | |_______________________________^
[INFO] [stderr] help: to force the closure to take ownership of `baseurl` (and any other referenced variables), use the `move` keyword
[INFO] [stderr]     |
[INFO] [stderr] 113 |     fastcgi::run_tcp(move |mut req| {
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0373]: closure may outlive the current function, but it borrows `urlmap`, which is owned by the current function
[INFO] [stderr]    --> src/main.rs:113:22
[INFO] [stderr]     |
[INFO] [stderr] 113 |     fastcgi::run_tcp(|mut req| {
[INFO] [stderr]     |                      ^^^^^^^^^ may outlive borrowed value `urlmap`
[INFO] [stderr] ...
[INFO] [stderr] 117 |             let hash = urlmap.add_url(&query);
[INFO] [stderr]     |                        ------ `urlmap` is borrowed here
[INFO] [stderr]     |
[INFO] [stderr] note: function requires argument type to outlive `'static`
[INFO] [stderr]    --> src/main.rs:113:5
[INFO] [stderr]     |
[INFO] [stderr] 113 | /     fastcgi::run_tcp(|mut req| {
[INFO] [stderr] 114 | |         let query = req.param("QUERY_STRING").unwrap();
[INFO] [stderr] 115 | |         let uri = req.param("DOCUMENT_URI").unwrap();
[INFO] [stderr] 116 | |         if uri == "/create" {
[INFO] [stderr] ...   |
[INFO] [stderr] 132 | |     },
[INFO] [stderr] 133 | |                      &listener);
[INFO] [stderr]     | |_______________________________^
[INFO] [stderr] help: to force the closure to take ownership of `urlmap` (and any other referenced variables), use the `move` keyword
[INFO] [stderr]     |
[INFO] [stderr] 113 |     fastcgi::run_tcp(move |mut req| {
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 4 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0373, E0596, E0597.
[INFO] [stderr] For more information about an error, try `rustc --explain E0373`.
[INFO] [stderr] error: could not compile `turls`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "7168f3496e3c1b0fae37e6f5c14ac06ee02b221f12cb05d26bc3abcccb0e9dfa"`
[INFO] running `"docker" "rm" "-f" "7168f3496e3c1b0fae37e6f5c14ac06ee02b221f12cb05d26bc3abcccb0e9dfa"`
[INFO] [stdout] 7168f3496e3c1b0fae37e6f5c14ac06ee02b221f12cb05d26bc3abcccb0e9dfa
