[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/d6470107282b5734c12196787c8f915c35691299 against master#9748d87dc70a9a6725c5dbd76ce29d04752b4f90 for pr-144156 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjvns%2Fruby-mem-watcher-demo" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jvns/ruby-mem-watcher-demo on toolchain 9748d87dc70a9a6725c5dbd76ce29d04752b4f90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mach v0.0.5 [INFO] [stderr] Downloaded which v1.0.3 [INFO] [stderr] Downloaded log v0.4.1 [INFO] [stderr] Downloaded bcc-sys v0.4.0 [INFO] [stderr] Downloaded cexpr v0.2.2 [INFO] [stderr] Downloaded libloading v0.4.3 [INFO] [stderr] Downloaded clang-sys v0.21.1 [INFO] [stderr] Downloaded env_logger v0.4.3 [INFO] [stderr] Downloaded redox_syscall v0.1.37 [INFO] [stderr] Downloaded elf v0.0.10 [INFO] [stderr] Downloaded nom v3.2.1 [INFO] [stderr] Downloaded bindgen v0.31.3 [INFO] [stderr] Downloaded clap v2.29.2 [INFO] [stderr] Downloaded winapi v0.3.4 [INFO] [stderr] Downloaded bcc v0.0.1 [INFO] [stderr] Downloaded read-process-memory v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b69270a5f75b49688aa706c31dd3a1a9f75c316145184398245028a1a469314f [INFO] running `Command { std: "docker" "start" "-a" "b69270a5f75b49688aa706c31dd3a1a9f75c316145184398245028a1a469314f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b69270a5f75b49688aa706c31dd3a1a9f75c316145184398245028a1a469314f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b69270a5f75b49688aa706c31dd3a1a9f75c316145184398245028a1a469314f", kill_on_drop: false }` [INFO] [stdout] b69270a5f75b49688aa706c31dd3a1a9f75c316145184398245028a1a469314f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddce8fe3fbe4d9b56b619ef86b60930de53823701d3118440d6d67504f236547 [INFO] running `Command { std: "docker" "start" "-a" "ddce8fe3fbe4d9b56b619ef86b60930de53823701d3118440d6d67504f236547", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling cc v1.0.4 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling bindgen v0.31.3 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.5 [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] Compiling syn v0.11.11 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling clap v2.29.2 [INFO] [stderr] Compiling clang-sys v0.21.1 [INFO] [stderr] Checking elf v0.0.10 [INFO] [stderr] Checking read-process-memory v0.1.2 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling regex v0.2.5 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling cexpr v0.2.2 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Compiling bcc-sys v0.4.0 [INFO] [stderr] Checking backtrace v0.3.5 [INFO] [stderr] Checking failure v0.1.1 [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] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 24 - maps.iter().any({ |map| map.contains_addr(addr) }) [INFO] [stdout] 24 + maps.iter().any(|map| map.contains_addr(addr)) [INFO] [stdout] | [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] [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] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 24 - maps.iter().any({ |map| map.contains_addr(addr) }) [INFO] [stdout] 24 + maps.iter().any(|map| map.contains_addr(addr)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ruby-fork-test` (lib test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated method `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] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 138 - let name = name.trim_right_matches("\0"); [INFO] [stdout] 138 + let name = name.trim_end_matches("\0"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 138 - let name = name.trim_right_matches("\0"); [INFO] [stdout] 138 + let name = name.trim_end_matches("\0"); [INFO] [stdout] | [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: 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] running `Command { std: "docker" "inspect" "ddce8fe3fbe4d9b56b619ef86b60930de53823701d3118440d6d67504f236547", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddce8fe3fbe4d9b56b619ef86b60930de53823701d3118440d6d67504f236547", kill_on_drop: false }` [INFO] [stdout] ddce8fe3fbe4d9b56b619ef86b60930de53823701d3118440d6d67504f236547