[INFO] cloning repository https://github.com/EdenCao/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/EdenCao/rust_learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdenCao%2Frust_learning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdenCao%2Frust_learning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b85aa524f292dd7b9939ed7d5de8b6456618f9f [INFO] checking EdenCao/rust_learning against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEdenCao%2Frust_learning" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EdenCao/rust_learning on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EdenCao/rust_learning [INFO] finished tweaking git repo https://github.com/EdenCao/rust_learning [INFO] tweaked toml for git repo https://github.com/EdenCao/rust_learning written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/EdenCao/rust_learning already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b10b9419ad78a2cd7253ceef659a401b6c87239f56221ef30d5632fd3a6dbf2a [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" "b10b9419ad78a2cd7253ceef659a401b6c87239f56221ef30d5632fd3a6dbf2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b10b9419ad78a2cd7253ceef659a401b6c87239f56221ef30d5632fd3a6dbf2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b10b9419ad78a2cd7253ceef659a401b6c87239f56221ef30d5632fd3a6dbf2a", kill_on_drop: false }` [INFO] [stdout] b10b9419ad78a2cd7253ceef659a401b6c87239f56221ef30d5632fd3a6dbf2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6db75209dacd35214de2f603a2c2ca6eef632b3c096a1dacd206921bb5cfdb5 [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" "b6db75209dacd35214de2f603a2c2ca6eef632b3c096a1dacd206921bb5cfdb5", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking rust_learning v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blog.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | state: Option>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blog.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn request_review(self: Box) -> Box; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blog.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | fn approve(self: Box) -> Box; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blog.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | fn request_review(self: Box) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blog.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 44 | fn approve(self: Box) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blog.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | fn request_review(self: Box) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blog.rs:56:38 [INFO] [stdout] | [INFO] [stdout] 56 | fn approve(self: Box) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blog.rs:64:45 [INFO] [stdout] | [INFO] [stdout] 64 | fn request_review(self: Box) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blog.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 68 | fn approve(self: Box) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post` [INFO] [stdout] --> src/blog.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | fn content<'a>(&self, post: &'a Post) -> &'a str { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_post` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `refcall` [INFO] [stdout] --> src/refcall.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / pub trait Messenger { [INFO] [stdout] 2 | | fn send(&self, msg: &str); [INFO] [stdout] 3 | | } [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 65 | | [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `src/refcall.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_learning` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `integer` [INFO] [stdout] --> src/generics.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | let integer = Point { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_integer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/generics.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | y: T [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `six` [INFO] [stdout] --> src/enum.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | let six = IpAddrKind::V6; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_six` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `home` [INFO] [stdout] --> src/enum.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | let home = IpAddr { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_home` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_type` [INFO] [stdout] --> src/enum.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | fn route(op_type: IpAddrKind) { } [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `kind` [INFO] [stdout] --> src/enum.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | kind: IpAddrKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address` [INFO] [stdout] --> src/enum.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | address: String [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b6db75209dacd35214de2f603a2c2ca6eef632b3c096a1dacd206921bb5cfdb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6db75209dacd35214de2f603a2c2ca6eef632b3c096a1dacd206921bb5cfdb5", kill_on_drop: false }` [INFO] [stdout] b6db75209dacd35214de2f603a2c2ca6eef632b3c096a1dacd206921bb5cfdb5