[INFO] cloning repository https://github.com/L0L022/l-compilator [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/L0L022/l-compilator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FL0L022%2Fl-compilator"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FL0L022%2Fl-compilator'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 89bcc87537560515489fefd40bdd0f5bad4f2751 [INFO] testing L0L022/l-compilator against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FL0L022%2Fl-compilator" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/L0L022/l-compilator on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/L0L022/l-compilator [INFO] finished tweaking git repo https://github.com/L0L022/l-compilator [INFO] tweaked toml for git repo https://github.com/L0L022/l-compilator written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/L0L022/l-compilator already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c505280ae31d76cabdacc2bec32de4e51264a4325d756c3036663a9c3e7a0fc1 [INFO] running `"docker" "start" "-a" "c505280ae31d76cabdacc2bec32de4e51264a4325d756c3036663a9c3e7a0fc1"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling cc v1.0.29 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling opaque-debug v0.2.2 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling bit-vec v0.5.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling bindgen v0.49.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lalrpop-util v0.16.3 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling regex-syntax v0.6.5 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling block-padding v0.1.3 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling bit-set v0.5.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.1 [INFO] [stderr] Compiling ena v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_os v0.1.2 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clang-sys v0.28.0 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling block-buffer v0.7.0 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling cexpr v0.3.5 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.87 [INFO] [stderr] Compiling structopt-derive v0.2.14 [INFO] [stderr] Compiling logos-derive v0.9.7 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling codespan v0.2.0 [INFO] [stderr] Compiling exitfailure v0.5.1 [INFO] [stderr] Compiling structopt v0.2.14 [INFO] [stderr] Compiling codespan-reporting v0.2.0 [INFO] [stderr] Compiling logos v0.9.7 [INFO] [stderr] Compiling docopt v1.0.2 [INFO] [stderr] Compiling lalrpop v0.16.3 [INFO] [stderr] Compiling l-compilator v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: src/c_code/c3a2nasm.c: In function '_affiche_desc_registres': [INFO] [stderr] warning: src/c_code/c3a2nasm.c:60:40: warning: unused parameter 'oper' [-Wunused-parameter] [INFO] [stderr] warning: 60 | void _affiche_desc_registres(operande *oper){ [INFO] [stderr] warning: | ~~~~~~~~~~^~~~ [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/app/mod.rs:29:19 [INFO] [stderr] | [INFO] [stderr] 29 | let res: &Fn() -> Fallible<()> = &|| { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Fallible<()>` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `SymbolKind` is imported redundantly [INFO] [stderr] --> src/gen_three_address_code/gen.rs:147:13 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::symbol_table::SymbolKind; [INFO] [stderr] | ------------------------------- the item `SymbolKind` is already imported here [INFO] [stderr] ... [INFO] [stderr] 147 | use crate::symbol_table::SymbolKind; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/l-compilator-24ab63af99512389/out/parser/grammar.rs:4640:5 [INFO] [stderr] | [INFO] [stderr] 4640 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/l-compilator-24ab63af99512389/out/parser/grammar.rs:4661:5 [INFO] [stderr] | [INFO] [stderr] 4661 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/l-compilator-24ab63af99512389/out/parser/grammar.rs:4691:5 [INFO] [stderr] | [INFO] [stderr] 4691 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/l-compilator-24ab63af99512389/out/parser/grammar.rs:4759:5 [INFO] [stderr] | [INFO] [stderr] 4759 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/l-compilator-24ab63af99512389/out/parser/grammar.rs:4860:5 [INFO] [stderr] | [INFO] [stderr] 4860 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/l-compilator-24ab63af99512389/out/parser/grammar.rs:4868:5 [INFO] [stderr] | [INFO] [stderr] 4868 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/l-compilator-24ab63af99512389/out/parser/grammar.rs:4886:5 [INFO] [stderr] | [INFO] [stderr] 4886 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/l-compilator-24ab63af99512389/out/parser/grammar.rs:4904:5 [INFO] [stderr] | [INFO] [stderr] 4904 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/l-compilator-24ab63af99512389/out/parser/grammar.rs:4938:5 [INFO] [stderr] | [INFO] [stderr] 4938 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/l-compilator-24ab63af99512389/out/parser/grammar.rs:4972:5 [INFO] [stderr] | [INFO] [stderr] 4972 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/l-compilator-24ab63af99512389/out/parser/grammar.rs:5006:5 [INFO] [stderr] | [INFO] [stderr] 5006 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/l-compilator-24ab63af99512389/out/parser/grammar.rs:5023:5 [INFO] [stderr] | [INFO] [stderr] 5023 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/l-compilator-24ab63af99512389/out/parser/grammar.rs:5033:5 [INFO] [stderr] | [INFO] [stderr] 5033 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/l-compilator-24ab63af99512389/out/parser/grammar.rs:5142:5 [INFO] [stderr] | [INFO] [stderr] 5142 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/l-compilator-24ab63af99512389/out/parser/grammar.rs:5170:5 [INFO] [stderr] | [INFO] [stderr] 5170 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/l-compilator-24ab63af99512389/out/parser/grammar.rs:5213:5 [INFO] [stderr] | [INFO] [stderr] 5213 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/l-compilator-24ab63af99512389/out/parser/grammar.rs:5319:5 [INFO] [stderr] | [INFO] [stderr] 5319 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/l-compilator-24ab63af99512389/out/parser/grammar.rs:5362:5 [INFO] [stderr] | [INFO] [stderr] 5362 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/l-compilator-24ab63af99512389/out/parser/grammar.rs:5422:5 [INFO] [stderr] | [INFO] [stderr] 5422 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/symbol_table.rs:32:51 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn iter<'a>(&'a self, from: usize) -> Box + 'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [INFO] [stderr] [INFO] [stderr] error[E0277]: `c_code::operande___bindgen_ty_1` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> /opt/rustwide/target/debug/build/l-compilator-24ab63af99512389/out/bindings.rs:3:1488 [INFO] [stderr] | [INFO] [stderr] 3 | pub const O_CONSTANTE : u32 = 1 ; pub const O_ETIQUETTE : u32 = 2 ; pub const O_TEMPORAIRE : u32 = 3 ; pub const O_VARIABLE : u32 = 4 ; pub const P_VARIABLE_GLOBALE : u32 = 1 ; pub const P_VARIABLE_LOCALE : u32 = 2 ; pub const P_ARGUMENT : u32 = 3 ; pub const instrcode_arith_add : instrcode = 0 ; pub const instrcode_arith_sub : instrcode = 1 ; pub const instrcode_arith_mult : instrcode = 2 ; pub const instrcode_arith_div : instrcode = 3 ; pub const instrcode_func_call : instrcode = 4 ; pub const instrcode_func_param : instrcode = 5 ; pub const instrcode_func_val_ret : instrcode = 6 ; pub const instrcode_func_begin : instrcode = 7 ; pub const instrcode_func_end : instrcode = 8 ; pub const instrcode_assign : instrcode = 9 ; pub const instrcode_alloc : instrcode = 10 ; pub const instrcode_jump : instrcode = 11 ; pub const instrcode_jump_if_less : instrcode = 12 ; pub const instrcode_jump_if_less_or_equal : instrcode = 13 ; pub const instrcode_jump_if_equal : instrcode = 14 ; pub const instrcode_jump_if_not_equal : instrcode = 15 ; pub const instrcode_jump_if_greater : instrcode = 16 ; pub const instrcode_jump_if_greater_or_equal : instrcode = 17 ; pub const instrcode_sys_read : instrcode = 18 ; pub const instrcode_sys_write : instrcode = 19 ; pub const instrcode_nop : instrcode = 20 ; pub type instrcode = u32 ; pub type operande = operande_ ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct operande_ { pub oper_type : :: std :: os :: raw :: c_int , pub u : operande___bindgen_ty_1 , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union operande___bindgen_ty_1 { pub oper_valeur : :: std :: os :: raw :: c_int , pub oper_nom : * mut :: std :: os :: raw :: c_char , pub oper_temp : operande___bindgen_ty_1__bindgen_ty_1 , pub oper_var : operande___bindgen_ty_1__bindgen_ty_2 , _bindgen_union_align : [ u64 ; 3usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct operande___bindgen_ty_1__bindgen_ty_1 { pub oper_tempnum : :: std :: os :: raw :: c_int , pub last_use : :: std :: os :: raw :: c_int , pub emplacement : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_operande___bindgen_ty_1__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < operande___bindgen_ty_1__bindgen_ty_1 > ( ) , 12usize , concat ! ( "Size of: " , stringify ! ( operande___bindgen_ty_1__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < operande___bindgen_ty_1__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( operande___bindgen_ty_1__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < operande___bindgen_ty_1__bindgen_ty_1 > ( ) ) ) . oper_tempnum as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( operande___bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! ( oper_tempnum ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < operande___bindgen_ty_1__bindgen_ty_1 > ( ) ) ) . last_use as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( operande___bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! ( last_use ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < operande___bindgen_ty_1__bindgen_ty_1 > ( ) ) ) . emplacement as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( operande___bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! ( emplacement ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct operande___bindgen_ty_1__bindgen_ty_2 { pub oper_nom : * mut :: std :: os :: raw :: c_char , pub oper_portee : :: std :: os :: raw :: c_int , pub oper_adresse : :: std :: os :: raw :: c_int , pub oper_indice : * mut operande_ , } # [ test ] fn bindgen_test_layout_operande___bindgen_ty_1__bindgen_ty_2 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < operande___bindgen_ty_1__bindgen_ty_2 > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( operande___bindgen_ty_1__bindgen_ty_2 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < operande___bindgen_ty_1__bindgen_ty_2 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( operande___bindgen_ty_1__bindgen_ty_2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < operande___bindgen_ty_1__bindgen_ty_2 > ( ) ) ) . oper_nom as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( operande___bindgen_ty_1__bindgen_ty_2 ) , "::" , stringify ! ( oper_nom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < operande___bindgen_ty_1__bindgen_ty_2 > ( ) ) ) . oper_portee as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( operande___bindgen_ty_1__bindgen_ty_2 ) , "::" , stringify ! ( oper_portee ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < operande___bindgen_ty_1__bindgen_ty_2 > ( ) ) ) . oper_adresse as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( operande___bindgen_ty_1__bindgen_ty_2 ) , "::" , stringify ! ( oper_adresse ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < operande___bindgen_ty_1__bindgen_ty_2 > ( ) ) ) . oper_indice as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( operande___bindgen_ty_1__bindgen_ty_2 ) , "::" , stringify ! ( oper_indice ) ) ) ; } # [ test ] fn bindgen_test_layout_operande___bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < operande___bindgen_ty_1 > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( operande___bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < operande___bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( operande___bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < operande___bindgen_ty_1 > ( ) ) ) . oper_valeur as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( operande___bindgen_ty_1 ) , "::" , stringify ! ( oper_valeur ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < operande___bindgen_ty_1 > ( ) ) ) . oper_nom as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( operande___bindgen_ty_1 ) , "::" , stringify ! ( oper_nom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < operande___bindgen_ty_1 > ( ) ) ) . oper_temp as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( operande___bindgen_ty_1 ) , "::" , stringify ! ( oper_temp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < operande___bindgen_ty_1 > ( ) ) ) . oper_var as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( operande___bindgen_ty_1 ) , "::" , stringify ! ( oper_var ) ) ) ; } # [ test ] fn bindgen_test_layout_operande_ ( ) { assert_eq ! ( :: std :: mem :: size_of :: < operande_ > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( operande_ ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < operande_ > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( operande_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < operande_ > ( ) ) ) . oper_type as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( operande_ ) , "::" , stringify ! ( oper_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < operande_ > ( ) ) ) . u as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( operande_ ) , "::" , stringify ! ( u ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct operation_3a { pub op_etiq : * mut :: std :: os :: raw :: c_char , pub op_code : instrcode , pub op_oper1 : * mut operande , pub op_oper2 : * mut operande , pub op_result : * mut operande , pub comment : * mut :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_operation_3a ( ) { assert_eq ! ( :: std :: mem :: size_of :: < operation_3a > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( operation_3a ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < operation_3a > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( operation_3a ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < operation_3a > ( ) ) ) . op_etiq as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( operation_3a ) , "::" , stringify ! ( op_etiq ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < operation_3a > ( ) ) ) . op_code as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( operation_3a ) , "::" , stringify ! ( op_code ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < operation_3a > ( ) ) ) . op_oper1 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( operation_3a ) , "::" , stringify ! ( op_oper1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < operation_3a > ( ) ) ) . op_oper2 as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( operation_3a ) , "::" , stringify ! ( op_oper2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < operation_3a > ( ) ) ) . op_result as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( operation_3a ) , "::" , stringify ! ( op_result ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < operation_3a > ( ) ) ) . comment as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( operation_3a ) , "::" , stringify ! ( comment ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct code3a_ { pub liste : * mut operation_3a , pub next : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_code3a_ ( ) { assert_eq ! ( :: std :: mem :: size_of :: < code3a_ > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( code3a_ ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < code3a_ > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( code3a_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < code3a_ > ( ) ) ) . liste as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( code3a_ ) , "::" , stringify ! ( liste ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < code3a_ > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( code3a_ ) , "::" , stringify ! ( next ) ) ) ; } extern "C" { # [ link_name = "\u{1}code3a" ] pub static mut code3a : code3a_ ; } extern "C" { # [ link_name = "\u{1}global_temp_counter" ] pub static mut global_temp_counter : :: std :: os :: raw :: c_int ; } extern "C" { pub fn c3a2nasm_generer ( ) ; } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `c_code::operande___bindgen_ty_1` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `c_code::operande___bindgen_ty_1` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Debug` for `&c_code::operande___bindgen_ty_1` [INFO] [stderr] = note: required for the cast to the object type `dyn std::fmt::Debug` [INFO] [stderr] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 22 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: src/c_code/c3a2nasm.c: In function '_affiche_desc_registres': [INFO] [stderr] warning: src/c_code/c3a2nasm.c:60:40: warning: unused parameter 'oper' [-Wunused-parameter] [INFO] [stderr] warning: 60 | void _affiche_desc_registres(operande *oper){ [INFO] [stderr] warning: | ~~~~~~~~~~^~~~ [INFO] [stderr] [INFO] [stderr] error: could not compile `l-compilator`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c505280ae31d76cabdacc2bec32de4e51264a4325d756c3036663a9c3e7a0fc1"` [INFO] running `"docker" "rm" "-f" "c505280ae31d76cabdacc2bec32de4e51264a4325d756c3036663a9c3e7a0fc1"` [INFO] [stdout] c505280ae31d76cabdacc2bec32de4e51264a4325d756c3036663a9c3e7a0fc1