[INFO] cloning repository https://github.com/jvns/ruby-mem-watcher-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jvns/ruby-mem-watcher-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjvns%2Fruby-mem-watcher-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjvns%2Fruby-mem-watcher-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d6470107282b5734c12196787c8f915c35691299 [INFO] checking jvns/ruby-mem-watcher-demo against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjvns%2Fruby-mem-watcher-demo" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jvns/ruby-mem-watcher-demo on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jvns/ruby-mem-watcher-demo [INFO] finished tweaking git repo https://github.com/jvns/ruby-mem-watcher-demo [INFO] tweaked toml for git repo https://github.com/jvns/ruby-mem-watcher-demo written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/jvns/ruby-mem-watcher-demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92e6788fe505c055a81cbc7b39fac0690a9d8453d48e7f4609a7da1391a4d9b3 [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" "92e6788fe505c055a81cbc7b39fac0690a9d8453d48e7f4609a7da1391a4d9b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92e6788fe505c055a81cbc7b39fac0690a9d8453d48e7f4609a7da1391a4d9b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92e6788fe505c055a81cbc7b39fac0690a9d8453d48e7f4609a7da1391a4d9b3", kill_on_drop: false }` [INFO] [stdout] 92e6788fe505c055a81cbc7b39fac0690a9d8453d48e7f4609a7da1391a4d9b3 [INFO] running `Command { std: "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" "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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08267204a60f51d86312267c95d72b45a4ca911b608a5e8a6231b0d8d979348e [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" "08267204a60f51d86312267c95d72b45a4ca911b608a5e8a6231b0d8d979348e", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling bindgen v0.31.3 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling cc v1.0.4 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.5 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling which v1.0.3 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking elf v0.0.10 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling clap v2.29.2 [INFO] [stderr] Checking read-process-memory v0.1.2 [INFO] [stderr] Compiling clang-sys v0.21.1 [INFO] [stderr] Compiling regex v0.2.5 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling cexpr v0.2.2 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking backtrace v0.3.5 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Compiling bcc-sys v0.4.0 [INFO] [stderr] Checking bcc v0.0.1 [INFO] [stderr] Checking ruby-fork-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/proc_maps.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | maps.iter().any({ |map| map.contains_addr(addr) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../ci/testdata/map.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/proc_maps.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | let contents = include_str!("../ci/testdata/map.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/proc_maps.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | maps.iter().any({ |map| map.contains_addr(addr) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ruby-fork-test` [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] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/bin/count-ruby-allocs.rs:138:29 [INFO] [stdout] | [INFO] [stdout] 138 | let name = name.trim_right_matches("\0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/count-ruby-allocs.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | let mut out = f(ptr); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "08267204a60f51d86312267c95d72b45a4ca911b608a5e8a6231b0d8d979348e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08267204a60f51d86312267c95d72b45a4ca911b608a5e8a6231b0d8d979348e", kill_on_drop: false }` [INFO] [stdout] 08267204a60f51d86312267c95d72b45a4ca911b608a5e8a6231b0d8d979348e