[INFO] cloning repository https://github.com/frol/rust-benchmark-option-replace_with-rfc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frol/rust-benchmark-option-replace_with-rfc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrol%2Frust-benchmark-option-replace_with-rfc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrol%2Frust-benchmark-option-replace_with-rfc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a79f0a3c095e82cb31849a723bc96b064ef944dc [INFO] testing frol/rust-benchmark-option-replace_with-rfc against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrol%2Frust-benchmark-option-replace_with-rfc" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/frol/rust-benchmark-option-replace_with-rfc on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/frol/rust-benchmark-option-replace_with-rfc [INFO] finished tweaking git repo https://github.com/frol/rust-benchmark-option-replace_with-rfc [INFO] tweaked toml for git repo https://github.com/frol/rust-benchmark-option-replace_with-rfc written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/frol/rust-benchmark-option-replace_with-rfc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded criterion-stats v0.2.3 [INFO] [stderr] Downloaded aho-corasick v0.6.5 [INFO] [stderr] Downloaded criterion-plot v0.2.3 [INFO] [stderr] Downloaded handlebars v0.31.0 [INFO] [stderr] Downloaded serde v1.0.68 [INFO] [stderr] Downloaded criterion v0.2.3 [INFO] [stderr] Downloaded serde_derive v1.0.68 [INFO] running `Command { std: "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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9395f34e6e015b2b92119b2d31fd49c99b6fe28c95f202e1cef611dd5cb194c [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" "f9395f34e6e015b2b92119b2d31fd49c99b6fe28c95f202e1cef611dd5cb194c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9395f34e6e015b2b92119b2d31fd49c99b6fe28c95f202e1cef611dd5cb194c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9395f34e6e015b2b92119b2d31fd49c99b6fe28c95f202e1cef611dd5cb194c", kill_on_drop: false }` [INFO] [stdout] f9395f34e6e015b2b92119b2d31fd49c99b6fe28c95f202e1cef611dd5cb194c [INFO] running `Command { std: "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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 78224f4dd3e8615fdf8b67fcdaa3404f7a638d648365ea7e261c4d43d92db36d [INFO] running `Command { std: "docker" "start" "-a" "78224f4dd3e8615fdf8b67fcdaa3404f7a638d648365ea7e261c4d43d92db36d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling serde v1.0.68 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling byteorder v1.2.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling rustc-demangle v0.1.8 [INFO] [stderr] Compiling itoa v0.4.1 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling thread-scoped v1.0.2 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling log v0.4.2 [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling atty v0.2.10 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling aho-corasick v0.6.5 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling syn v0.14.2 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling criterion-plot v0.2.3 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling criterion-stats v0.2.3 [INFO] [stderr] Compiling itertools-num v0.1.1 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling chrono v0.4.4 [INFO] [stderr] Compiling pest_derive v1.0.7 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Compiling simplelog v0.5.2 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.68 [INFO] [stderr] Compiling serde_json v1.0.22 [INFO] [stderr] Compiling handlebars v0.31.0 [INFO] [stderr] Compiling criterion v0.2.3 [INFO] [stderr] Compiling benchmark_replace_with v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:74:46 [INFO] [stdout] | [INFO] [stdout] 74 | let mut node = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:81:46 [INFO] [stdout] | [INFO] [stdout] 81 | let mut node = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:18:43 [INFO] [stdout] | [INFO] [stdout] 18 | let mut old_value = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 15s [INFO] running `Command { std: "docker" "inspect" "78224f4dd3e8615fdf8b67fcdaa3404f7a638d648365ea7e261c4d43d92db36d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78224f4dd3e8615fdf8b67fcdaa3404f7a638d648365ea7e261c4d43d92db36d", kill_on_drop: false }` [INFO] [stdout] 78224f4dd3e8615fdf8b67fcdaa3404f7a638d648365ea7e261c4d43d92db36d [INFO] running `Command { std: "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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] aad994f7579f7df4295aa3f37c6159258fdf94fe10e8283bd7bb219499ac1518 [INFO] running `Command { std: "docker" "start" "-a" "aad994f7579f7df4295aa3f37c6159258fdf94fe10e8283bd7bb219499ac1518", kill_on_drop: false }` [INFO] [stderr] Compiling benchmark_replace_with v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:74:46 [INFO] [stdout] | [INFO] [stdout] 74 | let mut node = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:81:46 [INFO] [stdout] | [INFO] [stdout] 81 | let mut node = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:18:43 [INFO] [stdout] | [INFO] [stdout] 18 | let mut old_value = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.59s [INFO] running `Command { std: "docker" "inspect" "aad994f7579f7df4295aa3f37c6159258fdf94fe10e8283bd7bb219499ac1518", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aad994f7579f7df4295aa3f37c6159258fdf94fe10e8283bd7bb219499ac1518", kill_on_drop: false }` [INFO] [stdout] aad994f7579f7df4295aa3f37c6159258fdf94fe10e8283bd7bb219499ac1518 [INFO] running `Command { std: "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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5a7443c93820750e04b0e9c63e55133dbed1af5dcc20155167fc6b6da4fe2983 [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" "5a7443c93820750e04b0e9c63e55133dbed1af5dcc20155167fc6b6da4fe2983", kill_on_drop: false }` [INFO] [stderr] warning: `#[inline]` is ignored on function prototypes [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/main.rs:74:46 [INFO] [stderr] | [INFO] [stderr] 74 | let mut node = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/main.rs:81:46 [INFO] [stderr] | [INFO] [stderr] 81 | let mut node = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/main.rs:18:43 [INFO] [stderr] | [INFO] [stderr] 18 | let mut old_value = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `benchmark_replace_with` (bin "benchmark_replace_with" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/benchmark_replace_with-1d472bcb15b313e3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5a7443c93820750e04b0e9c63e55133dbed1af5dcc20155167fc6b6da4fe2983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a7443c93820750e04b0e9c63e55133dbed1af5dcc20155167fc6b6da4fe2983", kill_on_drop: false }` [INFO] [stdout] 5a7443c93820750e04b0e9c63e55133dbed1af5dcc20155167fc6b6da4fe2983