[INFO] cloning repository https://github.com/sj4nes/ifnotnow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sj4nes/ifnotnow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsj4nes%2Fifnotnow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsj4nes%2Fifnotnow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75952d09fa69ac48250a4ad870832d1520aa80a3 [INFO] testing sj4nes/ifnotnow against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsj4nes%2Fifnotnow" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sj4nes/ifnotnow on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sj4nes/ifnotnow [INFO] finished tweaking git repo https://github.com/sj4nes/ifnotnow [INFO] tweaked toml for git repo https://github.com/sj4nes/ifnotnow written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/sj4nes/ifnotnow already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 901fcd69a5b3f74080f29f8535460675c23527a0af03e22de7c1fdaf8ee18da9 [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" "901fcd69a5b3f74080f29f8535460675c23527a0af03e22de7c1fdaf8ee18da9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "901fcd69a5b3f74080f29f8535460675c23527a0af03e22de7c1fdaf8ee18da9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "901fcd69a5b3f74080f29f8535460675c23527a0af03e22de7c1fdaf8ee18da9", kill_on_drop: false }` [INFO] [stdout] 901fcd69a5b3f74080f29f8535460675c23527a0af03e22de7c1fdaf8ee18da9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f5d0673306f9a7fa595874e399a33f24fa03b7e5eeb368cbeba618175b0c34e [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" "9f5d0673306f9a7fa595874e399a33f24fa03b7e5eeb368cbeba618175b0c34e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling dtoa v0.4.7 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling yaml-rust v0.4.4 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling serde_yaml v0.8.14 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling ifnotnow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/main.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/main.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/main.rs:86:51 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Eq, Clone, Debug, PartialEq, PartialOrd, Deserialize, Serialize, Ord)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/main.rs:86:64 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Eq, Clone, Debug, PartialEq, PartialOrd, Deserialize, Serialize, Ord)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/main.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Debug, Clone, Deserialize, Serialize, Ord, Eq, PartialOrd, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/main.rs:109:37 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Debug, Clone, Deserialize, Serialize, Ord, Eq, PartialOrd, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/main.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, PartialOrd, Ord, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/main.rs:144:35 [INFO] [stdout] | [INFO] [stdout] 144 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, PartialOrd, Ord, Eq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/main.rs:154:24 [INFO] [stdout] | [INFO] [stdout] 154 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, PartialOrd, Ord, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/main.rs:154:35 [INFO] [stdout] | [INFO] [stdout] 154 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, PartialOrd, Ord, Eq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/main.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, PartialOrd, Ord, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/main.rs:165:35 [INFO] [stdout] | [INFO] [stdout] 165 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, PartialOrd, Ord, Eq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/main.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | #[derive(Debug, Clone, Deserialize, Serialize, Ord, Eq, PartialOrd, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/main.rs:185:37 [INFO] [stdout] | [INFO] [stdout] 185 | #[derive(Debug, Clone, Deserialize, Serialize, Ord, Eq, PartialOrd, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/main.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/main.rs:195:28 [INFO] [stdout] | [INFO] [stdout] 195 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/main.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | #[derive(Debug, Clone, Serialize, Eq, Ord, PartialEq, PartialOrd)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> ListV1: serde::de::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/main.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 128 | match serde_yaml::from_reader(reader) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `ListV1` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_yaml-0.8.14/src/de.rs:1076:8 [INFO] [stdout] | [INFO] [stdout] 1076 | T: DeserializeOwned, [INFO] [stdout] | ---------------- required by this bound in `from_reader` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `serde::de::DeserializeOwned` for `ListV1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ListV1: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/main.rs:307:46 [INFO] [stdout] | [INFO] [stdout] 307 | let timeline_yaml = serde_yaml::to_string(&timeline).unwrap(); [INFO] [stdout] | ^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `ListV1` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_yaml-0.8.14/src/ser.rs:421:8 [INFO] [stdout] | [INFO] [stdout] 421 | T: ser::Serialize, [INFO] [stdout] | -------------- required by this bound in `serde_yaml::to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ListV1: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/main.rs:329:52 [INFO] [stdout] | [INFO] [stdout] 329 | let timeline_yaml = serde_yaml::to_string(&timeline).unwrap(); [INFO] [stdout] | ^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `ListV1` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_yaml-0.8.14/src/ser.rs:421:8 [INFO] [stdout] | [INFO] [stdout] 421 | T: ser::Serialize, [INFO] [stdout] | -------------- required by this bound in `serde_yaml::to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/todotxt.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | fn save(filename: String) -> TTxt {} [INFO] [stdout] | ---- ^^^^ expected struct `TTxt`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/todotxt.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | fn find(&self, query: String) -> TTxt {} [INFO] [stdout] | ---- ^^^^ expected struct `TTxt`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/todotxt.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 18 | fn exclude(&self, query: String) -> TTxt {} [INFO] [stdout] | ------- ^^^^ expected struct `TTxt`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ifnotnow` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "9f5d0673306f9a7fa595874e399a33f24fa03b7e5eeb368cbeba618175b0c34e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f5d0673306f9a7fa595874e399a33f24fa03b7e5eeb368cbeba618175b0c34e", kill_on_drop: false }` [INFO] [stdout] 9f5d0673306f9a7fa595874e399a33f24fa03b7e5eeb368cbeba618175b0c34e