[INFO] updating cached repository https://github.com/AlexanderThaller/bench-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] 4c183eaaad3b8198101c079fcdea328965a957a7
[INFO] checking AlexanderThaller/bench-rs against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexanderThaller%2Fbench-rs" "/workspace/builds/worker-14/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/AlexanderThaller/bench-rs on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/AlexanderThaller/bench-rs
[INFO] finished tweaking git repo https://github.com/AlexanderThaller/bench-rs
[INFO] tweaked toml for git repo https://github.com/AlexanderThaller/bench-rs written to /workspace/builds/worker-14/source/Cargo.toml
[INFO] crate git repo https://github.com/AlexanderThaller/bench-rs already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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] 8fef734d02357eb73c6fb37dd56b20bec4557adfa9442dd8a23e6b2cdfe4c61f
[INFO] running `"docker" "start" "-a" "8fef734d02357eb73c6fb37dd56b20bec4557adfa9442dd8a23e6b2cdfe4c61f"`
[INFO] [stderr]     Checking libc v0.2.36
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]     Checking cfg-if v0.1.2
[INFO] [stderr]    Compiling cc v1.0.4
[INFO] [stderr]     Checking num-traits v0.1.42
[INFO] [stderr]     Checking lazy_static v1.0.0
[INFO] [stderr]     Checking unicode-width v0.1.4
[INFO] [stderr]     Checking utf8-ranges v1.0.0
[INFO] [stderr]     Checking dtoa v0.4.2
[INFO] [stderr]     Checking serde v1.0.27
[INFO] [stderr]     Checking either v1.4.0
[INFO] [stderr]     Checking regex-syntax v0.4.2
[INFO] [stderr]     Checking rustc-demangle v0.1.5
[INFO] [stderr]     Checking itoa v0.3.4
[INFO] [stderr]    Compiling pest v1.0.3
[INFO] [stderr]     Checking cast v0.2.2
[INFO] [stderr]     Checking ansi_term v0.10.2
[INFO] [stderr]     Checking term v0.4.6
[INFO] [stderr]     Checking thread-scoped v1.0.2
[INFO] [stderr]     Checking quick-error v1.2.1
[INFO] [stderr]     Checking byteorder v1.2.1
[INFO] [stderr]     Checking bitflags v1.0.1
[INFO] [stderr]     Checking vec_map v0.8.0
[INFO] [stderr]     Checking log v0.4.1
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]     Checking textwrap v0.9.0
[INFO] [stderr]     Checking itertools v0.7.6
[INFO] [stderr]     Checking thread_local v0.3.5
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking memchr v2.0.1
[INFO] [stderr]     Checking rand v0.4.2
[INFO] [stderr]     Checking atty v0.2.6
[INFO] [stderr]     Checking time v0.1.39
[INFO] [stderr]     Checking num_cpus v1.8.0
[INFO] [stderr]     Checking isatty v0.1.6
[INFO] [stderr]     Checking itertools-num v0.1.1
[INFO] [stderr]     Checking clap v2.29.3
[INFO] [stderr]     Checking aho-corasick v0.6.4
[INFO] [stderr]     Checking simplelog v0.4.4
[INFO] [stderr]    Compiling backtrace-sys v0.1.16
[INFO] [stderr]     Checking regex v0.2.5
[INFO] [stderr]     Checking rand v0.3.22
[INFO] [stderr]     Checking criterion-plot v0.2.0
[INFO] [stderr]     Checking criterion-stats v0.2.0
[INFO] [stderr]    Compiling synstructure v0.6.1
[INFO] [stderr]    Compiling serde_derive_internals v0.19.0
[INFO] [stderr]    Compiling pest_derive v1.0.3
[INFO] [stderr]    Compiling failure_derive v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.27
[INFO] [stderr]     Checking serde_json v1.0.9
[INFO] [stderr]     Checking handlebars v0.30.1
[INFO] [stderr]     Checking backtrace v0.3.5
[INFO] [stderr]     Checking failure v0.1.1
[INFO] [stderr]     Checking criterion v0.2.0
[INFO] [stderr]     Checking bench v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0597]: `matches` does not live long enough
[INFO] [stderr]   --> src/main.rs:42:27
[INFO] [stderr]    |
[INFO] [stderr] 42 |         let mut command = matches.values_of("command").unwrap();
[INFO] [stderr]    |                           ^^^^^^^---------------------
[INFO] [stderr]    |                           |
[INFO] [stderr]    |                           borrowed value does not live long enough
[INFO] [stderr]    |                           argument requires that `matches` is borrowed for `'static`
[INFO] [stderr] ...
[INFO] [stderr] 63 | }
[INFO] [stderr]    | - `matches` dropped here while still borrowed
[INFO] [stderr] 
[INFO] [stderr] error[E0597]: `matches` does not live long enough
[INFO] [stderr]   --> src/main.rs:42:27
[INFO] [stderr]    |
[INFO] [stderr] 42 |         let mut command = matches.values_of("command").unwrap();
[INFO] [stderr]    |                           ^^^^^^^---------------------
[INFO] [stderr]    |                           |
[INFO] [stderr]    |                           borrowed value does not live long enough
[INFO] [stderr]    |                           argument requires that `matches` is borrowed for `'static`
[INFO] [stderr] ...
[INFO] [stderr] 63 | }
[INFO] [stderr]    | - `matches` dropped here while still borrowed
[INFO] [stderr] 
[INFO] [stderr] error[E0373]: closure may outlive the current function, but it borrows `command_args`, which is owned by the current function
[INFO] [stderr]   --> src/main.rs:58:38
[INFO] [stderr]    |
[INFO] [stderr] 58 |         .bench_function(id.as_str(), |b| {
[INFO] [stderr]    |                                      ^^^ may outlive borrowed value `command_args`
[INFO] [stderr] 59 |             b.iter(|| create_command(command_name, &command_args).output())
[INFO] [stderr]    |                                                     ------------ `command_args` is borrowed here
[INFO] [stderr]    |
[INFO] [stderr] note: function requires argument type to outlive `'static`
[INFO] [stderr]   --> src/main.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | /     Criterion::default()
[INFO] [stderr] 57 | |         .sample_size(sample_size)
[INFO] [stderr] 58 | |         .bench_function(id.as_str(), |b| {
[INFO] [stderr] 59 | |             b.iter(|| create_command(command_name, &command_args).output())
[INFO] [stderr] 60 | |         });
[INFO] [stderr]    | |__________^
[INFO] [stderr] help: to force the closure to take ownership of `command_args` (and any other referenced variables), use the `move` keyword
[INFO] [stderr]    |
[INFO] [stderr] 58 |         .bench_function(id.as_str(), move |b| {
[INFO] [stderr]    |                                      ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0373]: closure may outlive the current function, but it borrows `command_name`, which is owned by the current function
[INFO] [stderr]   --> src/main.rs:58:38
[INFO] [stderr]    |
[INFO] [stderr] 58 |         .bench_function(id.as_str(), |b| {
[INFO] [stderr]    |                                      ^^^ may outlive borrowed value `command_name`
[INFO] [stderr] 59 |             b.iter(|| create_command(command_name, &command_args).output())
[INFO] [stderr]    |                                      ------------ `command_name` is borrowed here
[INFO] [stderr]    |
[INFO] [stderr] note: function requires argument type to outlive `'static`
[INFO] [stderr]   --> src/main.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | /     Criterion::default()
[INFO] [stderr] 57 | |         .sample_size(sample_size)
[INFO] [stderr] 58 | |         .bench_function(id.as_str(), |b| {
[INFO] [stderr] 59 | |             b.iter(|| create_command(command_name, &command_args).output())
[INFO] [stderr] 60 | |         });
[INFO] [stderr]    | |__________^
[INFO] [stderr] help: to force the closure to take ownership of `command_name` (and any other referenced variables), use the `move` keyword
[INFO] [stderr]    |
[INFO] [stderr] 58 |         .bench_function(id.as_str(), move |b| {
[INFO] [stderr]    |                                      ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0716]: temporary value dropped while borrowed
[INFO] [stderr]   --> src/main.rs:28:16
[INFO] [stderr]    |
[INFO] [stderr] 28 |     let yaml = load_yaml!("cli.yml");
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^ creates a temporary which is freed while still in use
[INFO] [stderr] 29 |     let matches = App::from_yaml(yaml).version(crate_version!()).get_matches();
[INFO] [stderr]    |                   -------------------- argument requires that borrow lasts for `'static`
[INFO] [stderr] ...
[INFO] [stderr] 63 | }
[INFO] [stderr]    | - temporary value is freed at the end of this statement
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 4 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0373, E0597, E0716.
[INFO] [stderr] For more information about an error, try `rustc --explain E0373`.
[INFO] [stderr] error: could not compile `bench`.
[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[E0373]: closure may outlive the current function, but it borrows `command_args`, which is owned by the current function
[INFO] [stderr]   --> src/main.rs:58:38
[INFO] [stderr]    |
[INFO] [stderr] 58 |         .bench_function(id.as_str(), |b| {
[INFO] [stderr]    |                                      ^^^ may outlive borrowed value `command_args`
[INFO] [stderr] 59 |             b.iter(|| create_command(command_name, &command_args).output())
[INFO] [stderr]    |                                                     ------------ `command_args` is borrowed here
[INFO] [stderr]    |
[INFO] [stderr] note: function requires argument type to outlive `'static`
[INFO] [stderr]   --> src/main.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | /     Criterion::default()
[INFO] [stderr] 57 | |         .sample_size(sample_size)
[INFO] [stderr] 58 | |         .bench_function(id.as_str(), |b| {
[INFO] [stderr] 59 | |             b.iter(|| create_command(command_name, &command_args).output())
[INFO] [stderr] 60 | |         });
[INFO] [stderr]    | |__________^
[INFO] [stderr] help: to force the closure to take ownership of `command_args` (and any other referenced variables), use the `move` keyword
[INFO] [stderr]    |
[INFO] [stderr] 58 |         .bench_function(id.as_str(), move |b| {
[INFO] [stderr]    |                                      ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0373]: closure may outlive the current function, but it borrows `command_name`, which is owned by the current function
[INFO] [stderr]   --> src/main.rs:58:38
[INFO] [stderr]    |
[INFO] [stderr] 58 |         .bench_function(id.as_str(), |b| {
[INFO] [stderr]    |                                      ^^^ may outlive borrowed value `command_name`
[INFO] [stderr] 59 |             b.iter(|| create_command(command_name, &command_args).output())
[INFO] [stderr]    |                                      ------------ `command_name` is borrowed here
[INFO] [stderr]    |
[INFO] [stderr] note: function requires argument type to outlive `'static`
[INFO] [stderr]   --> src/main.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | /     Criterion::default()
[INFO] [stderr] 57 | |         .sample_size(sample_size)
[INFO] [stderr] 58 | |         .bench_function(id.as_str(), |b| {
[INFO] [stderr] 59 | |             b.iter(|| create_command(command_name, &command_args).output())
[INFO] [stderr] 60 | |         });
[INFO] [stderr]    | |__________^
[INFO] [stderr] help: to force the closure to take ownership of `command_name` (and any other referenced variables), use the `move` keyword
[INFO] [stderr]    |
[INFO] [stderr] 58 |         .bench_function(id.as_str(), move |b| {
[INFO] [stderr]    |                                      ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0716]: temporary value dropped while borrowed
[INFO] [stderr]   --> src/main.rs:28:16
[INFO] [stderr]    |
[INFO] [stderr] 28 |     let yaml = load_yaml!("cli.yml");
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^ creates a temporary which is freed while still in use
[INFO] [stderr] 29 |     let matches = App::from_yaml(yaml).version(crate_version!()).get_matches();
[INFO] [stderr]    |                   -------------------- argument requires that borrow lasts for `'static`
[INFO] [stderr] ...
[INFO] [stderr] 63 | }
[INFO] [stderr]    | - temporary value is freed at the end of this statement
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 4 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0373, E0597, E0716.
[INFO] [stderr] For more information about an error, try `rustc --explain E0373`.
[INFO] [stderr] error: could not compile `bench`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "8fef734d02357eb73c6fb37dd56b20bec4557adfa9442dd8a23e6b2cdfe4c61f"`
[INFO] running `"docker" "rm" "-f" "8fef734d02357eb73c6fb37dd56b20bec4557adfa9442dd8a23e6b2cdfe4c61f"`
[INFO] [stdout] 8fef734d02357eb73c6fb37dd56b20bec4557adfa9442dd8a23e6b2cdfe4c61f
