[INFO] cloning repository https://github.com/caoyifeng007/rust-learning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/caoyifeng007/rust-learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaoyifeng007%2Frust-learning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaoyifeng007%2Frust-learning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2d3b605c133d3640037fd98de521c9a9f75d491 [INFO] building caoyifeng007/rust-learning against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaoyifeng007%2Frust-learning" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/caoyifeng007/rust-learning [INFO] finished tweaking git repo https://github.com/caoyifeng007/rust-learning [INFO] tweaked toml for git repo https://github.com/caoyifeng007/rust-learning written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/caoyifeng007/rust-learning on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/caoyifeng007/rust-learning 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bbed34ddd62694978bd2554a2766cb8cb5880833b476df0b917ce9b48ae8383 [INFO] running `Command { std: "docker" "start" "-a" "0bbed34ddd62694978bd2554a2766cb8cb5880833b476df0b917ce9b48ae8383", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bbed34ddd62694978bd2554a2766cb8cb5880833b476df0b917ce9b48ae8383", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bbed34ddd62694978bd2554a2766cb8cb5880833b476df0b917ce9b48ae8383", kill_on_drop: false }` [INFO] [stdout] 0bbed34ddd62694978bd2554a2766cb8cb5880833b476df0b917ce9b48ae8383 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0083dc861cf20717a1bab899cd13791e497ae5b89d149004dc41e7fe502d8db8 [INFO] running `Command { std: "docker" "start" "-a" "0083dc861cf20717a1bab899cd13791e497ae5b89d149004dc41e7fe502d8db8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling tokio v1.26.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling chrono v0.4.33 [INFO] [stderr] Compiling atoi v0.3.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling pin-project v1.1.4 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling mini-redis v0.4.1 [INFO] [stderr] Compiling rust-learning v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `sqrt` is never used [INFO] [stdout] --> src/lib.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn sqrt(number: f64) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.48s [INFO] running `Command { std: "docker" "inspect" "0083dc861cf20717a1bab899cd13791e497ae5b89d149004dc41e7fe502d8db8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0083dc861cf20717a1bab899cd13791e497ae5b89d149004dc41e7fe502d8db8", kill_on_drop: false }` [INFO] [stdout] 0083dc861cf20717a1bab899cd13791e497ae5b89d149004dc41e7fe502d8db8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af3c2f402fbc0081fc3eac5c3a2d9624cef46122c6e288128f1165856ae45ff9 [INFO] running `Command { std: "docker" "start" "-a" "af3c2f402fbc0081fc3eac5c3a2d9624cef46122c6e288128f1165856ae45ff9", kill_on_drop: false }` [INFO] [stdout] warning: function `sqrt` is never used [INFO] [stdout] --> src/lib.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn sqrt(number: f64) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust-learning v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "af3c2f402fbc0081fc3eac5c3a2d9624cef46122c6e288128f1165856ae45ff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af3c2f402fbc0081fc3eac5c3a2d9624cef46122c6e288128f1165856ae45ff9", kill_on_drop: false }` [INFO] [stdout] af3c2f402fbc0081fc3eac5c3a2d9624cef46122c6e288128f1165856ae45ff9