[INFO] updating cached repository AlexanderThaller/bench-rs
[INFO] running `"git" "fetch" "--all"`
[INFO] [stdout] Fetching origin
[INFO] [stderr] From git://github.com/AlexanderThaller/bench-rs
[INFO] [stderr]  * branch            HEAD       -> FETCH_HEAD
[INFO] running `"git" "clone" "work/cache/sources/gh/AlexanderThaller/bench-rs" "work/ex/beta-1.37-6/sources/1.36.0/gh/AlexanderThaller/bench-rs"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/AlexanderThaller/bench-rs'...
[INFO] [stderr] done.
[INFO] running `"git" "clone" "work/cache/sources/gh/AlexanderThaller/bench-rs" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/AlexanderThaller/bench-rs"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/AlexanderThaller/bench-rs'...
[INFO] [stderr] done.
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 4c183eaaad3b8198101c079fcdea328965a957a7
[INFO] sha for GitHub repo AlexanderThaller/bench-rs: 4c183eaaad3b8198101c079fcdea328965a957a7
[INFO] validating manifest of AlexanderThaller/bench-rs on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of AlexanderThaller/bench-rs on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing AlexanderThaller/bench-rs
[INFO] finished frobbing AlexanderThaller/bench-rs
[INFO] frobbed toml for AlexanderThaller/bench-rs written to work/ex/beta-1.37-6/sources/1.36.0/gh/AlexanderThaller/bench-rs/Cargo.toml
[INFO] started frobbing AlexanderThaller/bench-rs
[INFO] finished frobbing AlexanderThaller/bench-rs
[INFO] frobbed toml for AlexanderThaller/bench-rs written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/AlexanderThaller/bench-rs/Cargo.toml
[INFO] crate AlexanderThaller/bench-rs already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing AlexanderThaller/bench-rs against 1.36.0 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-6/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/AlexanderThaller/bench-rs:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "build" "--frozen"`
[INFO] [stdout] 077d9c6a757c24809c259b46bb583ae2c63584ec71261c44d26397e7431508c8
[INFO] running `"docker" "start" "-a" "077d9c6a757c24809c259b46bb583ae2c63584ec71261c44d26397e7431508c8"`
[INFO] [stderr]    Compiling pest v1.0.3
[INFO] [stderr]    Compiling itertools v0.7.6
[INFO] [stderr]    Compiling itertools-num v0.1.1
[INFO] [stderr]    Compiling clap v2.29.3
[INFO] [stderr]    Compiling backtrace v0.3.5
[INFO] [stderr]    Compiling criterion-stats v0.2.0
[INFO] [stderr]    Compiling simplelog v0.4.4
[INFO] [stderr]    Compiling pest_derive v1.0.3
[INFO] [stderr]    Compiling failure v0.1.1
[INFO] [stderr]    Compiling criterion-plot v0.2.0
[INFO] [stderr]    Compiling handlebars v0.30.1
[INFO] [stderr]    Compiling criterion v0.2.0
[INFO] [stderr]    Compiling bench v1.0.0 (/opt/crater/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[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 outside of the current crate (in Nightly builds, run with -Z external-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" "077d9c6a757c24809c259b46bb583ae2c63584ec71261c44d26397e7431508c8"`
[INFO] running `"docker" "rm" "-f" "077d9c6a757c24809c259b46bb583ae2c63584ec71261c44d26397e7431508c8"`
[INFO] [stdout] 077d9c6a757c24809c259b46bb583ae2c63584ec71261c44d26397e7431508c8
