[INFO] cloning repository https://github.com/divyanshu-parihar/comprehensive-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/divyanshu-parihar/comprehensive-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdivyanshu-parihar%2Fcomprehensive-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdivyanshu-parihar%2Fcomprehensive-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e27d6902afc72831bc8d131659c6ff2e3f900fd7 [INFO] checking divyanshu-parihar/comprehensive-rust against try#3248bace201b6227b0ff78eacc8b00d805551a86 for pr-153513 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdivyanshu-parihar%2Fcomprehensive-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/divyanshu-parihar/comprehensive-rust [INFO] finished tweaking git repo https://github.com/divyanshu-parihar/comprehensive-rust [INFO] tweaked toml for git repo https://github.com/divyanshu-parihar/comprehensive-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/divyanshu-parihar/comprehensive-rust on toolchain 3248bace201b6227b0ff78eacc8b00d805551a86 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3248bace201b6227b0ff78eacc8b00d805551a86" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/divyanshu-parihar/comprehensive-rust 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" "+3248bace201b6227b0ff78eacc8b00d805551a86" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+3248bace201b6227b0ff78eacc8b00d805551a86" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc5703d3d3609f3ea28ee501a1875a6cd9b4f4c1fe456d73208a9f0182e3a410 [INFO] running `Command { std: "docker" "start" "-a" "fc5703d3d3609f3ea28ee501a1875a6cd9b4f4c1fe456d73208a9f0182e3a410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc5703d3d3609f3ea28ee501a1875a6cd9b4f4c1fe456d73208a9f0182e3a410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc5703d3d3609f3ea28ee501a1875a6cd9b4f4c1fe456d73208a9f0182e3a410", kill_on_drop: false }` [INFO] [stdout] fc5703d3d3609f3ea28ee501a1875a6cd9b4f4c1fe456d73208a9f0182e3a410 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+3248bace201b6227b0ff78eacc8b00d805551a86" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 570b7e5c87709411f4fde65b48d0c3be4f2a78d5a4b5bc25e0d7be08cc08d56f [INFO] running `Command { std: "docker" "start" "-a" "570b7e5c87709411f4fde65b48d0c3be4f2a78d5a4b5bc25e0d7be08cc08d56f", kill_on_drop: false }` [INFO] [stderr] Checking comprehensive-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `protobuf_parser::Person<'_>` [INFO] [stdout] --> src/features/protobuf_parser.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | / assert_eq!( [INFO] [stdout] 185 | | person_id, [INFO] [stdout] 186 | | Person { [INFO] [stdout] 187 | | name: "", [INFO] [stdout] ... | [INFO] [stdout] 191 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____protobuf_parser::Person<'_> [INFO] [stdout] | protobuf_parser::Person<'_> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq>` might be missing for `protobuf_parser::Person<'_>` [INFO] [stdout] --> src/features/protobuf_parser.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | struct Person<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq>` [INFO] [stdout] help: consider annotating `protobuf_parser::Person<'_>` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 148 + #[derive(PartialEq)] [INFO] [stdout] 149 | struct Person<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `protobuf_parser::Person<'_>` [INFO] [stdout] --> src/features/protobuf_parser.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / assert_eq!( [INFO] [stdout] 201 | | person_name, [INFO] [stdout] 202 | | Person { [INFO] [stdout] 203 | | name: "beautiful name", [INFO] [stdout] ... | [INFO] [stdout] 207 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____protobuf_parser::Person<'_> [INFO] [stdout] | protobuf_parser::Person<'_> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq>` might be missing for `protobuf_parser::Person<'_>` [INFO] [stdout] --> src/features/protobuf_parser.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | struct Person<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq>` [INFO] [stdout] help: consider annotating `protobuf_parser::Person<'_>` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 148 + #[derive(PartialEq)] [INFO] [stdout] 149 | struct Person<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `protobuf_parser::Person<'_>` [INFO] [stdout] --> src/features/protobuf_parser.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | / assert_eq!( [INFO] [stdout] 214 | | person_name_id, [INFO] [stdout] 215 | | Person { [INFO] [stdout] 216 | | name: "Evan", [INFO] [stdout] ... | [INFO] [stdout] 220 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____protobuf_parser::Person<'_> [INFO] [stdout] | protobuf_parser::Person<'_> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq>` might be missing for `protobuf_parser::Person<'_>` [INFO] [stdout] --> src/features/protobuf_parser.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | struct Person<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq>` [INFO] [stdout] help: consider annotating `protobuf_parser::Person<'_>` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 148 + #[derive(PartialEq)] [INFO] [stdout] 149 | struct Person<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `protobuf_parser::Person<'_>` [INFO] [stdout] --> src/features/protobuf_parser.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | / assert_eq!( [INFO] [stdout] 230 | | phone, [INFO] [stdout] 231 | | Person { [INFO] [stdout] 232 | | name: "", [INFO] [stdout] ... | [INFO] [stdout] 239 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____protobuf_parser::Person<'_> [INFO] [stdout] | protobuf_parser::Person<'_> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq>` might be missing for `protobuf_parser::Person<'_>` [INFO] [stdout] --> src/features/protobuf_parser.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | struct Person<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq>` [INFO] [stdout] help: consider annotating `protobuf_parser::Person<'_>` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 148 + #[derive(PartialEq)] [INFO] [stdout] 149 | struct Person<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `protobuf_parser::Person<'_>` [INFO] [stdout] --> src/features/protobuf_parser.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | / assert_eq!( [INFO] [stdout] 253 | | person, [INFO] [stdout] 254 | | Person { [INFO] [stdout] 255 | | name: "maxwell", [INFO] [stdout] ... | [INFO] [stdout] 268 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____protobuf_parser::Person<'_> [INFO] [stdout] | protobuf_parser::Person<'_> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq>` might be missing for `protobuf_parser::Person<'_>` [INFO] [stdout] --> src/features/protobuf_parser.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | struct Person<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq>` [INFO] [stdout] help: consider annotating `protobuf_parser::Person<'_>` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 148 + #[derive(PartialEq)] [INFO] [stdout] 149 | struct Person<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for struct `BinaryTree<{integer}>` in the current scope [INFO] [stdout] --> src/main.rs:132:38 [INFO] [stdout] | [INFO] [stdout] 132 | println!("Tree Length: {}", tree.len()); [INFO] [stdout] | ^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/features/binary_tree.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct BinaryTree { [INFO] [stdout] | ----------------------------- method `len` not found for this struct [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `BinaryTree` [INFO] [stdout] --> src/features/binary_tree.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn len() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `len`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ExactSizeIterator` [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 132 - println!("Tree Length: {}", tree.len()); [INFO] [stdout] 132 + println!("Tree Length: {}", BinaryTree::<_>::len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for struct `BinaryTree<{integer}>` in the current scope [INFO] [stdout] --> src/main.rs:137:38 [INFO] [stdout] | [INFO] [stdout] 137 | println!("Tree Length: {}", tree.len()); [INFO] [stdout] | ^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/features/binary_tree.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct BinaryTree { [INFO] [stdout] | ----------------------------- method `len` not found for this struct [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `BinaryTree` [INFO] [stdout] --> src/features/binary_tree.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn len() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `len`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ExactSizeIterator` [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 137 - println!("Tree Length: {}", tree.len()); [INFO] [stdout] 137 + println!("Tree Length: {}", BinaryTree::<_>::len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for struct `BinaryTree<{integer}>` in the current scope [INFO] [stdout] --> src/main.rs:132:38 [INFO] [stdout] | [INFO] [stdout] 132 | println!("Tree Length: {}", tree.len()); [INFO] [stdout] | ^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/features/binary_tree.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct BinaryTree { [INFO] [stdout] | ----------------------------- method `len` not found for this struct [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `BinaryTree` [INFO] [stdout] --> src/features/binary_tree.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn len() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `len`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ExactSizeIterator` [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 132 - println!("Tree Length: {}", tree.len()); [INFO] [stdout] 132 + println!("Tree Length: {}", BinaryTree::<_>::len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for struct `BinaryTree<{integer}>` in the current scope [INFO] [stdout] --> src/main.rs:137:38 [INFO] [stdout] | [INFO] [stdout] 137 | println!("Tree Length: {}", tree.len()); [INFO] [stdout] | ^^^ this is an associated function, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/features/binary_tree.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct BinaryTree { [INFO] [stdout] | ----------------------------- method `len` not found for this struct [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `BinaryTree` [INFO] [stdout] --> src/features/binary_tree.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn len() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `len`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ExactSizeIterator` [INFO] [stdout] help: use associated function syntax instead [INFO] [stdout] | [INFO] [stdout] 137 - println!("Tree Length: {}", tree.len()); [INFO] [stdout] 137 + println!("Tree Length: {}", BinaryTree::<_>::len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0369, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stderr] error: could not compile `comprehensive-rust` (bin "comprehensive-rust") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `comprehensive-rust` (bin "comprehensive-rust" test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "570b7e5c87709411f4fde65b48d0c3be4f2a78d5a4b5bc25e0d7be08cc08d56f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "570b7e5c87709411f4fde65b48d0c3be4f2a78d5a4b5bc25e0d7be08cc08d56f", kill_on_drop: false }` [INFO] [stdout] 570b7e5c87709411f4fde65b48d0c3be4f2a78d5a4b5bc25e0d7be08cc08d56f