[INFO] cloning repository https://github.com/theashguy/rust_guides [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theashguy/rust_guides" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheashguy%2Frust_guides", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheashguy%2Frust_guides'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53e949abed1f5afd81103a85e47183782fb85c4a [INFO] testing theashguy/rust_guides against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheashguy%2Frust_guides" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/theashguy/rust_guides on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/theashguy/rust_guides [INFO] finished tweaking git repo https://github.com/theashguy/rust_guides [INFO] tweaked toml for git repo https://github.com/theashguy/rust_guides written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/theashguy/rust_guides already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f51d7baa09a2734eee55be01652fad9191d500a599a93220c27c6082ad3795c [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" "3f51d7baa09a2734eee55be01652fad9191d500a599a93220c27c6082ad3795c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f51d7baa09a2734eee55be01652fad9191d500a599a93220c27c6082ad3795c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f51d7baa09a2734eee55be01652fad9191d500a599a93220c27c6082ad3795c", kill_on_drop: false }` [INFO] [stdout] 3f51d7baa09a2734eee55be01652fad9191d500a599a93220c27c6082ad3795c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e87cc1729736e7b18e2bbf3e69890dac8ead834a89f3a8d6a28d5af3cf2bd184 [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" "e87cc1729736e7b18e2bbf3e69890dac8ead834a89f3a8d6a28d5af3cf2bd184", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.83 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling fun_with_modules v0.1.0 (/opt/rustwide/workdir/fun_with_modules) [INFO] [stderr] Compiling types_are_good v0.1.0 (/opt/rustwide/workdir/types_are_good) [INFO] [stderr] Compiling getting_pointy v0.1.0 (/opt/rustwide/workdir/getting_pointy) [INFO] [stdout] warning: function is never used: `print_something` [INFO] [stdout] --> fun_with_modules/src/folder_module/internal_folder_module.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn print_something () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_something` [INFO] [stdout] --> fun_with_modules/src/folder_module/internal_folder_module.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn print_something () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_something` [INFO] [stdout] --> fun_with_modules/src/folder_module/internal_folder_module.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn print_something () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_something` [INFO] [stdout] --> fun_with_modules/src/folder_module/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn print_something () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stdout] warning: variant is never constructed: `Unsigned` [INFO] [stdout] --> types_are_good/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Unsigned(u32), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> types_are_good/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Integer(i32), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Float` [INFO] [stdout] --> types_are_good/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Float(f32) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> getting_pointy/src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut thing = "My Stringy Thing".to_string(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling universal-hash v0.3.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling aead v0.2.0 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.6 [INFO] [stderr] Compiling rocket v0.4.6 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling polyval v0.3.3 [INFO] [stderr] Compiling hkdf v0.8.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling ghash v0.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling aes-gcm v0.5.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling cookie v0.11.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Compiling rocket_http v0.4.6 [INFO] [stderr] Compiling add_two_numbers v0.1.0 (/opt/rustwide/workdir/add_two_numbers) [INFO] [stderr] Compiling dont_you_objectify_me v0.1.0 (/opt/rustwide/workdir/dont_you_objectify_me) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> add_two_numbers/src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> dont_you_objectify_me/src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Serialize [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> dont_you_objectify_me/src/main.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> dont_you_objectify_me/src/main.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> dont_you_objectify_me/src/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> dont_you_objectify_me/src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Result` [INFO] [stdout] --> dont_you_objectify_me/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Person: Deserialize<'_>` is not satisfied [INFO] [stdout] --> dont_you_objectify_me/src/main.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | let joe: Person = serde_json::from_str(random_json).expect("This will work"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Person` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.61/src/de.rs:2584:8 [INFO] [stdout] | [INFO] [stdout] 2584 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `serde_json::from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dont_you_objectify_me` due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e87cc1729736e7b18e2bbf3e69890dac8ead834a89f3a8d6a28d5af3cf2bd184", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e87cc1729736e7b18e2bbf3e69890dac8ead834a89f3a8d6a28d5af3cf2bd184", kill_on_drop: false }` [INFO] [stdout] e87cc1729736e7b18e2bbf3e69890dac8ead834a89f3a8d6a28d5af3cf2bd184