[INFO] cloning repository https://github.com/senchpimy/metodos-proyectos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/senchpimy/metodos-proyectos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsenchpimy%2Fmetodos-proyectos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsenchpimy%2Fmetodos-proyectos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] faee354f771756b4d005b50fbf6aba62e78389b0 [INFO] building senchpimy/metodos-proyectos against master#d59f06fc64844ec2073e5e888f7470989ef25ff9 for pr-119440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsenchpimy%2Fmetodos-proyectos" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/senchpimy/metodos-proyectos on toolchain d59f06fc64844ec2073e5e888f7470989ef25ff9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/senchpimy/metodos-proyectos [INFO] finished tweaking git repo https://github.com/senchpimy/metodos-proyectos [INFO] tweaked toml for git repo https://github.com/senchpimy/metodos-proyectos written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/senchpimy/metodos-proyectos 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" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 082470cc1dcca2ee2f3014c71acf272fd24df7381b0f79ca2bd9ed56eda753ac [INFO] running `Command { std: "docker" "start" "-a" "082470cc1dcca2ee2f3014c71acf272fd24df7381b0f79ca2bd9ed56eda753ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "082470cc1dcca2ee2f3014c71acf272fd24df7381b0f79ca2bd9ed56eda753ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "082470cc1dcca2ee2f3014c71acf272fd24df7381b0f79ca2bd9ed56eda753ac", kill_on_drop: false }` [INFO] [stdout] 082470cc1dcca2ee2f3014c71acf272fd24df7381b0f79ca2bd9ed56eda753ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f28d14cee71d922c0a4a4ac0c4f2daff957f4290c69539d1ff081f33cca25031 [INFO] running `Command { std: "docker" "start" "-a" "f28d14cee71d922c0a4a4ac0c4f2daff957f4290c69539d1ff081f33cca25031", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling xml-rs v0.8.16 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libloading v0.8.0 [INFO] [stderr] Compiling pin-project-lite v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling ttf-parser v0.19.1 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling winnow v0.5.14 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling concurrent-queue v2.2.0 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.1.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling fdeflate v0.3.0 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling async-task v4.4.0 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling png v0.17.10 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling owned_ttf_parser v0.19.0 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling ab_glyph v0.2.21 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling accesskit v0.11.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling atomic-waker v1.1.1 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling blocking v1.3.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling nix v0.26.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling regex-automata v0.3.6 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling xdg-home v1.0.0 [INFO] [stderr] Compiling async-executor v1.5.1 [INFO] [stderr] Compiling winit v0.28.6 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling async-broadcast v0.5.1 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling x11rb-protocol v0.10.0 [INFO] [stderr] Compiling accesskit_consumer v0.15.2 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling bytemuck_derive v1.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling enumflags2_derive v0.7.7 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling zvariant_derive v3.15.0 [INFO] [stderr] Compiling regex v1.9.3 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling async-recursion v1.0.4 [INFO] [stderr] Compiling enumflags2 v0.7.7 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling ecolor v0.22.0 [INFO] [stderr] Compiling emath v0.22.0 [INFO] [stderr] Compiling serde_repr v0.1.16 [INFO] [stderr] Compiling atspi-macros v0.2.0 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling epaint v0.22.0 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling zbus_macros v3.14.1 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling webbrowser v0.8.11 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling image v0.24.7 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling egui v0.22.0 [INFO] [stderr] Compiling proyecto1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling zvariant v3.15.0 [INFO] [stderr] Compiling x11rb v0.10.1 [INFO] [stderr] Compiling arboard v3.2.0 [INFO] [stderr] Compiling zbus_names v2.6.0 [INFO] [stderr] Compiling egui_glow v0.22.0 [INFO] [stderr] Compiling egui_extras v0.22.0 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling smithay-clipboard v0.6.6 [INFO] [stderr] Compiling zbus v3.14.1 [INFO] [stderr] Compiling atspi v0.10.1 [INFO] [stderr] Compiling accesskit_unix v0.5.2 [INFO] [stderr] Compiling accesskit_winit v0.14.4 [INFO] [stderr] Compiling egui-winit v0.22.0 [INFO] [stderr] Compiling eframe v0.22.0 [INFO] [stdout] warning: field `valores` is never read [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | struct Lagrance { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 59 | valores: Vec<(f64, f64)>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calcular` is never used [INFO] [stdout] --> src/main.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl Lagrance { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 63 | fn calcular(&self, x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 100 | struct Proyecto1 { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 104 | x_min: f64, //Valor minimo para la grafica [INFO] [stdout] | ^^^^^ [INFO] [stdout] 105 | x_max: f64, //Valor maximo para la grafica [INFO] [stdout] | ^^^^^ [INFO] [stdout] 106 | partes: i32, // Cuantas partes tiene la grafica [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 107 | division_sintetica: DivisionSintetica, // Division Sintetica [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 108 | metodo_biseccion: MetodoBiseccion, // Metodo de biseccion [INFO] [stdout] 109 | metodo_newton: Newton, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 110 | metodo_misses: Misses, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 111 | metodo_lagrance: Lagrance, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_derivada` is never used [INFO] [stdout] --> src/main.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 166 | impl Funcion { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | fn to_derivada(&self) -> Funcion { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consumir_chars` is never used [INFO] [stdout] --> src/main.rs:205:4 [INFO] [stdout] | [INFO] [stdout] 205 | fn consumir_chars(indice: &mut i32, mut numero: i32, chars: &mut Chars, extra: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crear_valores` is never used [INFO] [stdout] --> src/main.rs:221:4 [INFO] [stdout] | [INFO] [stdout] 221 | fn crear_valores(val: &Funcion, y: &mut Vec<[f64; 2]>, mut min: f64, max: f64, partes: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compilar_funcion` is never used [INFO] [stdout] --> src/main.rs:238:4 [INFO] [stdout] | [INFO] [stdout] 238 | fn compilar_funcion(funcion: &str, vec: &mut Funcion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `str_to_int` is never used [INFO] [stdout] --> src/main.rs:287:4 [INFO] [stdout] | [INFO] [stdout] 287 | fn str_to_int(s: &str, mut indice: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ultimo_valor` is never used [INFO] [stdout] --> src/main.rs:353:4 [INFO] [stdout] | [INFO] [stdout] 353 | fn ultimo_valor(funcion: &str, total: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `factores`, `terminos_in`, and `resultados` are never read [INFO] [stdout] --> src/main.rs:592:5 [INFO] [stdout] | [INFO] [stdout] 591 | struct DivisionSintetica { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 592 | factores: Vec, // Factores de los numeros [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 593 | terminos_in: Vec, // Terminos Independientes [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 594 | resultados: Vec<(i32, Option)>, // No se toca [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DivisionSintetica` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `obtener_resultados` and `actualizar_datos` are never used [INFO] [stdout] --> src/main.rs:599:8 [INFO] [stdout] | [INFO] [stdout] 598 | impl DivisionSintetica { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 599 | fn obtener_resultados(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 609 | fn actualizar_datos(&mut self, datos: &Funcion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_factors` is never used [INFO] [stdout] --> src/main.rs:647:4 [INFO] [stdout] | [INFO] [stdout] 647 | fn get_factors(n: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `division_sin` is never used [INFO] [stdout] --> src/main.rs:656:4 [INFO] [stdout] | [INFO] [stdout] 656 | fn division_sin(factor: &i32, term_in: &Vec) -> (i32, Option) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resta` is never used [INFO] [stdout] --> src/main.rs:667:4 [INFO] [stdout] | [INFO] [stdout] 667 | fn resta(independientes: &mut Iter, factor: &i32, num: &i32) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `derivada`, `funcion`, and `resultados` are never read [INFO] [stdout] --> src/main.rs:764:5 [INFO] [stdout] | [INFO] [stdout] 763 | struct Newton { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 764 | derivada: Funcion, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 765 | funcion: Funcion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 766 | resultados: Vec<(f64, f64, f64, i32)>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `obtener_derivada` and `obtener_raices` are never used [INFO] [stdout] --> src/main.rs:770:8 [INFO] [stdout] | [INFO] [stdout] 769 | impl Newton { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 770 | fn obtener_derivada(&mut self, fun: Funcion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 775 | fn obtener_raices(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `derivada`, `derivada_val`, `funcion`, and `resultados` are never read [INFO] [stdout] --> src/main.rs:796:5 [INFO] [stdout] | [INFO] [stdout] 795 | struct Misses { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 796 | derivada: Funcion, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 797 | derivada_val: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 798 | funcion: Funcion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 799 | resultados: Vec<(f64, f64, f64, i32)>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `obtener_derivada` and `obtener_raices` are never used [INFO] [stdout] --> src/main.rs:803:8 [INFO] [stdout] | [INFO] [stdout] 802 | impl Misses { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 803 | fn obtener_derivada(&mut self, fun: Funcion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 808 | fn obtener_raices(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Option<&str>`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | pub extern "C" fn create_string(val: Option<&str>) -> *const c_char { [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "f28d14cee71d922c0a4a4ac0c4f2daff957f4290c69539d1ff081f33cca25031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f28d14cee71d922c0a4a4ac0c4f2daff957f4290c69539d1ff081f33cca25031", kill_on_drop: false }` [INFO] [stdout] f28d14cee71d922c0a4a4ac0c4f2daff957f4290c69539d1ff081f33cca25031 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a449d63fd87bdfbc6de16449289659e8deb606e75dccff4534504a94f5001ff [INFO] running `Command { std: "docker" "start" "-a" "0a449d63fd87bdfbc6de16449289659e8deb606e75dccff4534504a94f5001ff", kill_on_drop: false }` [INFO] [stderr] Compiling proyecto1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `valores` is never read [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | struct Lagrance { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 59 | valores: Vec<(f64, f64)>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calcular` is never used [INFO] [stdout] --> src/main.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl Lagrance { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 63 | fn calcular(&self, x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 100 | struct Proyecto1 { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 104 | x_min: f64, //Valor minimo para la grafica [INFO] [stdout] | ^^^^^ [INFO] [stdout] 105 | x_max: f64, //Valor maximo para la grafica [INFO] [stdout] | ^^^^^ [INFO] [stdout] 106 | partes: i32, // Cuantas partes tiene la grafica [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 107 | division_sintetica: DivisionSintetica, // Division Sintetica [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 108 | metodo_biseccion: MetodoBiseccion, // Metodo de biseccion [INFO] [stdout] 109 | metodo_newton: Newton, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 110 | metodo_misses: Misses, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 111 | metodo_lagrance: Lagrance, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_derivada` is never used [INFO] [stdout] --> src/main.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 166 | impl Funcion { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | fn to_derivada(&self) -> Funcion { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consumir_chars` is never used [INFO] [stdout] --> src/main.rs:205:4 [INFO] [stdout] | [INFO] [stdout] 205 | fn consumir_chars(indice: &mut i32, mut numero: i32, chars: &mut Chars, extra: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crear_valores` is never used [INFO] [stdout] --> src/main.rs:221:4 [INFO] [stdout] | [INFO] [stdout] 221 | fn crear_valores(val: &Funcion, y: &mut Vec<[f64; 2]>, mut min: f64, max: f64, partes: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compilar_funcion` is never used [INFO] [stdout] --> src/main.rs:238:4 [INFO] [stdout] | [INFO] [stdout] 238 | fn compilar_funcion(funcion: &str, vec: &mut Funcion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `str_to_int` is never used [INFO] [stdout] --> src/main.rs:287:4 [INFO] [stdout] | [INFO] [stdout] 287 | fn str_to_int(s: &str, mut indice: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ultimo_valor` is never used [INFO] [stdout] --> src/main.rs:353:4 [INFO] [stdout] | [INFO] [stdout] 353 | fn ultimo_valor(funcion: &str, total: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `factores`, `terminos_in`, and `resultados` are never read [INFO] [stdout] --> src/main.rs:592:5 [INFO] [stdout] | [INFO] [stdout] 591 | struct DivisionSintetica { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 592 | factores: Vec, // Factores de los numeros [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 593 | terminos_in: Vec, // Terminos Independientes [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 594 | resultados: Vec<(i32, Option)>, // No se toca [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DivisionSintetica` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `obtener_resultados` and `actualizar_datos` are never used [INFO] [stdout] --> src/main.rs:599:8 [INFO] [stdout] | [INFO] [stdout] 598 | impl DivisionSintetica { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 599 | fn obtener_resultados(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 609 | fn actualizar_datos(&mut self, datos: &Funcion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_factors` is never used [INFO] [stdout] --> src/main.rs:647:4 [INFO] [stdout] | [INFO] [stdout] 647 | fn get_factors(n: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `division_sin` is never used [INFO] [stdout] --> src/main.rs:656:4 [INFO] [stdout] | [INFO] [stdout] 656 | fn division_sin(factor: &i32, term_in: &Vec) -> (i32, Option) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resta` is never used [INFO] [stdout] --> src/main.rs:667:4 [INFO] [stdout] | [INFO] [stdout] 667 | fn resta(independientes: &mut Iter, factor: &i32, num: &i32) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `derivada`, `funcion`, and `resultados` are never read [INFO] [stdout] --> src/main.rs:764:5 [INFO] [stdout] | [INFO] [stdout] 763 | struct Newton { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 764 | derivada: Funcion, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 765 | funcion: Funcion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 766 | resultados: Vec<(f64, f64, f64, i32)>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `obtener_derivada` and `obtener_raices` are never used [INFO] [stdout] --> src/main.rs:770:8 [INFO] [stdout] | [INFO] [stdout] 769 | impl Newton { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 770 | fn obtener_derivada(&mut self, fun: Funcion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 775 | fn obtener_raices(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `derivada`, `derivada_val`, `funcion`, and `resultados` are never read [INFO] [stdout] --> src/main.rs:796:5 [INFO] [stdout] | [INFO] [stdout] 795 | struct Misses { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 796 | derivada: Funcion, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 797 | derivada_val: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 798 | funcion: Funcion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 799 | resultados: Vec<(f64, f64, f64, i32)>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `obtener_derivada` and `obtener_raices` are never used [INFO] [stdout] --> src/main.rs:803:8 [INFO] [stdout] | [INFO] [stdout] 802 | impl Misses { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 803 | fn obtener_derivada(&mut self, fun: Funcion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 808 | fn obtener_raices(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Option<&str>`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | pub extern "C" fn create_string(val: Option<&str>) -> *const c_char { [INFO] [stdout] | ^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 17.71s [INFO] running `Command { std: "docker" "inspect" "0a449d63fd87bdfbc6de16449289659e8deb606e75dccff4534504a94f5001ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a449d63fd87bdfbc6de16449289659e8deb606e75dccff4534504a94f5001ff", kill_on_drop: false }` [INFO] [stdout] 0a449d63fd87bdfbc6de16449289659e8deb606e75dccff4534504a94f5001ff