[INFO] cloning repository https://github.com/wzp-coding/study-workspace [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wzp-coding/study-workspace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwzp-coding%2Fstudy-workspace", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwzp-coding%2Fstudy-workspace'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9cc96ddddc61f36cbe49c66e9c8195c491599a1 [INFO] testing wzp-coding/study-workspace against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwzp-coding%2Fstudy-workspace" "/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/wzp-coding/study-workspace [INFO] finished tweaking git repo https://github.com/wzp-coding/study-workspace [INFO] tweaked toml for git repo https://github.com/wzp-coding/study-workspace written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wzp-coding/study-workspace 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/wzp-coding/study-workspace 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] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 717167c2ea3a469ad7ffbdaf2d4bfff4187203a035e3c77926149309a8cdab63 [INFO] running `Command { std: "docker" "start" "-a" "717167c2ea3a469ad7ffbdaf2d4bfff4187203a035e3c77926149309a8cdab63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "717167c2ea3a469ad7ffbdaf2d4bfff4187203a035e3c77926149309a8cdab63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "717167c2ea3a469ad7ffbdaf2d4bfff4187203a035e3c77926149309a8cdab63", kill_on_drop: false }` [INFO] [stdout] 717167c2ea3a469ad7ffbdaf2d4bfff4187203a035e3c77926149309a8cdab63 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0cab5e2801d4a720a8f647b288a2be58a59ceadda78197fa9a098b82afd752e [INFO] running `Command { std: "docker" "start" "-a" "f0cab5e2801d4a720a8f647b288a2be58a59ceadda78197fa9a098b82afd752e", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling minigrep v0.1.0 (/opt/rustwide/workdir/minigrep) [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling object_oriented_demo v0.1.0 (/opt/rustwide/workdir/object_oriented_demo) [INFO] [stderr] Compiling struct_demo v0.1.0 (/opt/rustwide/workdir/struct_demo) [INFO] [stderr] Compiling control_flow_demo v0.1.0 (/opt/rustwide/workdir/control_flow_demo) [INFO] [stderr] Compiling ref_cell_demo v0.1.0 (/opt/rustwide/workdir/ref_cell_demo) [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stdout] warning: method `area` is never used [INFO] [stdout] --> struct_demo/src/main.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 8 | fn area(self: &Self) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ref_cell_demo/src/main.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(messenger: &T, max: usize) -> LimitTracker { [INFO] [stdout] | ^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(messenger: &T, max: usize) -> LimitTracker<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling fabonacci v0.1.0 (/opt/rustwide/workdir/fabonacci) [INFO] [stderr] Compiling auto_test_demo v0.1.0 (/opt/rustwide/workdir/auto_test_demo) [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling hash_map_demo v0.1.0 (/opt/rustwide/workdir/hash_map_demo) [INFO] [stderr] Compiling rc_demo v0.1.0 (/opt/rustwide/workdir/rc_demo) [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling slice_demo v0.1.0 (/opt/rustwide/workdir/slice_demo) [INFO] [stdout] warning: unused variable: `scores` [INFO] [stdout] --> hash_map_demo/src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let scores: HashMap<_, _> = teams.iter().zip(initial_scores.iter()).collect(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_scores` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> rc_demo/src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let b = Cons(3, Rc::clone(&a)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> rc_demo/src/main.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let c = Cons(4, Rc::clone(&a)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling closure_demo v0.1.0 (/opt/rustwide/workdir/closure_demo) [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> rc_demo/src/main.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | Cons(i32, Rc), [INFO] [stdout] | ---- ^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 2 - Cons(i32, Rc), [INFO] [stdout] 2 + Cons((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> slice_demo/src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut str = String::from("hello world"); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling error_handle_demo v0.1.0 (/opt/rustwide/workdir/error_handle_demo) [INFO] [stderr] Compiling rc_circle_demo v0.1.0 (/opt/rustwide/workdir/rc_circle_demo) [INFO] [stderr] Compiling transfer_temperature v0.1.0 (/opt/rustwide/workdir/transfer_temperature) [INFO] [stdout] warning: unused variable: `f1` [INFO] [stdout] --> error_handle_demo/src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let f1 = match f { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_f1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f2` [INFO] [stdout] --> error_handle_demo/src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let f2 = File::open("hello.txt").unwrap_or_else(|error| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_f2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `children` are never read [INFO] [stdout] --> rc_circle_demo/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | children: RefCell>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling drop_trait_demo v0.1.0 (/opt/rustwide/workdir/drop_trait_demo) [INFO] [stderr] error: could not compile `http` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/bin/rustc --crate-name http --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=285df98e17ddf849 -C extra-filename=-2f6429de8c748e17 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bytes=/opt/rustwide/target/debug/deps/libbytes-9c2a396be262bdae.rmeta --extern fnv=/opt/rustwide/target/debug/deps/libfnv-2d77ec4f6f971b24.rmeta --extern itoa=/opt/rustwide/target/debug/deps/libitoa-4c6598116a867907.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> drop_trait_demo/src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let c = CustomSmartPointer { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> drop_trait_demo/src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let d = CustomSmartPointer { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f0cab5e2801d4a720a8f647b288a2be58a59ceadda78197fa9a098b82afd752e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0cab5e2801d4a720a8f647b288a2be58a59ceadda78197fa9a098b82afd752e", kill_on_drop: false }` [INFO] [stdout] f0cab5e2801d4a720a8f647b288a2be58a59ceadda78197fa9a098b82afd752e