[INFO] cloning repository https://github.com/chinaxxren/rust-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chinaxxren/rust-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchinaxxren%2Frust-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchinaxxren%2Frust-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3558a785504aea03bba96b10ba2de371c25f3651
[INFO] checking chinaxxren/rust-rs against try#4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7 for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchinaxxren%2Frust-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/chinaxxren/rust-rs
[INFO] finished tweaking git repo https://github.com/chinaxxren/rust-rs
[INFO] tweaked toml for git repo https://github.com/chinaxxren/rust-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/chinaxxren/rust-rs on toolchain 4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/chinaxxren/rust-rs 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" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] bc5a185d444a84255832522d099d91e1ed31e9014541ab561d1987c77a5fcde0
[INFO] running `Command { std: "docker" "start" "bc5a185d444a84255832522d099d91e1ed31e9014541ab561d1987c77a5fcde0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bc5a185d444a84255832522d099d91e1ed31e9014541ab561d1987c77a5fcde0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bc5a185d444a84255832522d099d91e1ed31e9014541ab561d1987c77a5fcde0" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bc5a185d444a84255832522d099d91e1ed31e9014541ab561d1987c77a5fcde0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bc5a185d444a84255832522d099d91e1ed31e9014541ab561d1987c77a5fcde0" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/demo/un_movable.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let mut still_unmoved = unmoved;
[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] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/demo/un_movable.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let mut still_unmoved = unmoved;
[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] [stdout] warning: struct `Rc` is never constructed
[INFO] [stdout]  --> src/demo/my_weak.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Rc<T> {
[INFO] [stdout]   |        ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Weak` is never constructed
[INFO] [stdout]   --> src/demo/my_weak.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Weak<T> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Inner` is never constructed
[INFO] [stdout]   --> src/demo/my_weak.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Inner<T> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `downgrade`, `strong_count`, `weak_count`, and `inner` are never used
[INFO] [stdout]   --> src/demo/my_weak.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl<T> Rc<T> {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 23 |     fn new(value: T) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     fn downgrade(&self) -> Weak<T> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn strong_count(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn weak_count(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn inner(&self) -> &Inner<T> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Rc` is never constructed
[INFO] [stdout]  --> src/demo/my_weak.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Rc<T> {
[INFO] [stdout]   |        ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Weak` is never constructed
[INFO] [stdout]   --> src/demo/my_weak.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Weak<T> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `upgrade`, `strong_count`, `weak_count`, and `inner` are never used
[INFO] [stdout]    --> src/demo/my_weak.rs:86:8
[INFO] [stdout]     |
[INFO] [stdout]  85 | impl<T> Weak<T> {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout]  86 |     fn upgrade(&self) -> Option<Rc<T>> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     fn strong_count(&self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     fn weak_count(&self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     fn inner(&self) -> &Inner<T> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Inner` is never constructed
[INFO] [stdout]   --> src/demo/my_weak.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Inner<T> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/demo/my_weak.rs:134:4
[INFO] [stdout]     |
[INFO] [stdout] 134 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Arc` is never constructed
[INFO] [stdout]  --> src/demo/my_arc.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Arc<T> {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `downgrade`, `strong_count`, `weak_count`, and `inner` are never used
[INFO] [stdout]   --> src/demo/my_weak.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl<T> Rc<T> {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 23 |     fn new(value: T) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     fn downgrade(&self) -> Weak<T> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn strong_count(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn weak_count(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn inner(&self) -> &Inner<T> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Weak` is never constructed
[INFO] [stdout]   --> src/demo/my_arc.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Weak<T> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Inner` is never constructed
[INFO] [stdout]   --> src/demo/my_arc.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Inner<T> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `upgrade`, `strong_count`, `weak_count`, and `inner` are never used
[INFO] [stdout]    --> src/demo/my_weak.rs:86:8
[INFO] [stdout]     |
[INFO] [stdout]  85 | impl<T> Weak<T> {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout]  86 |     fn upgrade(&self) -> Option<Rc<T>> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     fn strong_count(&self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     fn weak_count(&self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     fn inner(&self) -> &Inner<T> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/demo/my_weak.rs:134:4
[INFO] [stdout]     |
[INFO] [stdout] 134 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `downgrade`, `strong_count`, `weak_count`, and `inner` are never used
[INFO] [stdout]   --> src/demo/my_arc.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl<T> Arc<T> {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 21 |     fn new(value: T) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn downgrade(&self) -> Weak<T> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn strong_count(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn weak_count(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     fn inner(&self) -> &Inner<T> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Arc` is never constructed
[INFO] [stdout]  --> src/demo/my_arc.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Arc<T> {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Weak` is never constructed
[INFO] [stdout]   --> src/demo/my_arc.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Weak<T> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Inner` is never constructed
[INFO] [stdout]   --> src/demo/my_arc.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Inner<T> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `downgrade`, `strong_count`, `weak_count`, and `inner` are never used
[INFO] [stdout]   --> src/demo/my_arc.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl<T> Arc<T> {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 21 |     fn new(value: T) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn downgrade(&self) -> Weak<T> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn strong_count(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     fn weak_count(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     fn inner(&self) -> &Inner<T> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `upgrade`, `strong_count`, `weak_count`, and `inner` are never used
[INFO] [stdout]   --> src/demo/my_arc.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | impl<T> Weak<T> {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] 81 |     fn upgrade(&self) -> Option<Arc<T>> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91 |     fn strong_count(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     fn weak_count(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99 |     fn inner(&self) -> &Inner<T> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/demo/my_arc.rs:124:4
[INFO] [stdout]     |
[INFO] [stdout] 124 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SelfRef` is never constructed
[INFO] [stdout]  --> src/demo/self_ref.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct SelfRef {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `init`, `value`, and `pointer_to_value` are never used
[INFO] [stdout]   --> src/demo/self_ref.rs:8:8
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl SelfRef {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout]  8 |     fn new(txt: &str) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn init(&mut self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn value(&self) -> &str {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn pointer_to_value(&self) -> &String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/demo/self_ref.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `upgrade`, `strong_count`, `weak_count`, and `inner` are never used
[INFO] [stdout]   --> src/demo/my_arc.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | impl<T> Weak<T> {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] 81 |     fn upgrade(&self) -> Option<Arc<T>> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91 |     fn strong_count(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     fn weak_count(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99 |     fn inner(&self) -> &Inner<T> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Unmovable` is never constructed
[INFO] [stdout]  --> src/demo/un_movable.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Unmovable {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/demo/my_arc.rs:124:4
[INFO] [stdout]     |
[INFO] [stdout] 124 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SelfRef` is never constructed
[INFO] [stdout]  --> src/demo/self_ref.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct SelfRef {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `init`, `value`, and `pointer_to_value` are never used
[INFO] [stdout]   --> src/demo/self_ref.rs:8:8
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl SelfRef {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout]  8 |     fn new(txt: &str) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn init(&mut self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn value(&self) -> &str {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn pointer_to_value(&self) -> &String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/demo/un_movable.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Unmovable {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 15 |     // 为了确保函数返回时数据的所有权不会被转移，我们将它放在堆上，唯一的访问方式就是通过指针
[INFO] [stdout] 16 |     fn new(data: String) -> Pin<Box<Self>> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/demo/self_ref.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Unmovable` is never constructed
[INFO] [stdout]  --> src/demo/un_movable.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Unmovable {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/demo/un_movable.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Unmovable {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 15 |     // 为了确保函数返回时数据的所有权不会被转移，我们将它放在堆上，唯一的访问方式就是通过指针
[INFO] [stdout] 16 |     fn new(data: String) -> Pin<Box<Self>> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/demo/un_movable.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/demo/un_movable.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/demo/my_weak.rs:76:21
[INFO] [stdout]    |
[INFO] [stdout] 76 |                     Box::from_raw(self.ptr.as_ptr());
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 76 |                     let _ = Box::from_raw(self.ptr.as_ptr());
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/demo/my_weak.rs:125:21
[INFO] [stdout]     |
[INFO] [stdout] 125 |                     Box::from_raw(self.ptr.as_ptr());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 125 |                     let _ = Box::from_raw(self.ptr.as_ptr());
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/demo/my_weak.rs:76:21
[INFO] [stdout]    |
[INFO] [stdout] 76 |                     Box::from_raw(self.ptr.as_ptr());
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 76 |                     let _ = Box::from_raw(self.ptr.as_ptr());
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/demo/my_weak.rs:125:21
[INFO] [stdout]     |
[INFO] [stdout] 125 |                     Box::from_raw(self.ptr.as_ptr());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 125 |                     let _ = Box::from_raw(self.ptr.as_ptr());
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/demo/my_arc.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 71 |                     Box::from_raw(self.ptr.as_ptr());
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 71 |                     let _ = Box::from_raw(self.ptr.as_ptr());
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/demo/my_arc.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 71 |                     Box::from_raw(self.ptr.as_ptr());
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 71 |                     let _ = Box::from_raw(self.ptr.as_ptr());
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/demo/my_arc.rs:117:21
[INFO] [stdout]     |
[INFO] [stdout] 117 |                     Box::from_raw(self.ptr.as_ptr());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 117 |                     let _ = Box::from_raw(self.ptr.as_ptr());
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/demo/my_arc.rs:117:21
[INFO] [stdout]     |
[INFO] [stdout] 117 |                     Box::from_raw(self.ptr.as_ptr());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 117 |                     let _ = Box::from_raw(self.ptr.as_ptr());
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] running `Command { std: "docker" "inspect" "bc5a185d444a84255832522d099d91e1ed31e9014541ab561d1987c77a5fcde0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc5a185d444a84255832522d099d91e1ed31e9014541ab561d1987c77a5fcde0", kill_on_drop: false }`
[INFO] [stdout] bc5a185d444a84255832522d099d91e1ed31e9014541ab561d1987c77a5fcde0
