[INFO] cloning repository https://github.com/dickhfchan/rustcore [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dickhfchan/rustcore" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdickhfchan%2Frustcore", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdickhfchan%2Frustcore'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d71840a6dcb138d550893b0b382cdbafe5ed6f3 [INFO] checking dickhfchan/rustcore against try#88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c for pr-154887 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdickhfchan%2Frustcore" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 71% (471/658) Updating files: 72% (474/658) Updating files: 73% (481/658) Updating files: 74% (487/658) Updating files: 75% (494/658) Updating files: 76% (501/658) Updating files: 77% (507/658) Updating files: 78% (514/658) Updating files: 79% (520/658) Updating files: 80% (527/658) Updating files: 81% (533/658) Updating files: 82% (540/658) Updating files: 83% (547/658) Updating files: 84% (553/658) Updating files: 85% (560/658) Updating files: 86% (566/658) Updating files: 87% (573/658) Updating files: 88% (580/658) Updating files: 89% (586/658) Updating files: 90% (593/658) Updating files: 91% (599/658) Updating files: 92% (606/658) Updating files: 93% (612/658) Updating files: 94% (619/658) Updating files: 95% (626/658) Updating files: 96% (632/658) Updating files: 97% (639/658) Updating files: 98% (645/658) Updating files: 99% (652/658) Updating files: 100% (658/658) Updating files: 100% (658/658), done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/dickhfchan/rustcore [INFO] finished tweaking git repo https://github.com/dickhfchan/rustcore [INFO] tweaked toml for git repo https://github.com/dickhfchan/rustcore written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dickhfchan/rustcore on toolchain 88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dickhfchan/rustcore 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" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6809879b35b9723f013f35a20ed799dbc2d498821d867ce17e5dcabc33c99348 [INFO] running `Command { std: "docker" "start" "-a" "6809879b35b9723f013f35a20ed799dbc2d498821d867ce17e5dcabc33c99348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6809879b35b9723f013f35a20ed799dbc2d498821d867ce17e5dcabc33c99348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6809879b35b9723f013f35a20ed799dbc2d498821d867ce17e5dcabc33c99348", kill_on_drop: false }` [INFO] [stdout] 6809879b35b9723f013f35a20ed799dbc2d498821d867ce17e5dcabc33c99348 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5caca43ab4349898d068fec2c93e43cf3385ef7c9653a4bbda7e654fd5faef00 [INFO] running `Command { std: "docker" "start" "-a" "5caca43ab4349898d068fec2c93e43cf3385ef7c9653a4bbda7e654fd5faef00", kill_on_drop: false }` [INFO] [stderr] Checking ipc v0.1.0 (/opt/rustwide/workdir/ipc) [INFO] [stderr] Checking storage v0.1.0 (/opt/rustwide/workdir/storage) [INFO] [stderr] Checking bootproto v0.1.0 (/opt/rustwide/workdir/bootproto) [INFO] [stderr] Checking security v0.1.0 (/opt/rustwide/workdir/security) [INFO] [stderr] Checking netstack v0.1.0 (/opt/rustwide/workdir/netstack) [INFO] [stderr] Checking runtime v0.1.0 (/opt/rustwide/workdir/runtime) [INFO] [stdout] warning: unused import: `alloc::vec::Vec` [INFO] [stdout] --> netstack/src/ip.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::vec::Vec` [INFO] [stdout] --> netstack/src/ip.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0260]: the name `alloc` is defined multiple times [INFO] [stdout] --> runtime/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate alloc; [INFO] [stdout] | ------------------- previous import of the extern crate `alloc` here [INFO] [stdout] 4 | [INFO] [stdout] 5 | pub mod alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^ `alloc` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `alloc` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 3 | extern crate alloc as other_alloc; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0260]: the name `alloc` is defined multiple times [INFO] [stdout] --> runtime/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate alloc; [INFO] [stdout] | ------------------- previous import of the extern crate `alloc` here [INFO] [stdout] 4 | [INFO] [stdout] 5 | pub mod alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^ `alloc` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `alloc` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 3 | extern crate alloc as other_alloc; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimerId` [INFO] [stdout] --> runtime/src/timers.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | use super::{TimerId, TimerQueue, TimerService}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0260`. [INFO] [stdout] [INFO] [stderr] Checking init v0.1.0 (/opt/rustwide/workdir/services/init) [INFO] [stderr] error: could not compile `runtime` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result, keystore::KeyStoreError>` [INFO] [stdout] --> security/src/keystore.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | assert_eq!(store.lookup("missing"), Err(KeyStoreError::NotFound)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Result, keystore::KeyStoreError> [INFO] [stdout] | Result, keystore::KeyStoreError> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `keystore::ApiKeyEntry<'_>` [INFO] [stdout] --> security/src/keystore.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ApiKeyEntry<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `keystore::ApiKeyEntry<'_>` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(PartialEq)] [INFO] [stdout] 9 | pub struct ApiKeyEntry<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `keystore::ApiKeyEntry<'_>` doesn't implement `Debug` [INFO] [stdout] --> security/src/keystore.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | assert_eq!(store.lookup("missing"), Err(KeyStoreError::NotFound)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `keystore::ApiKeyEntry<'_>` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `keystore::ApiKeyEntry<'_>` or manually `impl Debug for keystore::ApiKeyEntry<'_>` [INFO] [stdout] help: the trait `Debug` is implemented for `Result` [INFO] [stdout] --> /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/core/src/result.rs:552:15 [INFO] [stdout] help: consider annotating `keystore::ApiKeyEntry<'_>` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Debug)] [INFO] [stdout] 9 | pub struct ApiKeyEntry<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn` found for struct `SimpleExecutor` in the current scope [INFO] [stdout] --> runtime/src/executor.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn spawn(&mut self, task: Task); [INFO] [stdout] | ----- the method is available for `SimpleExecutor` here [INFO] [stdout] ... [INFO] [stdout] 14 | pub struct SimpleExecutor { [INFO] [stdout] | ------------------------- method `spawn` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 102 | exec.spawn(Task { func: first }); [INFO] [stdout] | ^^^^^ method not found in `SimpleExecutor` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Executor` which provides `spawn` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 46 + use crate::executor::Executor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `keystore::ApiKeyEntry<'_>` doesn't implement `Debug` [INFO] [stdout] --> security/src/keystore.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | assert_eq!(store.lookup("missing"), Err(KeyStoreError::NotFound)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `keystore::ApiKeyEntry<'_>` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `keystore::ApiKeyEntry<'_>` or manually `impl Debug for keystore::ApiKeyEntry<'_>` [INFO] [stdout] help: the trait `Debug` is implemented for `Result` [INFO] [stdout] --> /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/core/src/result.rs:552:15 [INFO] [stdout] help: consider annotating `keystore::ApiKeyEntry<'_>` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Debug)] [INFO] [stdout] 9 | pub struct ApiKeyEntry<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spawn` found for struct `SimpleExecutor` in the current scope [INFO] [stdout] --> runtime/src/executor.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn spawn(&mut self, task: Task); [INFO] [stdout] | ----- the method is available for `SimpleExecutor` here [INFO] [stdout] ... [INFO] [stdout] 14 | pub struct SimpleExecutor { [INFO] [stdout] | ------------------------- method `spawn` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 103 | exec.spawn(Task { func: second }); [INFO] [stdout] | ^^^^^ method not found in `SimpleExecutor` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Executor` which provides `spawn` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 46 + use crate::executor::Executor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `run` found for struct `SimpleExecutor` in the current scope [INFO] [stdout] --> runtime/src/executor.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 7 | fn run(&mut self); [INFO] [stdout] | --- the method is available for `SimpleExecutor` here [INFO] [stdout] ... [INFO] [stdout] 14 | pub struct SimpleExecutor { [INFO] [stdout] | ------------------------- method `run` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 104 | exec.run(); [INFO] [stdout] | ^^^ method not found in `SimpleExecutor` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Executor` which provides `run` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 46 + use crate::executor::Executor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `entry` [INFO] [stdout] --> security/src/keystore.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 97 | let entry = ApiKeyEntry { [INFO] [stdout] | ----- move occurs because `entry` has type `keystore::ApiKeyEntry<'_>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 103 | store.insert(entry).unwrap(); [INFO] [stdout] | ----- value moved here [INFO] [stdout] 104 | assert_eq!(store.insert(entry), Err(KeyStoreError::Storage)); [INFO] [stdout] | ^^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in method `insert` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> security/src/keystore.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | fn insert(&mut self, entry: ApiKeyEntry<'_>) -> Result<(), KeyStoreError>; [INFO] [stdout] | ------ in this method ^^^^^^^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] note: if `keystore::ApiKeyEntry<'_>` implemented `Clone`, you could clone the value [INFO] [stdout] --> security/src/keystore.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ApiKeyEntry<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 103 | store.insert(entry).unwrap(); [INFO] [stdout] | ----- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0382. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `security` (lib test) due to 4 previous errors [INFO] [stdout] Some errors have detailed explanations: E0260, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0260`. [INFO] [stdout] [INFO] [stderr] error: could not compile `runtime` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "5caca43ab4349898d068fec2c93e43cf3385ef7c9653a4bbda7e654fd5faef00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5caca43ab4349898d068fec2c93e43cf3385ef7c9653a4bbda7e654fd5faef00", kill_on_drop: false }` [INFO] [stdout] 5caca43ab4349898d068fec2c93e43cf3385ef7c9653a4bbda7e654fd5faef00