[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] testing AlexanderThaller/bench-rs against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexanderThaller%2Fbench-rs" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AlexanderThaller/bench-rs on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-7/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" "+1.44.0" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3aac2d8943de808aec62b5907f3a6f96decaefca54ed86bae74473ed74df9719 [INFO] running `"docker" "start" "-a" "3aac2d8943de808aec62b5907f3a6f96decaefca54ed86bae74473ed74df9719"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling cc v1.0.4 [INFO] [stderr] Compiling num-traits v0.1.42 [INFO] [stderr] Compiling pest v1.0.3 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling rustc-demangle v0.1.5 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling quick-error v1.2.1 [INFO] [stderr] Compiling thread-scoped v1.0.2 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling isatty v0.1.6 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling clap v2.29.3 [INFO] [stderr] Compiling serde_derive v1.0.27 [INFO] [stderr] Compiling simplelog v0.4.4 [INFO] [stderr] Compiling itertools v0.7.6 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling regex v0.2.5 [INFO] [stderr] Compiling pest_derive v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.9 [INFO] [stderr] Compiling itertools-num v0.1.1 [INFO] [stderr] Compiling criterion-stats v0.2.0 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling criterion-plot v0.2.0 [INFO] [stderr] Compiling handlebars v0.30.1 [INFO] [stderr] Compiling backtrace v0.3.5 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling criterion v0.2.0 [INFO] [stderr] Compiling 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[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" "3aac2d8943de808aec62b5907f3a6f96decaefca54ed86bae74473ed74df9719"` [INFO] running `"docker" "rm" "-f" "3aac2d8943de808aec62b5907f3a6f96decaefca54ed86bae74473ed74df9719"` [INFO] [stdout] 3aac2d8943de808aec62b5907f3a6f96decaefca54ed86bae74473ed74df9719