[INFO] cloning repository https://github.com/coppock/gpu-sched-sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/coppock/gpu-sched-sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoppock%2Fgpu-sched-sim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoppock%2Fgpu-sched-sim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ba9fa7bd87455c7eb0708cccb846df227de1eea [INFO] checking coppock/gpu-sched-sim against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoppock%2Fgpu-sched-sim" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/coppock/gpu-sched-sim [INFO] finished tweaking git repo https://github.com/coppock/gpu-sched-sim [INFO] tweaked toml for git repo https://github.com/coppock/gpu-sched-sim written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/coppock/gpu-sched-sim on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/coppock/gpu-sched-sim 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df3881f446f18e1b90e5c1832ce3be95a993ec37d1e6630f1febb8e3a669acce [INFO] running `Command { std: "docker" "start" "-a" "df3881f446f18e1b90e5c1832ce3be95a993ec37d1e6630f1febb8e3a669acce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df3881f446f18e1b90e5c1832ce3be95a993ec37d1e6630f1febb8e3a669acce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df3881f446f18e1b90e5c1832ce3be95a993ec37d1e6630f1febb8e3a669acce", kill_on_drop: false }` [INFO] [stdout] df3881f446f18e1b90e5c1832ce3be95a993ec37d1e6630f1febb8e3a669acce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc5dd8dfc7456b53681f64b4b85f2ce5bd9c5530bd055ca4a5ae91566cfe12b3 [INFO] running `Command { std: "docker" "start" "-a" "fc5dd8dfc7456b53681f64b4b85f2ce5bd9c5530bd055ca4a5ae91566cfe12b3", kill_on_drop: false }` [INFO] [stderr] Checking sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0609]: no field `time` on type `&mut Driver` [INFO] [stdout] --> src/driver.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | gpu.launch(self.time, kernel, stream); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `launches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/thread.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | self.driver.launch(kernel, stream); [INFO] [stdout] | ^^^^^^---------------- argument #3 of type `&mut Gpu` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/driver.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn launch(self: &mut Self, kernel: Kernel, stream: Stream, gpu: &mut Gpu) { [INFO] [stdout] | ^^^^^^ ------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 18 | self.driver.launch(kernel, stream, /* &mut Gpu */); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `time` on type `&mut Driver` [INFO] [stdout] --> src/driver.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | gpu.launch(self.time, kernel, stream); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `launches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/thread.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | Api::Sync => self.driver.sync(), [INFO] [stdout] | ^^^^-- argument #1 of type `&mut Gpu` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/driver.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn sync(self: &mut Self, gpu: &mut Gpu) -> Duration { [INFO] [stdout] | ^^^^ ------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 21 | Api::Sync => self.driver.sync(/* &mut Gpu */), [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `Api::KernelLaunch` has no field named `duration` [INFO] [stdout] --> src/main.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | duration: Duration::from_nanos(fields[10].parse()?), [INFO] [stdout] | ^^^^^^^^ `Api::KernelLaunch` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `kernel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `Api::KernelLaunch` has no field named `dim` [INFO] [stdout] --> src/main.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | dim: [12, 13, 14] [INFO] [stdout] | ^^^ `Api::KernelLaunch` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `kernel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/thread.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | self.driver.launch(kernel, stream); [INFO] [stdout] | ^^^^^^---------------- argument #3 of type `&mut Gpu` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/driver.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn launch(self: &mut Self, kernel: Kernel, stream: Stream, gpu: &mut Gpu) { [INFO] [stdout] | ^^^^^^ ------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 18 | self.driver.launch(kernel, stream, /* &mut Gpu */); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/thread.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | Api::Sync => self.driver.sync(), [INFO] [stdout] | ^^^^-- argument #1 of type `&mut Gpu` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/driver.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn sync(self: &mut Self, gpu: &mut Gpu) -> Duration { [INFO] [stdout] | ^^^^ ------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 21 | Api::Sync => self.driver.sync(/* &mut Gpu */), [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kernels` [INFO] [stdout] --> src/gpu.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | for (stream, kernels) in self.streams { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kernels` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `Api::KernelLaunch` has no field named `duration` [INFO] [stdout] --> src/main.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | duration: Duration::from_nanos(fields[10].parse()?), [INFO] [stdout] | ^^^^^^^^ `Api::KernelLaunch` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `kernel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `Api::KernelLaunch` has no field named `dim` [INFO] [stdout] --> src/main.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | dim: [12, 13, 14] [INFO] [stdout] | ^^^ `Api::KernelLaunch` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `kernel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.streams` which is behind a mutable reference [INFO] [stdout] --> src/gpu.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | for (stream, kernels) in self.streams { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self.streams` moved due to this implicit call to `.into_iter()` [INFO] [stdout] | move occurs because `self.streams` has type `HashMap>`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `self.streams` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/iter/traits/collect.rs:310:18 [INFO] [stdout] help: consider iterating over a slice of the `HashMap>`'s content to avoid moving into the `for` loop [INFO] [stdout] | [INFO] [stdout] 22 | for (stream, kernels) in &self.streams { [INFO] [stdout] | + [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 22 | for (stream, kernels) in self.streams.clone() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kernels` [INFO] [stdout] --> src/gpu.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | for (stream, kernels) in self.streams { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kernels` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.streams` which is behind a mutable reference [INFO] [stdout] --> src/gpu.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | for (stream, kernels) in self.streams { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self.streams` moved due to this implicit call to `.into_iter()` [INFO] [stdout] | move occurs because `self.streams` has type `HashMap>`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `self.streams` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/iter/traits/collect.rs:310:18 [INFO] [stdout] help: consider iterating over a slice of the `HashMap>`'s content to avoid moving into the `for` loop [INFO] [stdout] | [INFO] [stdout] 22 | for (stream, kernels) in &self.streams { [INFO] [stdout] | + [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 22 | for (stream, kernels) in self.streams.clone() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0507, E0559, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0507, E0559, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sim` (bin "sim" test) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sim` (bin "sim") due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "fc5dd8dfc7456b53681f64b4b85f2ce5bd9c5530bd055ca4a5ae91566cfe12b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc5dd8dfc7456b53681f64b4b85f2ce5bd9c5530bd055ca4a5ae91566cfe12b3", kill_on_drop: false }` [INFO] [stdout] fc5dd8dfc7456b53681f64b4b85f2ce5bd9c5530bd055ca4a5ae91566cfe12b3