[INFO] updating cached repository https://github.com/gregtatum/rust-profiler [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 36b2c83c1767bc580ab919a266e637da45f4cdd1 [INFO] testing gregtatum/rust-profiler against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgregtatum%2Frust-profiler" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gregtatum/rust-profiler on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gregtatum/rust-profiler [INFO] finished tweaking git repo https://github.com/gregtatum/rust-profiler [INFO] tweaked toml for git repo https://github.com/gregtatum/rust-profiler written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/gregtatum/rust-profiler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 514f4de186bc4ddd537df522ffa0c88fcfde8c3c113c7a2331a68759091ae667 [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" "514f4de186bc4ddd537df522ffa0c88fcfde8c3c113c7a2331a68759091ae667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "514f4de186bc4ddd537df522ffa0c88fcfde8c3c113c7a2331a68759091ae667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "514f4de186bc4ddd537df522ffa0c88fcfde8c3c113c7a2331a68759091ae667", kill_on_drop: false }` [INFO] [stdout] 514f4de186bc4ddd537df522ffa0c88fcfde8c3c113c7a2331a68759091ae667 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=forbid" "-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@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82383fd93ae920783337900e36cc4b3878f064366406a3604b58c4716e4696ee [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" "82383fd93ae920783337900e36cc4b3878f064366406a3604b58c4716e4696ee", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling backtrace v0.3.28 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling k9 v0.2.7 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling ipc-channel v0.12.2 [INFO] [stderr] Compiling profiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `mach` [INFO] [stdout] --> src/sampler_mac.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use mach; [INFO] [stdout] | ^^^^ no `mach` external crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pthread_get_stacksize_np` in crate `libc` [INFO] [stdout] --> src/sampler_mac.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | let stacksize = libc::pthread_get_stacksize_np(pthread_t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `pthread_getname_np` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.66/src/unix/linux_like/linux/gnu/mod.rs:1016:5 [INFO] [stdout] | [INFO] [stdout] 1016 | / pub fn pthread_getname_np( [INFO] [stdout] 1017 | | thread: ::pthread_t, [INFO] [stdout] 1018 | | name: *mut ::c_char, [INFO] [stdout] 1019 | | len: ::size_t, [INFO] [stdout] 1020 | | ) -> ::c_int; [INFO] [stdout] | |_________________- similarly named function `pthread_getname_np` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pthread_get_stackaddr_np` in crate `libc` [INFO] [stdout] --> src/sampler_mac.rs:141:35 [INFO] [stdout] | [INFO] [stdout] 141 | let stack_address_min = libc::pthread_get_stackaddr_np(pthread_t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `pthread_getattr_np` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.66/src/unix/linux_like/mod.rs:1320:5 [INFO] [stdout] | [INFO] [stdout] 1320 | / pub fn pthread_getattr_np( [INFO] [stdout] 1321 | | native: ::pthread_t, [INFO] [stdout] 1322 | | attr: *mut ::pthread_attr_t, [INFO] [stdout] 1323 | | ) -> ::c_int; [INFO] [stdout] | |_________________- similarly named function `pthread_getattr_np` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `profiler`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "82383fd93ae920783337900e36cc4b3878f064366406a3604b58c4716e4696ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82383fd93ae920783337900e36cc4b3878f064366406a3604b58c4716e4696ee", kill_on_drop: false }` [INFO] [stdout] 82383fd93ae920783337900e36cc4b3878f064366406a3604b58c4716e4696ee