[INFO] cloning repository https://github.com/smac330/Supplement-P2_3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/smac330/Supplement-P2_3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmac330%2FSupplement-P2_3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmac330%2FSupplement-P2_3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fbe49deeaff94e130360a03967825e1518b43927 [INFO] checking smac330/Supplement-P2_3 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmac330%2FSupplement-P2_3" "/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/smac330/Supplement-P2_3 [INFO] finished tweaking git repo https://github.com/smac330/Supplement-P2_3 [INFO] tweaked toml for git repo https://github.com/smac330/Supplement-P2_3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/smac330/Supplement-P2_3 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/smac330/Supplement-P2_3 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a43513b311e9b80258a76aea5b0e1497c8509d49ecdf922fbd8895aa2c9f61f8 [INFO] running `Command { std: "docker" "start" "-a" "a43513b311e9b80258a76aea5b0e1497c8509d49ecdf922fbd8895aa2c9f61f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a43513b311e9b80258a76aea5b0e1497c8509d49ecdf922fbd8895aa2c9f61f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a43513b311e9b80258a76aea5b0e1497c8509d49ecdf922fbd8895aa2c9f61f8", kill_on_drop: false }` [INFO] [stdout] a43513b311e9b80258a76aea5b0e1497c8509d49ecdf922fbd8895aa2c9f61f8 [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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ea15dd51ce985c034df83f3e373ac2ad4368b96941a53afdc522d359d3ad2db [INFO] running `Command { std: "docker" "start" "-a" "0ea15dd51ce985c034df83f3e373ac2ad4368b96941a53afdc522d359d3ad2db", kill_on_drop: false }` [INFO] [stderr] Checking supplement_p2_3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `point3d` [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod point3d; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `point3d`, create file "src/point3d.rs" or "src/point3d/mod.rs" [INFO] [stdout] = note: if there is a `mod point3d` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `point3d` [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod point3d; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `point3d`, create file "src/point3d.rs" or "src/point3d/mod.rs" [INFO] [stdout] = note: if there is a `mod point3d` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::larger` [INFO] [stdout] --> src/test.rs:2:73 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{add_heap, add_mixed, add_stack, point3d::Point3D, swap, larger}; [INFO] [stdout] | ^^^^^^ no `larger` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::larger` [INFO] [stdout] --> src/test.rs:2:73 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{add_heap, add_mixed, add_stack, point3d::Point3D, swap, larger}; [INFO] [stdout] | ^^^^^^ no `larger` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `add_heap`, `add_mixed`, `add_stack`, and `swap` [INFO] [stdout] --> src/test.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{add_heap, add_mixed, add_stack, point3d::Point3D, swap, larger}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `swap` [INFO] [stdout] --> src/test.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let (a, b) = swap(5, 10); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `:` for type annotation [INFO] [stdout] | [INFO] [stdout] 35 - let (a, b) = swap(5, 10); [INFO] [stdout] 35 + let (a, b): swap(5, 10); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions instead [INFO] [stdout] | [INFO] [stdout] 2 + use crate::swap::swap; [INFO] [stdout] | [INFO] [stdout] 2 + use std::mem::swap; [INFO] [stdout] | [INFO] [stdout] 2 + use std::ptr::swap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `swap` [INFO] [stdout] --> src/test.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | let (x, y) = swap("hello", "world"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `:` for type annotation [INFO] [stdout] | [INFO] [stdout] 39 - let (x, y) = swap("hello", "world"); [INFO] [stdout] 39 + let (x, y): swap("hello", "world"); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions instead [INFO] [stdout] | [INFO] [stdout] 2 + use crate::swap::swap; [INFO] [stdout] | [INFO] [stdout] 2 + use std::mem::swap; [INFO] [stdout] | [INFO] [stdout] 2 + use std::ptr::swap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `supplement_p2_3` (lib) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0423, E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `supplement_p2_3` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0ea15dd51ce985c034df83f3e373ac2ad4368b96941a53afdc522d359d3ad2db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ea15dd51ce985c034df83f3e373ac2ad4368b96941a53afdc522d359d3ad2db", kill_on_drop: false }` [INFO] [stdout] 0ea15dd51ce985c034df83f3e373ac2ad4368b96941a53afdc522d359d3ad2db