Last active
August 29, 2015 14:14
-
-
Save devboy/ea7419f1223f2b12241b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failed running /Applications/Unity/Unity.app/Contents/Frameworks/il2cpp/il2cpp.exe --copy-level=None --enable-generic-sharing --enable-unity-event-support --emit-null-checks --enable-array-bounds-check --enable-symbol-loading "/Users/devboy/Development/wooga/FSharp.iOS.Unity3D/unity3d/Unity3Dv5Container/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll" "/Users/devboy/Development/wooga/FSharp.iOS.Unity3D/unity3d/Unity3Dv5Container/Temp/il2cppOutput/il2cppOutput" | |
stdout: | |
IL2CPP error for type 'Microsoft.FSharp.Collections.SeqModule/Truncate@1130' in assembly '/Users/devboy/Development/wooga/FSharp.iOS.Unity3D/unity3d/Unity3Dv5Container/Temp/StagingArea/Data/Managed/FSharp.Core.dll' | |
Additional information: Build a development build for more information. The given key was not present in the dictionary. | |
stderr: | |
Unhandled Exception: | |
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. | |
at System.Collections.Generic.Dictionary`2[Mono.Cecil.TypeReference,System.Int32].get_Item (Mono.Cecil.TypeReference key) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.Metadata.VTableBuilder.OverrideInterfaceMethods (System.Collections.Generic.Dictionary`2 interfaceOffsets, System.Collections.Generic.List`1 slots, System.Collections.Generic.Dictionary`2 overrides, System.Collections.Generic.Dictionary`2 overrideMap) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.Metadata.VTableBuilder.VTableForType (Mono.Cecil.TypeDefinition typeDefinition, System.Collections.Generic.Dictionary`2 interfaceOffsets, Int32 currentSlot) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.Metadata.VTableBuilder.VTableFor (Mono.Cecil.TypeReference typeReference, Unity.IL2CPP.ILPreProcessor.TypeResolver resolver) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.Metadata.VTableBuilder.VTableForGenericInstance (Mono.Cecil.GenericInstanceType genericInstanceType, System.Collections.Generic.Dictionary`2 offsets) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.Metadata.VTableBuilder.VTableFor (Mono.Cecil.TypeReference typeReference, Unity.IL2CPP.ILPreProcessor.TypeResolver resolver) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.Metadata.VTableBuilder.VTableFor (Mono.Cecil.TypeReference typeReference, Unity.IL2CPP.ILPreProcessor.TypeResolver resolver) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.Metadata.VTableBuilder.IndexFor (Mono.Cecil.MethodDefinition method) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.Metadata.Methods.MethodInfoWriter.WriteMethodInformationFor (Mono.Cecil.MethodReference method, Unity.IL2CPP.Metadata.VTableBuilder vTableBuilder) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.Metadata.Methods.GenericInstanceTypeMethodInfoWriter.WriteMetadataDefinitionsFor (Unity.IL2CPP.Metadata.VTableBuilder vTableBuilder) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.Metadata.Types.TypeInfoWriter.WriteDefinitionFor (Unity.IL2CPP.Metadata.VTableBuilder vTableBuilder, Mono.Cecil.AssemblyDefinition corlib) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.SourceWriter.WriteMetadataDefinitionFor (Unity.IL2CPP.CppCodeWriter writer, Mono.Cecil.TypeReference type, Unity.IL2CPP.Metadata.Types.TypeInfoWriter typeInfoWriter, Mono.Cecil.AssemblyDefinition mscorlib, System.Collections.Generic.HashSet`1 emptyTypes) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.SourceWriter.WriteSource (Unity.IL2CPP.CppCodeWriter writer, Mono.Cecil.TypeReference type, System.Collections.Generic.HashSet`1 emptyTypes) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.SourceWriter.WriteSourceFiles (System.String outputDirectory, System.String fileName, IEnumerable`1 typeList, System.Collections.Generic.HashSet`1 emptyTypes) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.SourceWriter.WriteGenerics (Unity.IL2CPP.GenericsCollection.InflatedCollection genericsCollection) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.AssemblyConverter.WriteGenerics (Unity.IL2CPP.GenericsCollection.InflatedCollection allGenerics) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.AssemblyConverter.Apply () [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.AssemblyConverter.ConvertAssemblies (System.String[] assemblies, System.String outputDir) [0x00000] in <filename unknown>:0 | |
[ERROR] FATAL UNHANDLED EXCEPTION: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. | |
at System.Collections.Generic.Dictionary`2[Mono.Cecil.TypeReference,System.Int32].get_Item (Mono.Cecil.TypeReference key) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.Metadata.VTableBuilder.OverrideInterfaceMethods (System.Collections.Generic.Dictionary`2 interfaceOffsets, System.Collections.Generic.List`1 slots, System.Collections.Generic.Dictionary`2 overrides, System.Collections.Generic.Dictionary`2 overrideMap) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.Metadata.VTableBuilder.VTableForType (Mono.Cecil.TypeDefinition typeDefinition, System.Collections.Generic.Dictionary`2 interfaceOffsets, Int32 currentSlot) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.Metadata.VTableBuilder.VTableFor (Mono.Cecil.TypeReference typeReference, Unity.IL2CPP.ILPreProcessor.TypeResolver resolver) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.Metadata.VTableBuilder.VTableForGenericInstance (Mono.Cecil.GenericInstanceType genericInstanceType, System.Collections.Generic.Dictionary`2 offsets) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.Metadata.VTableBuilder.VTableFor (Mono.Cecil.TypeReference typeReference, Unity.IL2CPP.ILPreProcessor.TypeResolver resolver) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.Metadata.VTableBuilder.VTableFor (Mono.Cecil.TypeReference typeReference, Unity.IL2CPP.ILPreProcessor.TypeResolver resolver) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.Metadata.VTableBuilder.IndexFor (Mono.Cecil.MethodDefinition method) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.Metadata.Methods.MethodInfoWriter.WriteMethodInformationFor (Mono.Cecil.MethodReference method, Unity.IL2CPP.Metadata.VTableBuilder vTableBuilder) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.Metadata.Methods.GenericInstanceTypeMethodInfoWriter.WriteMetadataDefinitionsFor (Unity.IL2CPP.Metadata.VTableBuilder vTableBuilder) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.Metadata.Types.TypeInfoWriter.WriteDefinitionFor (Unity.IL2CPP.Metadata.VTableBuilder vTableBuilder, Mono.Cecil.AssemblyDefinition corlib) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.SourceWriter.WriteMetadataDefinitionFor (Unity.IL2CPP.CppCodeWriter writer, Mono.Cecil.TypeReference type, Unity.IL2CPP.Metadata.Types.TypeInfoWriter typeInfoWriter, Mono.Cecil.AssemblyDefinition mscorlib, System.Collections.Generic.HashSet`1 emptyTypes) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.SourceWriter.WriteSource (Unity.IL2CPP.CppCodeWriter writer, Mono.Cecil.TypeReference type, System.Collections.Generic.HashSet`1 emptyTypes) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.SourceWriter.WriteSourceFiles (System.String outputDirectory, System.String fileName, IEnumerable`1 typeList, System.Collections.Generic.HashSet`1 emptyTypes) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.SourceWriter.WriteGenerics (Unity.IL2CPP.GenericsCollection.InflatedCollection genericsCollection) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.AssemblyConverter.WriteGenerics (Unity.IL2CPP.GenericsCollection.InflatedCollection allGenerics) [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.AssemblyConverter.Apply () [0x00000] in <filename unknown>:0 | |
at Unity.IL2CPP.AssemblyConverter.ConvertAssemblies (System.String[] assemblies, System.String outputDir) [0x00000] in <filename unknown>:0 | |
UnityEngine.Debug:LogError(Object) | |
UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:66) | |
UnityEditorInternal.IL2CPPBuilder:ConvertPlayerDlltoCpp(ICollection`1, String, String) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:441) | |
UnityEditorInternal.IL2CPPBuilder:Run() (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:300) | |
UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:218) | |
UnityEditor.HostView:OnGUI() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Returns a sequence that when enumerated returns at most N elements. | |
/// </summary> | |
/// <param name="count">The maximum number of items to enumerate.</param><param name="source">The input sequence.</param> | |
/// <returns> | |
/// The result sequence. | |
/// </returns> | |
/// <exception cref="System.ArgumentNullException">Thrown when the input sequence is null.</exception> | |
[CompilationArgumentCounts(new int[] {1, 1})] | |
[CompilationSourceName("truncate")] | |
public static IEnumerable<T> Truncate<T>(int count, IEnumerable<T> source) | |
{ | |
if ((object) source == null) | |
throw new ArgumentNullException("source"); | |
return (IEnumerable<T>) new SeqModule.Truncate@1130<T>(count, source, (FSharpRef<int>) null, (System.Collections.Generic.IEnumerator<T>) null, 0, default (T)); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[CompilationMapping(SourceConstructFlags.Closure)] | |
[Serializable] | |
[SpecialName] | |
[StructLayout(LayoutKind.Auto, CharSet = CharSet.Auto)] | |
internal sealed class Truncate@1130<T> : GeneratedSequenceBase<T> | |
{ | |
public int n; | |
public IEnumerable<T> source; | |
public FSharpRef<int> i; | |
public System.Collections.Generic.IEnumerator<T> ie; | |
[DebuggerBrowsable(DebuggerBrowsableState.Never)] | |
[CompilerGenerated] | |
[DebuggerNonUserCode] | |
public int pc; | |
[DebuggerBrowsable(DebuggerBrowsableState.Never)] | |
[CompilerGenerated] | |
[DebuggerNonUserCode] | |
public T current; | |
public Truncate@1130(int n, IEnumerable<T> source, FSharpRef<int> i, System.Collections.Generic.IEnumerator<T> ie, int pc, T current) | |
{ | |
this.n = n; | |
this.source = source; | |
this.i = i; | |
this.ie = ie; | |
this.pc = pc; | |
this.current = current; | |
base.\u002Ector(); | |
} | |
public override int GenerateNext(ref IEnumerable<T> next) | |
{ | |
switch (this.pc) | |
{ | |
case 1: | |
this.pc = 3; | |
LanguagePrimitives.IntrinsicFunctions.Dispose<System.Collections.Generic.IEnumerator<T>>(this.ie); | |
this.ie = (System.Collections.Generic.IEnumerator<T>) null; | |
this.i = (FSharpRef<int>) null; | |
this.pc = 3; | |
goto case 3; | |
case 2: | |
if ((this.i.contents\u0040 >= this.n ? 0 : (this.ie.MoveNext() ? 1 : 0)) != 0) | |
{ | |
this.i.contents = this.i.contents\u0040 + 1; | |
this.pc = 2; | |
this.current = this.ie.Current; | |
return 1; | |
} | |
goto case 1; | |
case 3: | |
this.current = default (T); | |
return 0; | |
default: | |
this.i = new FSharpRef<int>(0); | |
this.ie = this.source.GetEnumerator(); | |
this.pc = 1; | |
goto case 2; | |
} | |
} | |
public override void Close() | |
{ | |
Exception exception = (Exception) null; | |
while (true) | |
{ | |
switch (this.pc) | |
{ | |
case 3: | |
goto label_9; | |
default: | |
Unit unit; | |
try | |
{ | |
switch (this.pc) | |
{ | |
case 0: | |
case 3: | |
this.pc = 3; | |
this.current = default (T); | |
unit = (Unit) null; | |
break; | |
case 1: | |
this.pc = 3; | |
LanguagePrimitives.IntrinsicFunctions.Dispose<System.Collections.Generic.IEnumerator<T>>(this.ie); | |
goto case 0; | |
default: | |
goto case 1; | |
} | |
} | |
catch (object ex) | |
{ | |
exception = (Exception) ex; | |
unit = (Unit) null; | |
} | |
continue; | |
} | |
} | |
label_9: | |
if (exception != null) | |
throw exception; | |
} | |
public override bool get_CheckClose() | |
{ | |
switch (this.pc) | |
{ | |
case 0: | |
case 3: | |
return false; | |
case 1: | |
return true; | |
default: | |
return true; | |
} | |
} | |
[CompilerGenerated] | |
[DebuggerNonUserCode] | |
public override T get_LastGenerated() | |
{ | |
return this.current; | |
} | |
[CompilerGenerated] | |
[DebuggerNonUserCode] | |
public override System.Collections.Generic.IEnumerator<T> GetFreshEnumerator() | |
{ | |
return (System.Collections.Generic.IEnumerator<T>) new SeqModule.Truncate@1130<T>(this.n, this.source, (FSharpRef<int>) null, (System.Collections.Generic.IEnumerator<T>) null, 0, default (T)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment