[INFO] cloning repository https://github.com/www6v/rustDemo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/www6v/rustDemo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwww6v%2FrustDemo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwww6v%2FrustDemo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b93b77f0b7367d16ea1a57f6b5a17ffc641889a5 [INFO] testing www6v/rustDemo against master#159ba8a92c9e2fa4121f106176309521f4af87e9+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwww6v%2FrustDemo" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/www6v/rustDemo on toolchain 159ba8a92c9e2fa4121f106176309521f4af87e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/www6v/rustDemo [INFO] finished tweaking git repo https://github.com/www6v/rustDemo [INFO] tweaked toml for git repo https://github.com/www6v/rustDemo written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/www6v/rustDemo 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" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded html2md v0.2.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 723ae49816cc5f67007b82519e7762c1ea01efdb666610b96510443639c8092b [INFO] running `Command { std: "docker" "start" "-a" "723ae49816cc5f67007b82519e7762c1ea01efdb666610b96510443639c8092b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "723ae49816cc5f67007b82519e7762c1ea01efdb666610b96510443639c8092b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "723ae49816cc5f67007b82519e7762c1ea01efdb666610b96510443639c8092b", kill_on_drop: false }` [INFO] [stdout] 723ae49816cc5f67007b82519e7762c1ea01efdb666610b96510443639c8092b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 081d093b2b8d74e9a0adb20e55a6e00fbd51efc57cca5ec57cf93c73f64169f8 [INFO] running `Command { std: "docker" "start" "-a" "081d093b2b8d74e9a0adb20e55a6e00fbd51efc57cca5ec57cf93c73f64169f8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tendril v0.4.2 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling rocket v0.5.0-rc.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling smawk v0.3.1 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling textwrap v0.13.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling smallvec v0.4.5 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling h2 v0.3.9 [INFO] [stderr] Compiling ferris-says v0.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 [INFO] [stderr] Compiling string_cache v0.8.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling ubyte v0.10.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling xml5ever v0.16.2 [INFO] [stderr] Compiling markup5ever_rcdom v0.1.0 [INFO] [stderr] Compiling html2md v0.2.13 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.8 [INFO] [stderr] Compiling hello-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/base/trait_mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/base/rc.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 6 | id: usize, [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `age` and `lang` are never read [INFO] [stdout] --> src/base/trait_mod.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 11 | struct Developer { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 12 | name: String, [INFO] [stdout] 13 | age: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | lang: Language [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Developer` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello_rust::base::rc::rc_test` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hello_rust::base::rc::rc_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello_rust::base::trait_mod::copy_trait_test` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hello_rust::base::trait_mod::copy_trait_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello_rust::base::trait_mod::drop_trait_test` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use hello_rust::base::trait_mod::drop_trait_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello_rust::base::trait_mod::refcell_is_send` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hello_rust::base::trait_mod::refcell_is_send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello_rust::base::trait_mod::arc_mutext_is_send_sync` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hello_rust::base::trait_mod::arc_mutext_is_send_sync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hello_rust::base::base::Base` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use hello_rust::base::base::Base; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6m 35s [INFO] running `Command { std: "docker" "inspect" "081d093b2b8d74e9a0adb20e55a6e00fbd51efc57cca5ec57cf93c73f64169f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "081d093b2b8d74e9a0adb20e55a6e00fbd51efc57cca5ec57cf93c73f64169f8", kill_on_drop: false }` [INFO] [stdout] 081d093b2b8d74e9a0adb20e55a6e00fbd51efc57cca5ec57cf93c73f64169f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ebff4c778070a62fcd04d5596ec35767aa2b818ff8b9e51a06589d3f7b83a19 [INFO] running `Command { std: "docker" "start" "-a" "1ebff4c778070a62fcd04d5596ec35767aa2b818ff8b9e51a06589d3f7b83a19", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/base/trait_mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/base/rc.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 6 | id: usize, [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `age` and `lang` are never read [INFO] [stdout] --> src/base/trait_mod.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 11 | struct Developer { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 12 | name: String, [INFO] [stdout] 13 | age: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | lang: Language [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Developer` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hello-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut cb_ctx = Base::new(); [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: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Base::fetch_with_error(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/base/trait_mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/base/rc.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 6 | id: usize, [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `age` and `lang` are never read [INFO] [stdout] --> src/base/trait_mod.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 11 | struct Developer { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 12 | name: String, [INFO] [stdout] 13 | age: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | lang: Language [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Developer` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.06s [INFO] running `Command { std: "docker" "inspect" "1ebff4c778070a62fcd04d5596ec35767aa2b818ff8b9e51a06589d3f7b83a19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ebff4c778070a62fcd04d5596ec35767aa2b818ff8b9e51a06589d3f7b83a19", kill_on_drop: false }` [INFO] [stdout] 1ebff4c778070a62fcd04d5596ec35767aa2b818ff8b9e51a06589d3f7b83a19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e17397f4a3d66409a10b4f931c27544a3e6af2d92b7004a7362d197c98961901 [INFO] running `Command { std: "docker" "start" "-a" "e17397f4a3d66409a10b4f931c27544a3e6af2d92b7004a7362d197c98961901", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/base/trait_mod.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/base/rc.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 5 | struct Node { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 6 | id: usize, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `age` and `lang` are never read [INFO] [stderr] --> src/base/trait_mod.rs:13:3 [INFO] [stderr] | [INFO] [stderr] 11 | struct Developer { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 12 | name: String, [INFO] [stderr] 13 | age: u8, [INFO] [stderr] | ^^^ [INFO] [stderr] 14 | lang: Language [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Developer` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `hello-rust` (lib) generated 3 warnings (run `cargo fix --lib -p hello-rust` to apply 1 suggestion) [INFO] [stderr] warning: `hello-rust` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | let mut cb_ctx = Base::new(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | Base::fetch_with_error(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `hello-rust` (bin "hello-rust" test) generated 2 warnings (run `cargo fix --bin "hello-rust" --tests` to apply 1 suggestion) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hello_rust-3bc2a68d36cfc612) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hello_rust-49f219b469f8e142) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_in_prograss ... ok [INFO] [stdout] test tests::test_stable ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_stable stdout ---- [INFO] [stdout] hello in english :Hello [INFO] [stdout] hello in chinese :你好 [INFO] [stdout] firewall in english :Goodbye [INFO] [stdout] firewall in chinese :再见 [INFO] [stdout] Fetching url: https://www.rust-lang.org/ [INFO] [stdout] thread 'tests::test_stable' panicked at 'called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("www.rust-lang.org")), port: None, path: "/", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) }', src/base/base.rs:42:48 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x556e402a735a - std::backtrace_rs::backtrace::libunwind::trace::h66ee1baad70f162c [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x556e402a735a - std::backtrace_rs::backtrace::trace_unsynchronized::h3125ffde7ca4d99d [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x556e402a735a - std::sys_common::backtrace::_print_fmt::hbdbfa23eed07e688 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/sys_common/backtrace.rs:65:5 [INFO] [stdout] 3: 0x556e402a735a - ::fmt::h9040fa46c3c21247 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x556e402cbfde - core::fmt::write::h19a3b12aeae2c539 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/core/src/fmt/mod.rs:1213:17 [INFO] [stdout] 5: 0x556e402a1d25 - std::io::Write::write_fmt::h09ebe1f248736025 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/io/mod.rs:1682:15 [INFO] [stdout] 6: 0x556e402a7125 - std::sys_common::backtrace::_print::hd1ad2573e05197ac [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 7: 0x556e402a7125 - std::sys_common::backtrace::print::h6c0cd3c6b401ec72 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 8: 0x556e402a8f1f - std::panicking::default_hook::{{closure}}::hc09dc9f114375efd [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/panicking.rs:267:22 [INFO] [stdout] 9: 0x556e402a8bdf - std::panicking::default_hook::hfef666cfe5862d3a [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/panicking.rs:283:9 [INFO] [stdout] 10: 0x556e40015987 - as core::ops::function::Fn>::call::he38c0640087feffe [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/alloc/src/boxed.rs:2002:9 [INFO] [stdout] 11: 0x556e40015987 - test::test_main::{{closure}}::h071363f8c705b257 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/test/src/lib.rs:135:21 [INFO] [stdout] 12: 0x556e402a964d - as core::ops::function::Fn>::call::hc536ff91d276a16f [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/alloc/src/boxed.rs:2002:9 [INFO] [stdout] 13: 0x556e402a964d - std::panicking::rust_panic_with_hook::h09cdc27f5c472cc8 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/panicking.rs:692:13 [INFO] [stdout] 14: 0x556e402a93c9 - std::panicking::begin_panic_handler::{{closure}}::h5f38ac8f9e3f3f74 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/panicking.rs:579:13 [INFO] [stdout] 15: 0x556e402a780c - std::sys_common::backtrace::__rust_end_short_backtrace::hb85d55d699513ebd [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/sys_common/backtrace.rs:137:18 [INFO] [stdout] 16: 0x556e402a90d2 - rust_begin_unwind [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/panicking.rs:575:5 [INFO] [stdout] 17: 0x556e3ffe6103 - core::panicking::panic_fmt::hf0f695a991f65334 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/core/src/panicking.rs:64:14 [INFO] [stdout] 18: 0x556e3ffe65b3 - core::result::unwrap_failed::hd38b5d0bdcad8ef3 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/core/src/result.rs:1790:5 [INFO] [stdout] 19: 0x556e400273b4 - core::result::Result::unwrap::hfee8421167101671 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/core/src/result.rs:1112:23 [INFO] [stdout] 20: 0x556e400273b4 - hello_rust::base::base::Base::fetch_ignore_error::h2563dd1ff1cd2554 [INFO] [stdout] at /opt/rustwide/workdir/src/base/base.rs:42:20 [INFO] [stdout] 21: 0x556e3ffe68e4 - hello_rust::tests::test_stable::hd06d423da5b6519f [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:23:9 [INFO] [stdout] 22: 0x556e3ffe6819 - hello_rust::tests::test_stable::{{closure}}::h4da7e37fe6b98efd [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:19:22 [INFO] [stdout] 23: 0x556e3ffe6819 - core::ops::function::FnOnce::call_once::h225a5da9dca4f2a5 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x556e4001ae1f - core::ops::function::FnOnce::call_once::hd02ae4551b605d89 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x556e4001ae1f - test::__rust_begin_short_backtrace::he067d58dbbe4eff7 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/test/src/lib.rs:656:18 [INFO] [stdout] 26: 0x556e3ffec63c - test::run_test::{{closure}}::h99317ada5450d4d1 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/test/src/lib.rs:647:30 [INFO] [stdout] 27: 0x556e3ffec63c - core::ops::function::FnOnce::call_once{{vtable.shim}}::hdbccb09ec15aa75d [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x556e40019daa - as core::ops::function::FnOnce>::call_once::hc712263f4579e1e7 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 29: 0x556e40019daa - as core::ops::function::FnOnce<()>>::call_once::h3fdee2221c1ed465 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 30: 0x556e40019daa - std::panicking::try::do_call::h974a87241ba6f765 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/panicking.rs:483:40 [INFO] [stdout] 31: 0x556e40019daa - std::panicking::try::hf1858fb4e3e6e1ba [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/panicking.rs:447:19 [INFO] [stdout] 32: 0x556e40019daa - std::panic::catch_unwind::h3fc10dff34553685 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/panic.rs:140:14 [INFO] [stdout] 33: 0x556e40019daa - test::run_test_in_process::h44fc06fdd04e007f [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/test/src/lib.rs:679:27 [INFO] [stdout] 34: 0x556e40019daa - test::run_test::run_test_inner::{{closure}}::hc67e39cdf6272f40 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/test/src/lib.rs:573:39 [INFO] [stdout] 35: 0x556e3ffe6d01 - test::run_test::run_test_inner::{{closure}}::h1d1c6318c71d3046 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/test/src/lib.rs:600:37 [INFO] [stdout] 36: 0x556e3ffe6d01 - std::sys_common::backtrace::__rust_begin_short_backtrace::h4e2185d7b9c32705 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/sys_common/backtrace.rs:121:18 [INFO] [stdout] 37: 0x556e3ffec6cb - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf11e5bf7faafa3a6 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/thread/mod.rs:558:17 [INFO] [stdout] 38: 0x556e3ffec6cb - as core::ops::function::FnOnce<()>>::call_once::h2a1d6b9f209466ea [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 39: 0x556e3ffec6cb - std::panicking::try::do_call::he469b6a8fbe95fec [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/panicking.rs:483:40 [INFO] [stdout] 40: 0x556e3ffec6cb - std::panicking::try::h1f733fcf13a98585 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/panicking.rs:447:19 [INFO] [stdout] 41: 0x556e3ffec6cb - std::panic::catch_unwind::hecc42615914d8beb [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/panic.rs:140:14 [INFO] [stdout] 42: 0x556e3ffec6cb - std::thread::Builder::spawn_unchecked_::{{closure}}::h17668fadfa667920 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x556e3ffec6cb - core::ops::function::FnOnce::call_once{{vtable.shim}}::hfeec135cddf64dce [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x556e402adf23 - as core::ops::function::FnOnce>::call_once::h092bd1b4a0b89f07 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 45: 0x556e402adf23 - as core::ops::function::FnOnce>::call_once::h54d7347fe39f45fd [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 46: 0x556e402adf23 - std::sys::unix::thread::Thread::new::thread_start::hc8954c4997518988 [INFO] [stdout] at /rustc/159ba8a92c9e2fa4121f106176309521f4af87e9/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 47: 0x7fb7ee618b43 - [INFO] [stdout] 48: 0x7fb7ee6a9bb4 - __clone [INFO] [stdout] 49: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_stable [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin hello-rust` [INFO] running `Command { std: "docker" "inspect" "e17397f4a3d66409a10b4f931c27544a3e6af2d92b7004a7362d197c98961901", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e17397f4a3d66409a10b4f931c27544a3e6af2d92b7004a7362d197c98961901", kill_on_drop: false }` [INFO] [stdout] e17397f4a3d66409a10b4f931c27544a3e6af2d92b7004a7362d197c98961901