[INFO] cloning repository https://github.com/igaryhe/cg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/igaryhe/cg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figaryhe%2Fcg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figaryhe%2Fcg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e60e4e9e5733d17518f94e0fa04c05d78db8001 [INFO] building igaryhe/cg against master#ce36a966c79e109dabeef7a47fe68e5294c6d71e for pr-137044-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figaryhe%2Fcg" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/igaryhe/cg on toolchain ce36a966c79e109dabeef7a47fe68e5294c6d71e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/igaryhe/cg [INFO] finished tweaking git repo https://github.com/igaryhe/cg [INFO] tweaked toml for git repo https://github.com/igaryhe/cg written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/igaryhe/cg 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" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-scanner v0.27.0 [INFO] [stderr] Downloaded ctor v0.1.15 [INFO] [stderr] Downloaded wayland-sys v0.27.0 [INFO] [stderr] Downloaded inventory-impl v0.1.8 [INFO] [stderr] Downloaded itoa v0.4.6 [INFO] [stderr] Downloaded erased-serde v0.3.12 [INFO] [stderr] Downloaded paste-impl v0.1.18 [INFO] [stderr] Downloaded typenum v1.12.0 [INFO] [stderr] Downloaded num-rational v0.2.4 [INFO] [stderr] Downloaded rand_distr v0.2.2 [INFO] [stderr] Downloaded generic-array v0.13.2 [INFO] [stderr] Downloaded matrixmultiply v0.2.3 [INFO] [stderr] Downloaded syn v1.0.38 [INFO] [stderr] Downloaded rayon v1.5.0 [INFO] [stderr] Downloaded regex v1.3.9 [INFO] [stderr] Downloaded image v0.23.8 [INFO] [stderr] Downloaded nalgebra v0.22.0 [INFO] [stderr] Downloaded regex-syntax v0.6.18 [INFO] [stderr] Downloaded jpeg-decoder v0.1.20 [INFO] [stderr] Downloaded sdl2-sys v0.32.6 [INFO] [stderr] Downloaded nix v0.17.0 [INFO] [stderr] Downloaded sdl2 v0.32.2 [INFO] [stderr] Downloaded wayland-protocols v0.27.0 [INFO] [stderr] Downloaded approx v0.3.2 [INFO] [stderr] Downloaded serde_json v1.0.57 [INFO] [stderr] Downloaded nom v5.1.2 [INFO] [stderr] Downloaded paste v0.1.18 [INFO] [stderr] Downloaded simba v0.2.0 [INFO] [stderr] Downloaded glam v0.10.2 [INFO] [stderr] Downloaded rand v0.6.5 [INFO] [stderr] Downloaded num-complex v0.2.4 [INFO] [stderr] Downloaded proc-macro-hack v0.5.18 [INFO] [stderr] Downloaded typetag-impl v0.1.5 [INFO] [stderr] Downloaded num_cpus v1.13.0 [INFO] [stderr] Downloaded orbclient v0.3.27 [INFO] [stderr] Downloaded serde v1.0.115 [INFO] [stderr] Downloaded glam v0.9.3 [INFO] [stderr] Downloaded crossbeam-channel v0.5.0 [INFO] [stderr] Downloaded rayon-core v1.9.0 [INFO] [stderr] Downloaded cc v1.0.59 [INFO] [stderr] Downloaded minifb v0.18.0 [INFO] [stderr] Downloaded anyhow v1.0.35 [INFO] [stderr] Downloaded encode_unicode v0.3.6 [INFO] [stderr] Downloaded serde_derive v1.0.115 [INFO] [stderr] Downloaded deflate v0.8.6 [INFO] [stderr] Downloaded png v0.16.7 [INFO] [stderr] Downloaded lzw v0.10.0 [INFO] [stderr] Downloaded num-traits v0.2.12 [INFO] [stderr] Downloaded ppv-lite86 v0.2.9 [INFO] [stderr] Downloaded version_check v0.9.2 [INFO] [stderr] Downloaded wayland-client v0.27.0 [INFO] [stderr] Downloaded typetag v0.1.5 [INFO] [stderr] Downloaded bytemuck v1.3.1 [INFO] [stderr] Downloaded gif v0.10.3 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.0 [INFO] [stderr] Downloaded hermit-abi v0.1.15 [INFO] [stderr] Downloaded num-rational v0.3.0 [INFO] [stderr] Downloaded crc32fast v1.2.0 [INFO] [stderr] Downloaded tiff v0.5.0 [INFO] [stderr] Downloaded num-integer v0.1.43 [INFO] [stderr] Downloaded libc v0.2.75 [INFO] [stderr] Downloaded rand_jitter v0.1.4 [INFO] [stderr] Downloaded cloudabi v0.0.3 [INFO] [stderr] Downloaded autocfg v0.1.7 [INFO] [stderr] Downloaded getrandom v0.1.14 [INFO] [stderr] Downloaded tempfile v3.1.0 [INFO] [stderr] Downloaded memchr v2.3.3 [INFO] [stderr] Downloaded once_cell v1.4.1 [INFO] [stderr] Downloaded smallvec v1.4.2 [INFO] [stderr] Downloaded wayland-commons v0.27.0 [INFO] [stderr] Downloaded unicode-xid v0.2.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.19 [INFO] [stderr] Downloaded ghost v0.1.2 [INFO] [stderr] Downloaded inventory v0.1.8 [INFO] [stderr] Downloaded terminal_size v0.1.13 [INFO] [stderr] Downloaded termios v0.3.2 [INFO] [stderr] Downloaded console v0.12.0 [INFO] [stderr] Downloaded indicatif v0.15.0 [INFO] [stderr] Downloaded crossbeam-deque v0.8.0 [INFO] [stderr] Downloaded const_fn v0.4.3 [INFO] [stderr] Downloaded scoped_threadpool v0.1.9 [INFO] [stderr] Downloaded byteorder v1.3.4 [INFO] [stderr] Downloaded autocfg v1.0.0 [INFO] [stderr] Downloaded num v0.1.42 [INFO] [stderr] Downloaded rand_chacha v0.1.1 [INFO] [stderr] Downloaded rand_os v0.1.3 [INFO] [stderr] Downloaded rand_pcg v0.1.2 [INFO] [stderr] Downloaded rand_core v0.4.2 [INFO] [stderr] Downloaded rand_core v0.3.1 [INFO] [stderr] Downloaded rand_xorshift v0.1.1 [INFO] [stderr] Downloaded redox_syscall v0.1.57 [INFO] [stderr] Downloaded remove_dir_all v0.5.3 [INFO] [stderr] Downloaded xkbcommon-sys v0.7.4 [INFO] [stderr] Downloaded mint v0.5.5 [INFO] [stderr] Downloaded either v1.6.0 [INFO] [stderr] Downloaded cast v0.2.3 [INFO] [stderr] Downloaded num-iter v0.1.41 [INFO] [stderr] Downloaded rand_hc v0.1.0 [INFO] [stderr] Downloaded rand_isaac v0.1.1 [INFO] [stderr] Downloaded fuchsia-cprng v0.1.1 [INFO] [stderr] Downloaded void v1.0.2 [INFO] [stderr] Downloaded color_quant v1.0.1 [INFO] [stderr] Downloaded memoffset v0.5.5 [INFO] [stderr] Downloaded wayland-cursor v0.27.0 [INFO] [stderr] Downloaded number_prefix v0.3.0 [INFO] [stderr] Downloaded rdrand v0.4.0 [INFO] [stderr] Downloaded xcursor v0.3.2 [INFO] [stderr] Downloaded quote v1.0.7 [INFO] [stderr] Downloaded xml-rs v0.8.3 [INFO] [stderr] Downloaded xkb v0.2.1 [INFO] [stderr] Downloaded pkg-config v0.3.18 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 146d733f60d3d6e1b2e2356431110fd46177d5f4ae81ea0ff2383973b07fcb6d [INFO] running `Command { std: "docker" "start" "-a" "146d733f60d3d6e1b2e2356431110fd46177d5f4ae81ea0ff2383973b07fcb6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "146d733f60d3d6e1b2e2356431110fd46177d5f4ae81ea0ff2383973b07fcb6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "146d733f60d3d6e1b2e2356431110fd46177d5f4ae81ea0ff2383973b07fcb6d", kill_on_drop: false }` [INFO] [stdout] 146d733f60d3d6e1b2e2356431110fd46177d5f4ae81ea0ff2383973b07fcb6d [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 089b9f25645838965a9e27af6fc708db1784819e726def036d520921d6c791e8 [INFO] running `Command { std: "docker" "start" "-a" "089b9f25645838965a9e27af6fc708db1784819e726def036d520921d6c791e8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.75 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling wayland-sys v0.27.0 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling wayland-scanner v0.27.0 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling glam v0.9.3 [INFO] [stderr] Compiling mint v0.5.5 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling bytemuck v1.3.1 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling terminal_size v0.1.13 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling xkbcommon-sys v0.7.4 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling inventory v0.1.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling simba v0.2.0 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Compiling wayland-client v0.27.0 [INFO] [stderr] Compiling wayland-protocols v0.27.0 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling glam v0.10.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling nalgebra v0.22.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling assignment_1 v0.1.0 (/opt/rustwide/workdir/assignment_1) [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling minifb v0.18.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling xcursor v0.3.2 [INFO] [stderr] Compiling console v0.12.0 [INFO] [stderr] Compiling wayland-commons v0.27.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling image v0.23.8 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling inventory-impl v0.1.8 [INFO] [stderr] Compiling ctor v0.1.15 [INFO] [stderr] Compiling typetag-impl v0.1.5 [INFO] [stderr] Compiling wayland-cursor v0.27.0 [INFO] [stderr] Compiling erased-serde v0.3.12 [INFO] [stderr] Compiling typetag v0.1.5 [INFO] [stderr] Compiling assignment_5 v0.1.0 (/opt/rustwide/workdir/assignment_5) [INFO] [stderr] Compiling assignment_3 v0.1.0 (/opt/rustwide/workdir/assignment_3) [INFO] [stderr] Compiling assignment_2 v0.1.0 (/opt/rustwide/workdir/assignment_2) [INFO] [stderr] Compiling assignment_4 v0.1.0 (/opt/rustwide/workdir/assignment_4) [INFO] [stdout] warning: field `normal` is never read [INFO] [stdout] --> assignment_5/src/attributes.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct FragmentAttributes { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub normal: Vec3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FragmentAttributes` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Triangle` is never constructed [INFO] [stdout] --> assignment_5/src/attributes.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub enum PrimitiveType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 160 | Triangle, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrimitiveType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Gif` is never constructed [INFO] [stdout] --> assignment_5/src/attributes.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 165 | pub enum RenderType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 166 | Png, [INFO] [stdout] 167 | Gif, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenderType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ambient_color` is never read [INFO] [stdout] --> assignment_5/src/attributes.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct Material { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 178 | pub ambient_color: Vec3, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> assignment_4/src/scene.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | let offset = Vec3::new(r * theta.cos(), r * theta.sin(), 0.0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cost` is never used [INFO] [stdout] --> assignment_4/src/object.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 184 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 223 | fn cost(&self, node: &Node) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_4/src/object.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 12 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_4/src/object.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 12 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_4/src/object.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 12 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_4/src/object.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 12 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_4/src/object.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 12 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_4/src/object.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Strictest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 12 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_4/src/object.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde(tag = "type")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 12 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_4/src/object.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde(tag = "type")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 12 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_3/src/object.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 8 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_3/src/object.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 8 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_3/src/object.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 8 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_3/src/object.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 8 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_3/src/object.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 8 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_3/src/object.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Strictest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 8 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_3/src/object.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[typetag::serde(tag = "type")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 8 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_3/src/object.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[typetag::serde(tag = "type")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 8 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling assignment_6 v0.1.0 (/opt/rustwide/workdir/assignment_6) [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> assignment_6/src/viewer.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn resize(w: u32, h: u32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> assignment_6/src/viewer.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn resize(w: u32, h: u32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> assignment_6/src/raster.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut t = -1.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uniform` [INFO] [stdout] --> assignment_6/src/main.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | |va: VertexAttributes, uniform: UniformAttributes| va ); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uniform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uniform` [INFO] [stdout] --> assignment_6/src/main.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | |va: VertexAttributes, uniform| [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uniform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous` [INFO] [stdout] --> assignment_6/src/main.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | |fa: FragmentAttributes, previous: Rgba| [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> assignment_6/src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut program = Program { [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] [stdout] warning: unused variable: `x` [INFO] [stdout] --> assignment_6/src/main.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | fn mouse_move(&self, x: f32, y: f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> assignment_6/src/main.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | fn mouse_move(&self, x: f32, y: f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> assignment_6/src/main.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | fn mouse_pressed(&mut self, x: f32, y: f32, button: minifb::MouseButton) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dx` [INFO] [stdout] --> assignment_6/src/main.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | fn mouse_wheel(dx: u32, dy: u32, is_direction_normal: bool) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dy` [INFO] [stdout] --> assignment_6/src/main.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | fn mouse_wheel(dx: u32, dy: u32, is_direction_normal: bool) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_direction_normal` [INFO] [stdout] --> assignment_6/src/main.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 61 | fn mouse_wheel(dx: u32, dy: u32, is_direction_normal: bool) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_direction_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> assignment_6/src/main.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | fn key_pressed(&self, key: minifb::Key) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `mouse_wheel` is never used [INFO] [stdout] --> assignment_6/src/viewer.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait ViewerStrategy { [INFO] [stdout] | -------------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn mouse_wheel(dx: u32, dy: u32, is_direction_normal: bool); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `resize` is never used [INFO] [stdout] --> assignment_6/src/viewer.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Viewer { [INFO] [stdout] | --------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn resize(w: u32, h: u32) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rasterize_line` is never used [INFO] [stdout] --> assignment_6/src/raster.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn rasterize_line(program: &mut Program, uniform: UniformAttributes, v1: VertexAttributes, v2: VertexAttributes, line_thickness: f32,... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rasterize_lines` is never used [INFO] [stdout] --> assignment_6/src/raster.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn rasterize_lines(program: &mut Program, uniform: UniformAttributes, vertices: Vec, line_thickness: f32, frame_buf... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "089b9f25645838965a9e27af6fc708db1784819e726def036d520921d6c791e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "089b9f25645838965a9e27af6fc708db1784819e726def036d520921d6c791e8", kill_on_drop: false }` [INFO] [stdout] 089b9f25645838965a9e27af6fc708db1784819e726def036d520921d6c791e8 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac0f5127581fa032aefe649925f8a27d5ed32bb746bb57b531c43cce27cb3a20 [INFO] running `Command { std: "docker" "start" "-a" "ac0f5127581fa032aefe649925f8a27d5ed32bb746bb57b531c43cce27cb3a20", kill_on_drop: false }` [INFO] [stderr] Compiling assignment_2 v0.1.0 (/opt/rustwide/workdir/assignment_2) [INFO] [stderr] Compiling assignment_1 v0.1.0 (/opt/rustwide/workdir/assignment_1) [INFO] [stderr] Compiling assignment_4 v0.1.0 (/opt/rustwide/workdir/assignment_4) [INFO] [stderr] Compiling assignment_3 v0.1.0 (/opt/rustwide/workdir/assignment_3) [INFO] [stderr] Compiling assignment_5 v0.1.0 (/opt/rustwide/workdir/assignment_5) [INFO] [stderr] Compiling assignment_6 v0.1.0 (/opt/rustwide/workdir/assignment_6) [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> assignment_6/src/viewer.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn resize(w: u32, h: u32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> assignment_6/src/viewer.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn resize(w: u32, h: u32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> assignment_6/src/raster.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut t = -1.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uniform` [INFO] [stdout] --> assignment_6/src/main.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | |va: VertexAttributes, uniform: UniformAttributes| va ); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uniform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uniform` [INFO] [stdout] --> assignment_6/src/main.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | |va: VertexAttributes, uniform| [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uniform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous` [INFO] [stdout] --> assignment_6/src/main.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | |fa: FragmentAttributes, previous: Rgba| [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> assignment_6/src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut program = Program { [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] [stdout] warning: unused variable: `x` [INFO] [stdout] --> assignment_6/src/main.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | fn mouse_move(&self, x: f32, y: f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> assignment_6/src/main.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | fn mouse_move(&self, x: f32, y: f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> assignment_6/src/main.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | fn mouse_pressed(&mut self, x: f32, y: f32, button: minifb::MouseButton) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dx` [INFO] [stdout] --> assignment_6/src/main.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | fn mouse_wheel(dx: u32, dy: u32, is_direction_normal: bool) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dy` [INFO] [stdout] --> assignment_6/src/main.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | fn mouse_wheel(dx: u32, dy: u32, is_direction_normal: bool) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_direction_normal` [INFO] [stdout] --> assignment_6/src/main.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 61 | fn mouse_wheel(dx: u32, dy: u32, is_direction_normal: bool) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_direction_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> assignment_6/src/main.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | fn key_pressed(&self, key: minifb::Key) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `mouse_wheel` is never used [INFO] [stdout] --> assignment_6/src/viewer.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait ViewerStrategy { [INFO] [stdout] | -------------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn mouse_wheel(dx: u32, dy: u32, is_direction_normal: bool); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `resize` is never used [INFO] [stdout] --> assignment_6/src/viewer.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Viewer { [INFO] [stdout] | --------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn resize(w: u32, h: u32) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rasterize_line` is never used [INFO] [stdout] --> assignment_6/src/raster.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn rasterize_line(program: &mut Program, uniform: UniformAttributes, v1: VertexAttributes, v2: VertexAttributes, line_thickness: f32,... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rasterize_lines` is never used [INFO] [stdout] --> assignment_6/src/raster.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn rasterize_lines(program: &mut Program, uniform: UniformAttributes, vertices: Vec, line_thickness: f32, frame_buf... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_3/src/object.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 8 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_3/src/object.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 8 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_3/src/object.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 8 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_3/src/object.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 8 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_3/src/object.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 8 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_3/src/object.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Strictest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 8 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_3/src/object.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[typetag::serde(tag = "type")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 8 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_3/src/object.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[typetag::serde(tag = "type")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 8 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `normal` is never read [INFO] [stdout] --> assignment_5/src/attributes.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct FragmentAttributes { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub normal: Vec3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FragmentAttributes` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Triangle` is never constructed [INFO] [stdout] --> assignment_5/src/attributes.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub enum PrimitiveType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 160 | Triangle, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrimitiveType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Gif` is never constructed [INFO] [stdout] --> assignment_5/src/attributes.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 165 | pub enum RenderType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 166 | Png, [INFO] [stdout] 167 | Gif, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenderType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ambient_color` is never read [INFO] [stdout] --> assignment_5/src/attributes.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct Material { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 178 | pub ambient_color: Vec3, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> assignment_4/src/scene.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | let offset = Vec3::new(r * theta.cos(), r * theta.sin(), 0.0); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cost` is never used [INFO] [stdout] --> assignment_4/src/object.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 184 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 223 | fn cost(&self, node: &Node) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_4/src/object.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 12 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_4/src/object.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 12 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_4/src/object.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 12 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_4/src/object.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 12 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_4/src/object.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 12 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_4/src/object.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Strictest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 12 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_4/src/object.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde(tag = "type")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 12 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> assignment_4/src/object.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[typetag::serde(tag = "type")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Object_registry` [INFO] [stdout] 12 | pub trait Object: Sync { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.79s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ac0f5127581fa032aefe649925f8a27d5ed32bb746bb57b531c43cce27cb3a20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac0f5127581fa032aefe649925f8a27d5ed32bb746bb57b531c43cce27cb3a20", kill_on_drop: false }` [INFO] [stdout] ac0f5127581fa032aefe649925f8a27d5ed32bb746bb57b531c43cce27cb3a20